PHP_Compat::loadFunction()

PHP_Compat::loadFunction() -- Load a function, or an array of functions

Synopsis

require_once 'PHP/Compat.php';

mixed PHP_Compat::loadFunction (mixed $function)

Описание

Loads a function, or an array of functions.

Параметр

mixed $function

The name, or an array of names, of functions to load

Возвращаемое значение

mixed

TRUE if the function was loaded.
FALSE if the function was not loaded. Either unable to be included or already defined.
If you specified an array of functions to load, an array of TRUE/FALSE values is returned.

Пример

You may also load a function without using the class.

Заметка

Эта функция должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ