PEAR_Dependency::checkExtension()

PEAR_Dependency::checkExtension() -- Check Extension dependency

Synopsis

Описание

Extension dependencies check method

Параметр

mixed &$errmsg

this variable will contains an error message, if check fail

string $name

Name of the extension to test

string $req

Required extension version to compare with

string $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.

Заметка

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

    Поддержать сайт на родительском проекте КГБ