PEAR_Registry::setPackageDep()

PEAR_Registry::setPackageDep() -- Update or insert dependencies of a Package

Synopsis

require_once 'PEAR/Registry.php';

mixed PEAR_Registry::setPackageDep (string $package, string $new_version [, array $rel_deps = array()])

Описание

Update or insert a the dependencies of a package, prechecking that the package won't break any dependency in the process. (Dependencies of type 'pkg' only.

Параметр

string $package

Package name

string $new_version

Version of the Package

array $rel_deps

Package dependencies

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

mixed - TRUE if no dependencies found; or array with names of missing or outdated Packages

Throws

Таблица 28-1. Возможные значения PEAR_Error

Error codeError valueMeaningSolution
 ""  

Заметка

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


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