mixed PEAR_Dependency::checkExtension (
mixed &$errmsg
, string $name
, string $req
= null
, string $relation = 'has'
)
Extension dependencies check method
&$errmsg
this variable will contains an error message, if check fail
$name
Name of the extension to test
$req
Required extension version to compare with
$relation
How to compare versions with eachother
mixed
-
FALSE if dependency could be resolved
successfully(!); or an
PEAR_DEPENDENCY_* constant
in case of an unresolved dependency.
This function can not be called statically.