|
Yaf_Loader::getLocalNamespaceRetrieve registered namespaces Description
public array Yaf_Loader::getLocalNamespace()
Retrieve all registered local namespaces and their paths. ParametersThis function has no parameters. Return ValuesAn array of the registered local namespaces, keyed by the namespace prefix, or an empty array if none are registered. ExamplesExample #1 Yaf_Loader::getLocalNamespace example The above example will output something similar to:
Array
(
[Models] => /var/www/shop/application/library
[Vendor] => /var/www/shop/application/library/Vendor
)
See Also
|