File phpboost/module/tree-links/AdminModuleLink.class.php
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24:
<?php
/**
* This class enables you to manages the PHPBoost packages which are nothing else than the modules.
* @package PHPBoost
* @subpackage Module\tree-links
* @copyright © 2005-2019 PHPBoost
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL-3.0
* @author Kevin MASSY <reidlos@phpboost.com>
* @version PHPBoost 5.2 - last update: 2018 10 10
* @since PHPBoost 4.1 - 2013 11 15
* @contributor Kevin MASSY <reidlos@phpboost.com>
* @contributor Julien BRISWALTER <j1.seth@phpboost.com>
* @contributor Arnaud GENET <elenwii@phpboost.com>
*/
class AdminModuleLink extends ModuleLink
{
public function __construct($name, $url)
{
parent::__construct($name, $url, AppContext::get_current_user()->check_level(User::ADMIN_LEVEL));
}
}
?>