OXID eShop CE  4.9.7
 All Classes Files Functions Variables Pages
oxDisplayError Class Reference
+ Inheritance diagram for oxDisplayError:
+ Collaboration diagram for oxDisplayError:

Public Member Functions

 getOxMessage ()
 setMessage ($sMessage)
 setFormatParameters ($aFormatParameters)
 getErrorClassType ()
 getValue ($sName)

Protected Attributes

 $_sMessage

Private Attributes

 $_aFormatParameters = array()

Detailed Description

simple class to add a error message to display

Definition at line 6 of file oxdisplayerror.php.

Member Function Documentation

oxDisplayError::getErrorClassType ( )

Returns errorrous class name (currently returns null)

Returns
null

Implements oxIDisplayError.

Definition at line 58 of file oxdisplayerror.php.

oxDisplayError::getOxMessage ( )

Formats message using vsprintf if property _aFormatParameters was set and returns translated message.

Returns
string stored message

Implements oxIDisplayError.

Definition at line 23 of file oxdisplayerror.php.

oxDisplayError::getValue (   $sName)

Returns value (currently returns empty string)

Parameters
string$sNamevalue ignored
Returns
string

Implements oxIDisplayError.

Definition at line 70 of file oxdisplayerror.php.

oxDisplayError::setFormatParameters (   $aFormatParameters)

Stes format parameters for message.

Parameters
array$aFormatParameters

Definition at line 48 of file oxdisplayerror.php.

oxDisplayError::setMessage (   $sMessage)

Stored the message.

Parameters
string$sMessagemessage

Definition at line 38 of file oxdisplayerror.php.

Member Data Documentation

oxDisplayError::$_aFormatParameters = array()
private

Definition at line 16 of file oxdisplayerror.php.

string oxDisplayError::$_sMessage
protected

Error message

Definition at line 13 of file oxdisplayerror.php.


The documentation for this class was generated from the following file: