_loggedUserId = (int) $id; } public function getLoggedUserId() { return (int) $this->_loggedUserId; } protected function _where(Zend_Db_Select $select = null) { $select = parent::_where($select); $select->where($this->db->quoteIdentifier('User.id') . '!= ?', App_Doc_Site::ADMIN_ID, Qs_Db::INT_TYPE); return $select; } }