OXID eShop CE
4.10.6
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
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
38
public
function
setMessage
($sMessage)
39
{
40
$this->_sMessage = $sMessage;
41
}
42
48
public
function
setFormatParameters
($aFormatParameters)
49
{
50
$this->_aFormatParameters = $aFormatParameters;
51
}
52
58
public
function
getErrorClassType
()
59
{
60
return
null;
61
}
62
70
public
function
getValue
($sName)
71
{
72
return
''
;
73
}
74
}
core
oxdisplayerror.php
Generated by
1.8.1.2