Error/Form.php

Show: inherited
Table of Contents

\Conjoon_Error_Form

Package: Conjoon\Error

A class representing an error in the conjoon application.

Parent(s)
\Conjoon_Error < \Conjoon_BeanContext
Author
Thorsten-Suckow-Homberg  
Category
Error  
Uses
\Conjoon_BeanContext  
Uses
\Serializable  

Constants

Constant  UNKNOWN = 'CONJOON_ERROR_UNKNOWN'
inheritedInherited from: \Conjoon_Error::UNKNOWN
Inherited_from
\Conjoon_Error::UNKNOWN  
Constant  INPUT = 'CONJOON_ERROR_INPUT'
inheritedInherited from: \Conjoon_Error::INPUT
Inherited_from
\Conjoon_Error::INPUT  
Constant  AUTHORIZATION = 'CONJOON_ERROR_AUTHORIZATION'
inheritedInherited from: \Conjoon_Error::AUTHORIZATION
Inherited_from
\Conjoon_Error::AUTHORIZATION  
Constant  LOCKED = 'CONJOON_ERROR_LOCKED'
inheritedInherited from: \Conjoon_Error::LOCKED
Inherited_from
\Conjoon_Error::LOCKED  
Constant  TOKEN_FAILURE = 'CONJOON_ERROR_TOKEN_FAILURE'
inheritedInherited from: \Conjoon_Error::TOKEN_FAILURE
Inherited_from
\Conjoon_Error::TOKEN_FAILURE  
Constant  DATA = 'CONJOON_ERROR_DATA'
inheritedInherited from: \Conjoon_Error::DATA
Inherited_from
\Conjoon_Error::DATA  
Constant  LEVEL_CRITICAL = 'critical'
inheritedInherited from: \Conjoon_Error::LEVEL_CRITICAL
Inherited_from
\Conjoon_Error::LEVEL_CRITICAL  
Constant  LEVEL_WARNING = 'warning'
inheritedInherited from: \Conjoon_Error::LEVEL_WARNING
Inherited_from
\Conjoon_Error::LEVEL_WARNING  
Constant  LEVEL_ERROR = 'error'
inheritedInherited from: \Conjoon_Error::LEVEL_ERROR
Inherited_from
\Conjoon_Error::LEVEL_ERROR  

Properties

Propertyprotected  $code= ''
inheritedInherited from: \Conjoon_Error::$$code
Details
Type
n/a
Inherited_from
\Conjoon_Error::$$code  
Propertyprivate  $fields= ''
Details
Type
n/a
Propertyprotected  $file= ''
inheritedInherited from: \Conjoon_Error::$$file
Details
Type
n/a
Inherited_from
\Conjoon_Error::$$file  
Propertyprotected  $level= ''
inheritedInherited from: \Conjoon_Error::$$level
Details
Type
n/a
Inherited_from
\Conjoon_Error::$$level  
Propertyprotected  $line= ''
inheritedInherited from: \Conjoon_Error::$$line
Details
Type
n/a
Inherited_from
\Conjoon_Error::$$line  
Propertyprotected  $message= ''
inheritedInherited from: \Conjoon_Error::$$message
Details
Type
n/a
Inherited_from
\Conjoon_Error::$$message  
Propertyprotected  $type= ''
inheritedInherited from: \Conjoon_Error::$$type
Details
Type
n/a
Inherited_from
\Conjoon_Error::$$type  

Methods

methodpublic__construct( ) : void
inherited

Constructor.

Inherited from: \Conjoon_Error::__construct()
methodpublic__toString( ) : string

Returns a textual representation of the current object.

Returns
Type Description
string
methodpublicfromException( \Exception $e,  $errorClass = 'Conjoon_Error' ) : \Conjoon_Error
staticinherited

Creates a new instance of Conjoon_Error based on the passed exception.

Inherited from: \Conjoon_Error::fromException()
Parameters
Name Type Description
$e \Exception

Any exception that should be casted to an instance of Conjoon_Error

$errorClass
Returns
Type Description
\Conjoon_Error
methodpublicfromFilter( \Zend_Filter_Input $filter, \Zend_Filter_Exception $e ) : \Conjoon_Error_Form
staticinherited

Creates a Conjoon_Error_Form based on the fields that where marked as errorneous in the passed filter-instance.

Inherited from: \Conjoon_Error::fromFilter()
Parameters
Name Type Description
$filter \Zend_Filter_Input
$e \Zend_Filter_Exception
Returns
Type Description
\Conjoon_Error_Form
methodpublicgetCode( ) : void
inherited

Inherited from: \Conjoon_Error::getCode()
methodpublicgetDto( ) : \Conjoon_Groupware_Email_AccountDto

Returns a Dto for an instance of this class.

Returns
Type Description
\Conjoon_Groupware_Email_AccountDto
methodpublicgetFields( ) : void

methodpublicgetFile( ) : void
inherited

Inherited from: \Conjoon_Error::getFile()
methodpublicgetLevel( ) : void
inherited

Inherited from: \Conjoon_Error::getLevel()
methodpublicgetLine( ) : void
inherited

Inherited from: \Conjoon_Error::getLine()
methodpublicgetMessage( ) : void
inherited

Inherited from: \Conjoon_Error::getMessage()
methodpublicgetType( ) : void
inherited

Inherited from: \Conjoon_Error::getType()
methodpublicserialize( ) : string
inherited

Serializes properties and returns them as a string which can later on be unserialized.

Inherited from: \Conjoon_Error::serialize()
Returns
Type Description
string
methodpublicsetCode(  $code ) : void
inherited

Inherited from: \Conjoon_Error::setCode()
Parameters
Name Type Description
$code
methodpublicsetFields(  $fields ) : void

Parameters
Name Type Description
$fields
methodpublicsetFile(  $file ) : void
inherited

Inherited from: \Conjoon_Error::setFile()
Parameters
Name Type Description
$file
methodpublicsetLevel(  $level ) : void
inherited

Inherited from: \Conjoon_Error::setLevel()
Parameters
Name Type Description
$level
methodpublicsetLine(  $line ) : void
inherited

Inherited from: \Conjoon_Error::setLine()
Parameters
Name Type Description
$line
methodpublicsetMessage(  $message ) : void
inherited

Inherited from: \Conjoon_Error::setMessage()
Parameters
Name Type Description
$message
methodpublicsetType(  $type ) : void
inherited

Inherited from: \Conjoon_Error::setType()
Parameters
Name Type Description
$type
methodpublictoArray( ) : array

Returns an associative array, which key/value pairs represent the properties stored by this object.

Returns
Type Description
array
methodpublicunserialize( string $serialized ) : void
inherited

Unserializes $serialized and assigns the specific values found to the members in this class.

Inherited from: \Conjoon_Error::unserialize()
Parameters
Name Type Description
$serialized string

The serialized representation of a former instance of this class.

Documentation was generated by DocBlox 0.18.1.