load("calendar"); ?> YUI PHP Loader Utility Basic Example: Loading YUI Calendar with the YUI PHP Loader Utility tags(); ?>

YUI PHP Loader Utility Basic Example: Loading the YUI Calendar Control with the YUI PHP Loader Utility

In this example, we bring a YUI component onto the page using the YUI PHP Loader Utility. This example implements YUI PHP Loader via a YAHOO_util_Loader instance. We include the YUI PHP Loader class file, then specify in configuration which component we want loaded on the page — and what we want to do once it is loaded.