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.

Store a warning on the warning stack (Previous) Set package.xml generation options (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.