oxdisplayerror.php

Go to the documentation of this file.
00001 <?php
00002 
00006 class oxDisplayError implements oxIDisplayError
00007 {
00013     protected $_sMessage;
00014 
00020     public function getOxMessage()
00021     {
00022         return oxRegistry::getLang()->translateString( $this->_sMessage );
00023     }
00024 
00032     public function setMessage( $sMessage )
00033     {
00034         $this->_sMessage = $sMessage;
00035     }
00036 
00042     public function getErrorClassType()
00043     {
00044         return null;
00045     }
00046 
00054     public function getValue( $sName )
00055     {
00056         return '';
00057     }
00058 }