Packageindex Classtrees Modulegroups Elementlist Report XML Files

Err

Err

private class Err

 

Public Method Summary

void Err()
This is the public Method method,
object Err &singleton()
ONE instance of this class.
void &newError(array $params)
This is the public method NewError, it's the static
bool checkError(object PEAR &$obj)
This is the public method CheckError, it uses
void &addError(object PEAR &$obj)
This is the public method AddError, it adds
void destroy(object PEAR &$obj)
This is the public method Destroy, it removes
void getMessage(object PEAR &$obj)
This is the public method GetMessage, it returns
void getCode(object PEAR &$obj)
This is the public method GetCode, it returns
void getType(object PEAR &$obj)
This is the public method GetType, it returns
void getSource(object PEAR &$obj)
This is the public method GetSource, it returns
void getFile(object PEAR &$obj)
This is the public method GetFile, it returns
void getLine(object PEAR &$obj)
This is the public method GetLine, it returns

Private Method Summary

void logError(object PEAR &$obj)
Adds error to the log.

Private Field Summary

array $errors
Stores errors.

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) ,

Private Method Details

logError

private void logError(object PEAR &$obj)

 

Parameter
object PEAR &$obj
::Error &$obj
Returns void


Private Field Details

$errors

private array $errors

>><<



Packageindex Classtrees Modulegroups Elementlist Report XML Files
Generated on Fri, 28 Apr 2006 19:06:12 -0400 by PHPDoc v1.5 www.phpdoc.de