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