public function getRow($select)
    {
        $componentId = $this->_getComponentId($select);
        $masterId = $this->_getId($select);
        if ($componentId && $masterId) {
            $select = new Kwf_Model_Select();
            $c = Kwf_Component_Data_Root::getInstance()
                ->getComponentById($componentId, array('ignoreVisible'=>true));
            $select->whereEquals('component_id', $c->chained->dbId);
            $select->whereEquals('id', $masterId);
            $proxyRow = $this->_proxyModel->getRow($select);
            return $this->getRowByProxiedRowAndComponentId($proxyRow, $componentId);
        } else {
            $trlRow = $this->_trlModel->getRow($select);
            $masterSelect = new Kwf_Model_Select();
            $masterSelect->whereId($trlRow->master_id);
            $masterRow = $this->_proxyModel->getRow($masterSelect);
            return $this->getRowByProxiedRowAndComponentId($masterRow, $trlRow->component_id);
        }
        throw new Kwf_Exception_NotYetImplemented();
    }
public function getRow($select)
    {
        $componentId = $this->_getComponentId($select);
        $masterId = $this->_getId($select);
        if ($componentId && $masterId) {
            $select = new Kwf_Model_Select();
            $c = Kwf_Component_Data_Root::getInstance()
                ->getComponentById($componentId, array('ignoreVisible'=>true));
            $select->whereEquals('component_id', $c->chained->dbId);
            $select->whereEquals('id', $masterId);
            $proxyRow = $this->_proxyModel->getRow($select);
            return $this->getRowByProxiedRowAndComponentId($proxyRow, $componentId);
        } else {
            $trlRow = $this->_trlModel->getRow($select);
            $masterSelect = new Kwf_Model_Select();
            $masterSelect->whereId($trlRow->master_id);
            $masterRow = $this->_proxyModel->getRow($masterSelect);
            return $this->getRowByProxiedRowAndComponentId($masterRow, $trlRow->component_id);
        }
        throw new Kwf_Exception_NotYetImplemented();
    }
public function getRow ( $ select ) { $ componentId = $ this -> _getComponentId ( $ select ) ; $ masterId = $ this -> _getId ( $ select ) ; if ( $ componentId && $ masterId ) { $ select = new Kwf_Model_Select ( ) ; $ c = Kwf_Component_Data_Root :: getInstance ( ) -> getComponentById ( $ componentId , array ( 'ignoreVisible' => true ) ) ; $ select -> whereEquals ( 'component_id' , $ c -> chained -> dbId ) ; $ select -> whereEquals ( 'id' , $ masterId ) ; $ proxyRow = $ this -> _proxyModel -> getRow ( $ select ) ; return $ this -> getRowByProxiedRowAndComponentId ( $ proxyRow , $ componentId ) ; } else { $ trlRow = $ this -> _trlModel -> getRow ( $ select ) ; $ masterSelect = new Kwf_Model_Select ( ) ; $ masterSelect -> whereId ( $ trlRow -> master_id ) ; $ masterRow = $ this -> _proxyModel -> getRow ( $ masterSelect ) ; return $ this -> getRowByProxiedRowAndComponentId ( $ masterRow , $ trlRow -> component_id ) ; } throw new Kwf_Exception_NotYetImplemented ( ) ; }
Should return the specified row, componentId and id has to be defined
Should return the specified row componentId and id has to be defined