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(); }
private function getOrderHTML() { $this->set('success', false); $this->set('output', false); $this->set('errormessage', 'Not defined'); // -- generate the html PageMainData::getOrdersHTML(); // -- ajax return $_output = $this->get('orderulhtml'); if (!empty($_output)) { $this->set('success', true); $this->set('output', $_output); } }
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(); }