PEAR_PackageFileManager::pushWarning PEAR_PackageFileManager::setOptions

PEAR_PackageFileManager

PEAR Manual


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 = '' )

Description

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         }

Parameter

mixed $code

mixed $i1

mixed $i2

Throws

throws no exceptions thrown

static

static

Note

This function can not be called statically.



PEAR_PackageFileManager::pushWarning PEAR_PackageFileManager::setOptions

PEAR_PackageFileManager

PEAR Manual