WJBlog


Configuring Global View Variables with the Zend Framework

Published On: April 28, 2010 @ 11:06:59am

In Bootstrap.php, setup _initView and return view object.

Create a class which extends Zend_Application_Resource_ResourceAbstract

Reference the class and its variables like this:

pluginPaths.WJG_Resource = “WJG/Resource”
resources.globalviewvars.test = “http://www.wjgilmore.com/”;