Public Method Details |
Err |
public void Err()
|
|
|
Returns |
void |
Author(s) |
, |
|
&singleton |
public object Err &singleton()
|
|
|
Returns |
object Err |
|
&newError |
public void &newError(array $params)
|
|
method used to return a new error object and log the error to the stack in $Err->errors.
|
Parameter |
|
array |
$params |
|
|
Array with various settings |
|
Returns |
void |
Author(s) |
, |
|
checkError |
public bool checkError(object PEAR &$obj)
|
|
PEAR::isError to check if the value passed is an error object.
|
Parameter |
|
object PEAR |
&$obj |
|
|
::Error &$obj |
|
Returns |
bool true if error, false if not |
Author(s) |
, |
|
&addError |
public void &addError(object PEAR &$obj)
|
|
an error object to the error stack.
|
Parameter |
|
object PEAR |
&$obj |
|
|
::Error &$obj |
|
Returns |
void |
Author(s) |
, |
|
destroy |
public void destroy(object PEAR &$obj)
|
|
an error object from the error stack.
|
Parameter |
|
object PEAR |
&$obj |
|
|
::Error |
|
Returns |
void |
Author(s) |
, |
|
getMessage |
public void getMessage(object PEAR &$obj)
|
|
the error message of the error object.
|
Parameter |
|
object PEAR |
&$obj |
|
|
::Error &$obj |
|
Returns |
void |
Author(s) |
, |
|
getCode |
public void getCode(object PEAR &$obj)
|
|
the code of the error object.
|
Parameter |
|
object PEAR |
&$obj |
|
|
::Error &$obj |
|
Returns |
void |
Author(s) |
, |
|
getType |
public void getType(object PEAR &$obj)
|
|
a reference to the error type of the error object.
|
Parameter |
|
object PEAR |
&$obj |
|
|
::Error &$obj |
|
Returns |
void |
Author(s) |
, |
|
getSource |
public void getSource(object PEAR &$obj)
|
|
a reference to the error source of the error object.
|
Parameter |
|
object PEAR |
&$obj |
|
|
::Error &$obj |
|
Returns |
void |
Author(s) |
, |
|
getFile |
public void getFile(object PEAR &$obj)
|
|
a reference to the error file of the error object
|
Parameter |
|
object PEAR |
&$obj |
|
|
::Error &$obj |
|
Returns |
void |
Author(s) |
, |
|
getLine |
public void getLine(object PEAR &$obj)
|
|
a reference to the error line of the error object
|
Parameter |
|
object PEAR |
&$obj |
|
|
::Error &$obj |
|
Returns |
void |
Author(s) |
, |
|