/** * Get roles. * * @return array */ public function roles() { if (!$this->_roles) { $this->_roles = Model_Role::find_by_user($this); } return $this->_roles; }