public function __construct($_variables) { // load parent parent::__construct($_variables); // load data for page PageMainData::loadConfig(); PageMainData::menuHTML(); // load html for page PageMainHTML::html(); // render page $this->createPage(); }
public function __construct($_variables) { // load parent parent::__construct($_variables); // define class variables $_array = array("mobileplatform" => Mobile::isMobilePlatform(), "ordertimerange" => $this->__config->get('ordertimerange'), "timezone" => $this->__config->get('timezone'), "cachefolder" => $this->__config->get('cachefolder')); // load class variables $this->loadClassVariables($_array); // load the order html PageMainData::getOrdersHTML(); // load the page html PageMainHTML::html(); // render page $this->createPage(); }