|
Yaf_Loader::getNamespacePathRetrieve the library path of a class Description
public string Yaf_Loader::getNamespacePath(string
$class_name)Retrieve the library directory a class would be looked up in. Parameters
Return ValuesThe local library directory if the class belongs to a registered local namespace, otherwise the global library directory (falling back to the local one when the global one is not set). ExamplesExample #1 Yaf_Loader::getNamespacePath example The above example will output something similar to: /var/www/shop/application/library /usr/local/share/yaf/library See Also
|