/** * Delete Selected User * * @return string * * @access protected */ protected function deleteUser() { $model = new aam_View_User(); return $model->delete(); }
/** * Delete Selected User * * @return string * * @access public */ public function deleteList() { if (aam_View_Collection::hasSubject(aam_Control_Subject_User::UID)) { $user = new aam_View_User(); $response = $user->delete(); } else { $response = self::DEFAULT_AJAX_RESPONSE; } return $response; }