src/ShopListFilterBundle/objects/db/TPkgShopListfilterItem.class.php
protected function OverloadViewSettings()
    {
        if (empty($this->fieldView)) {
            $oListFilterItemType = $this->GetFieldPkgShopListfilterItemType();
            if (!is_null($oListFilterItemType) && !TGlobal::IsCMSMode()) {
                $this->sqlData['view'] = $oListFilterItemType->fieldView;
                $this->fieldView = $this->sqlData['view'];
                $this->sqlData['view_class_type'] = $oListFilterItemType->fieldViewClassType;
                $this->fieldViewClassType = $this->sqlData['view_class_type'];
            }
        }
    }
protected function OverloadViewSettings()
    {
        if (empty($this->fieldView)) {
            $oListFilterItemType = $this->GetFieldPkgShopListfilterItemType();
            if (!is_null($oListFilterItemType) && !TGlobal::IsCMSMode()) {
                $this->sqlData['view'] = $oListFilterItemType->fieldView;
                $this->fieldView = $this->sqlData['view'];
                $this->sqlData['view_class_type'] = $oListFilterItemType->fieldViewClassType;
                $this->fieldViewClassType = $this->sqlData['view_class_type'];
            }
        }
    }
protected function OverloadViewSettings ( ) { if ( empty ( $ this -> fieldView ) ) { $ oListFilterItemType = $ this -> GetFieldPkgShopListfilterItemType ( ) ; if ( ! is_null ( $ oListFilterItemType ) && ! TGlobal :: IsCMSMode ( ) ) { $ this -> sqlData [ 'view' ] = $ oListFilterItemType -> fieldView ; $ this -> fieldView = $ this -> sqlData [ 'view' ] ; $ this -> sqlData [ 'view_class_type' ] = $ oListFilterItemType -> fieldViewClassType ; $ this -> fieldViewClassType = $ this -> sqlData [ 'view_class_type' ] ; } } }
overload view settings from filter-type if nothing is set in this filter-item.
overload view settings from filter - type if nothing is set in this filter - item .