PEAR_PackageFileManager::raiseError()

PEAR_PackageFileManager::raiseError() -- Utility function to shorten error generation code

Synopsis

require_once 'PEAR/PackageFileManager.php';

PEAR_Error PEAR_PackageFileManager::raiseError (mixed $code [, mixed $i1 = '' [, mixed $i2 = '']])

Описание

1     function raiseError($code, $i1 = '', $i2 = '')
2         {
3             return PEAR::raiseError('PEAR_PackageFileManager Error: ' .
4                         sprintf($GLOBALS['_PEAR_PACKAGEFILEMANAGER_ERRORS'][$this->_options['lang']][$code],
5                         $i1, $i2), $code);
6         }

Параметр

mixed $code

mixed $i1

mixed $i2

Throws

throws no exceptions thrown

static

static

Заметка

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


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