This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
php:loota_view_helper_phpyuiloader [d.m.Y H:i] – created kodmasin | php:loota_view_helper_phpyuiloader [d.m.Y H:i] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Loota_View_Helper_PhpYuiLoader ====== | ||
+ | |||
+ | Here is very simple way how to use Zend Framework and Yui Php Loader Utility. | ||
+ | |||
+ | Below is code. This helper returns YAHOO_util_Loader object so check docs at http:// | ||
+ | <code php> | ||
+ | require_once ' | ||
+ | require_once ' | ||
+ | |||
+ | class Loota_View_Helper_PhpYuiLoader extends Zend_View_Helper_Abstract{ | ||
+ | static private $loader; | ||
+ | public function __construct(){ | ||
+ | if(Loota_View_Helper_phpYuiLoader:: | ||
+ | Loota_View_Helper_phpYuiLoader:: | ||
+ | } | ||
+ | } | ||
+ | |||
+ | public function phpYuiLoader(){ | ||
+ | return Loota_View_Helper_phpYuiLoader:: | ||
+ | } | ||
+ | |||
+ | } | ||
+ | </ | ||