In the zend framework, I register my namespace like this (in application.php):
'autoloaderNamespaces' => array(
'Cms_'
)
And after that - I would expect Zend to always check this path in addition to Zend and ZendX if an unknown class is called. But for some reason this does not work, for example, with view helpers.
I still need to register a separate path for my helpers in the view, even if the view's welcome scripts are named according to the Zend coding standards and are located in:
Cms/View/Helper/
And this is how I register the auxiliary path in the configuration file:
view' => array(
'charset' => 'UTF-8',
'doctype' => 'XHTML1_TRANSITIONAL',
'helperPath' => array(
'Cms_View_Helper_' => 'Cms/View/Helper'
)
),
- , Cms 'autoloaderNamespaces', View "helperPath"? Cms Cms/View/Helper?
- :)