/** * Retrieve inactive cmspage item ids * * @access protecte * @param Ibrams_CmsExtended_Model_Resource_Cmspage_Collection $collection * @return array * @author Ultimate Module Creator */ protected function _getInactiveItemIds($collection) { $filter = $collection->getAllIdsSql(); $table = Mage::getSingleton('core/resource')->getTable('ibrams_cmsextended/cmspage'); $bind = array('cond' => 0); $select = $this->_conn->select()->from(array('d' => $table), array('d.entity_id'))->where('d.entity_id IN (?)', new Zend_Db_Expr($filter))->where('status = :cond'); return $this->_conn->fetchCol($select, $bind); }