count(); } public function getAll($limit) { return $this->find(array('limit' => $limit, 'asArray' => TRUE)); } public function muserAdd($muserArray) { if (!is_array($muserArray)) return FALSE; $this->username = $muserArray['username']; $this->password = $muserArray['password']; $this->salt = $muserArray['salt']; $this->groups = $muserArray['groups']; return $this->insert(); } } ?>