/** * Edit Existing Role * * @return string * * @access protected */ protected function editRole() { $model = new aam_View_Role(); return $model->edit(); }
/** * Edit Existing Role * * @return string * * @access public */ public function editRole() { if (aam_View_Collection::hasSubject(aam_Control_Subject_Role::UID)) { $role = new aam_View_Role(); $response = $role->edit(); } else { $response = self::DEFAULT_AJAX_RESPONSE; } return $response; }