*/ class Mage_Api_Model_Resource_Roles_User_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract { /** * Resource collection initialization * */ protected function _construct() { $this->_init('api/user'); } /** * Init collection select * * @return Mage_Api_Model_Resource_Roles_User_Collection */ protected function _initSelect() { parent::_initSelect(); $this->getSelect()->where("user_id > 0"); return $this; } }