* @copyright 2008-2015 Mediacom87 * @license define in the module * @version 1.4.0 */ /** * AdminGlsTrackingController class. * * @extends ModuleAdminController */ class AdminGlsTrackingController extends ModuleAdminController { public function __construct() { $this->bootstrap = true; $this->display = 'view'; $this->meta_title = $this->l('GLS Update Tracking Number'); parent::__construct(); if (!$this->module->active) { Tools::redirectAdmin($this->context->link->getAdminLink('AdminHome')); } } public function renderView() { $module = new GlsTrackingNumber(); $output = parent::renderView(); return $output . $module->getContent('AdminGlsTracking', 'order'); } }