PHP » GoLang |
login |
register |
about
|
GoLang Yaf_Loader::registerLocalNamespace
request it (309)
GoLang replacement for PHP's Yaf_Loader::registerLocalNamespace
[edit | history]
PHP Yaf_Loader::registerLocalNamespacePHP original manual for Yaf_Loader::registerLocalNamespace [ show | php.net ]Yaf_Loader::registerLocalNamespace(Yaf >=1.0.0) Yaf_Loader::registerLocalNamespace — Register local class prefix DescriptionRegister local class prefix name, Yaf_Loader search classes in two library directories, the one is configured via application.library.directory(in application.ini) which is called local libraray directory; the other is configured via yaf.library (in php.ini) which is callled global library directory, since it can be shared by many applications in the same server. When an autloading is trigger, Yaf_Loader will determine which library directory should be searched in by exame the prefix name of the missed classname. If the prefix name is registered as a localnamespack then look for it in local library directory, otherwise look for it in global library directory.
Parameters
Return Valuesbool ExamplesExample #1 Yaf_Loader::registerLocalNamespace()example
<?php |
more
Recently updated
more
Most requested
more
Last requests
|