protected function _getSelect()
    {
        $ret = parent::_getSelect();
        $componentId = $this->_getParam('componentId');
        $component = Kwf_Component_Data_Root::getInstance()->getComponentByDbId($componentId, array('ignoreVisible' => true));
        if (isset($component->parent->chained)) {
            $component = $component->parent->chained;
        }
        $dbIds = array($component->dbId);
        foreach (Kwc_Chained_Abstract_Component::getAllChainedByMaster($component, 'Trl') as $c) {
            $dbIds[] = $c->dbId;
        }
        $ret->whereEquals('component_id', $dbIds);
        return $ret;
    }
protected function _getSelect()
    {
        $ret = parent::_getSelect();
        $componentId = $this->_getParam('componentId');
        $component = Kwf_Component_Data_Root::getInstance()->getComponentByDbId($componentId, array('ignoreVisible' => true));
        if (isset($component->parent->chained)) {
            $component = $component->parent->chained;
        }
        $dbIds = array($component->dbId);
        foreach (Kwc_Chained_Abstract_Component::getAllChainedByMaster($component, 'Trl') as $c) {
            $dbIds[] = $c->dbId;
        }
        $ret->whereEquals('component_id', $dbIds);
        return $ret;
    }
protected function _getSelect ( ) { $ ret = parent :: _getSelect ( ) ; $ componentId = $ this -> _getParam ( 'componentId' ) ; $ component = Kwf_Component_Data_Root :: getInstance ( ) -> getComponentByDbId ( $ componentId , array ( 'ignoreVisible' => true ) ) ; if ( isset ( $ component -> parent -> chained ) ) { $ component = $ component -> parent -> chained ; } $ dbIds = array ( $ component -> dbId ) ; foreach ( Kwc_Chained_Abstract_Component :: getAllChainedByMaster ( $ component , 'Trl' ) as $ c ) { $ dbIds [ ] = $ c -> dbId ; } $ ret -> whereEquals ( 'component_id' , $ dbIds ) ; return $ ret ; }
shows all feedbacks in all languages
shows all feedbacks in all languages