/** * Remove license * * @return string * * @access public */ public function removeLicense() { if (current_user_can(aam_Core_ConfigPress::getParam('aam.menu.extensions.capability', 'administrator'))) { $model = new aam_View_Extension(); $response = $model->remove(); } else { $response = self::DEFAULT_AJAX_RESPONSE; } return $response; }
/** * Remove extension * * @return string * * @access protected */ protected function removeExtension() { $model = new aam_View_Extension(); return $model->remove(); }
/** * Extension content page * * @return void * * @access public */ public function extensionContent() { $manager = new aam_View_Extension(); echo $manager->run(); }