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


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:

=> Array
'type'] => 'pkg',
'rel'] => 'ge',
'version'] => '3.4',
'name'] => 'HTML_Common'

Return value

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


This function can not be called statically.

constructor (Previous) Check Extension dependency (Next)
Last updated: Tue, 22 May 2018 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.