Automatically loads and registers all locale classes in a directory.
public static function UnbLocale::AutoRegister ($path = null);
(string) Locale classes directory. If unset, the directory 'locales' under this code file is used.
All locale class files must be named like *.locale.class.php. The locale code does not need to be included in the file name in a special way as the class files will register themselves upon inclusion by PHP.
This function is called automatically when AutoPrefer is called and no locales have been registered yet.
Member of class: UnbLocale
Implementation file: locale.class.php, line 106
© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.