00001 <?php
00002
00008 class oxLinks extends oxI18n
00009 {
00015 protected $_sCoreTbl = 'oxlinks';
00016
00022 protected $_sClassName = 'oxlinks';
00023
00029 public function __construct()
00030 {
00031 parent::__construct();
00032 $this->init( $this->_sCoreTbl );
00033 }
00034
00044 protected function _setFieldData( $sFieldName, $sValue, $iDataType = oxField::T_TEXT)
00045 {
00046 if ('oxurldesc' === strtolower($sFieldName) || 'oxlinks__oxurldesc' === strtolower($sFieldName)) {
00047 $iDataType = oxField::T_RAW;
00048 }
00049
00050 return parent::_setFieldData($sFieldName, $sValue, $iDataType);
00051 }
00052 }