public function as_array() { $args = func_get_args(); return call_user_func_array(array($this->orm, 'as_array'), $args); }
function as_array() { $data = parent::as_array(); unset($data['password']); unset($data['email_address']); $data['roles'] = $this->getRoles(true); $data['prefs'] = $this->getPrefs(true); return $data; }