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.

ALWAYS use this to test output before overwriting your package.xml!! (Previous) Set package.xml generation options (Next)
Last updated: Sun, 19 Dec 2010 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.