. * * @author TechFuze * @copyright Copyright (c) 2013 - 2015, Techfuze. (http://techfuze.net) * @copyright Copyright (c) 1996 - 2015, Free Software Foundation, Inc. (http://www.fsf.org/) * @license http://opensource.org/licenses/GPL-3.0 GPLv3 License * @link http://fuzeworks.techfuze.net * @since Version 0.0.1 * @version Version 0.0.1 */ namespace Module\Api; use \FuzeWorks\Module; /** * Loading class for multiple API types * * Currently loads a REST API class which controllers can extend so they provide a standardized API * @package net.techfuze.fuzeworks.core * @author Abel Hoogeveen * @copyright Copyright (c) 2013 - 2015, Techfuze. (http://techfuze.net) */ class Main extends Module { /** * Gets loaded upon module initialization * * Loads all the API types */ public function onLoad() { require_once($this->getModulePath() . "/class.rest.php"); } }