OXID eShop CE
4.8.12
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Pages
oxdisplayerror.php
Go to the documentation of this file.
1
<?php
2
6
class
oxDisplayError
implements
oxIDisplayError
7
{
13
protected
$_sMessage
;
14
16
private
$_aFormatParameters
= array();
17
23
public
function
getOxMessage
()
24
{
25
$sTranslatedMessage =
oxRegistry::getLang
()->translateString($this->_sMessage);
26
if
(!empty($this->_aFormatParameters)) {
27
$sTranslatedMessage = vsprintf($sTranslatedMessage, $this->_aFormatParameters);
28
}
29
30
return
$sTranslatedMessage;
31
}
32
40
public
function
setMessage
( $sMessage )
41
{
42
$this->_sMessage = $sMessage;
43
}
44
50
public
function
setFormatParameters
($aFormatParameters)
51
{
52
$this->_aFormatParameters = $aFormatParameters;
53
}
54
60
public
function
getErrorClassType
()
61
{
62
return
null;
63
}
64
72
public
function
getValue
( $sName )
73
{
74
return
''
;
75
}
76
}
core
oxdisplayerror.php
Generated by
1.8.1.2