PEAR_Dependency::callCheckMethod()

PEAR_Dependency::callCheckMethod() -- Maps the xml dependency definition

Synopsis

require_once 'PEAR/Dependency.php';

void PEAR_Dependency::callCheckMethod (mixed &$errmsg, array $opts)

Описание

This method maps the xml dependency definition to the PEAR_Dependency one.

Параметр

mixed &$errmsg

this variable will contains an error message, if check fail

array $opts

An Array with all Dependency entries from the parsed XML package definition, ie:
$opts => Array
   (
       ['type'] => 'pkg',
       ['rel'] => 'ge',
       ['version'] => '3.4',
       ['name'] => 'HTML_Common'
    );

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

mixed - FALSE if all dependencies could be resolved successfully(!); or an PEAR_DEPENDENCY_* constant in case of unresolved dependencies.

Заметка

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


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