Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17304 программиста и 1685 роботов. Сейчас ищут 2111 программистов ...

PEAR_Dependency::callCheckMethod

Вернуться к: PEAR_Dependency

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.

Parameter

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:

<?php
$opts 
=> 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.

Note

This function can not be called statically.



Вернуться к: PEAR_Dependency

© 2025 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware