oxlanguageexception.php

Go to the documentation of this file.
00001 <?php
00002 
00006 class oxLanguageException extends oxException
00007 {
00008 
00014     private $_sLangConstant = "";
00015 
00021     public function setLangConstant($sLangConstant)
00022     {
00023         $this->_sLangConstant = $sLangConstant;
00024     }
00025 
00031     public function getLangConstant()
00032     {
00033         return $this->_sLangConstant;
00034     }
00035 
00042     public function getString()
00043     {
00044         return __CLASS__ . '-' . parent::getString() . " Faulty Constant --> " . $this->_sLangConstant . "\n";
00045     }
00046 
00055     public function getValues()
00056     {
00057         $aRes = parent::getValues();
00058         $aRes['langConstant'] = $this->getLangConstant();
00059 
00060         return $aRes;
00061     }
00062 }