OXID eShop CE  4.8.12
 All Classes Files Functions Variables Pages
oxlinks.php
Go to the documentation of this file.
1 <?php
2 
7 class oxLinks extends oxI18n
8 {
14  protected $_sClassName = 'oxlinks';
15 
21  public function __construct()
22  {
24  $this->init('oxlinks');
25  }
26 
36  protected function _setFieldData( $sFieldName, $sValue, $iDataType = oxField::T_TEXT)
37  {
38  if ('oxurldesc' === strtolower($sFieldName) || 'oxlinks__oxurldesc' === strtolower($sFieldName)) {
39  $iDataType = oxField::T_RAW;
40  }
41 
42  return parent::_setFieldData($sFieldName, $sValue, $iDataType);
43  }
44 
45 
46 }