previousPEAR_PackageFileManager::pushWarning (Previous) (Next) PEAR_PackageFileManager::setOptionsnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

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.

previousPEAR_PackageFileManager::pushWarning (Previous) (Next) PEAR_PackageFileManager::setOptionsnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.