oxlinks.php

Go to the documentation of this file.
00001 <?php
00002 
00007 class oxLinks extends oxI18n
00008 {
00014     protected $_sCoreTbl = 'oxlinks';
00015 
00021     protected $_sClassName = 'oxlinks';
00022 
00028     public function __construct()
00029     {
00030         parent::__construct();
00031         $this->init( $this->_sCoreTbl );
00032     }
00033 
00043     protected function _setFieldData( $sFieldName, $sValue, $iDataType = oxField::T_TEXT)
00044     {
00045         if ('oxurldesc' === strtolower($sFieldName) || 'oxlinks__oxurldesc' === strtolower($sFieldName)) {
00046             $iDataType = oxField::T_RAW;
00047         }
00048 
00049         return parent::_setFieldData($sFieldName, $sValue, $iDataType);
00050     }
00051 }