protected function _getComponentId($select)
    {
        $componentId = null;
        if ($select) {
            if ($select->getPart(Kwf_Model_Select::WHERE_EQUALS)) {
                foreach ($select->getPart(Kwf_Model_Select::WHERE_EQUALS) as $k=>$i) {
                    if ($k == 'component_id') $componentId = $i;
                }
            }
        }
        return $componentId;
    }
protected function _getComponentId($select)
    {
        $componentId = null;
        if ($select) {
            if ($select->getPart(Kwf_Model_Select::WHERE_EQUALS)) {
                foreach ($select->getPart(Kwf_Model_Select::WHERE_EQUALS) as $k=>$i) {
                    if ($k == 'component_id') $componentId = $i;
                }
            }
        }
        return $componentId;
    }
protected function _getComponentId ( $ select ) { $ componentId = null ; if ( $ select ) { if ( $ select -> getPart ( Kwf_Model_Select :: WHERE_EQUALS ) ) { foreach ( $ select -> getPart ( Kwf_Model_Select :: WHERE_EQUALS ) as $ k => $ i ) { if ( $ k == 'component_id' ) $ componentId = $ i ; } } } return $ componentId ; }
Extracts the component id from select
Extracts the component id from select