/** * main action */ public function mainAction() { require_once 'models/common/common_node.php'; require_once 'models/common/common_scheduler.php'; require_once 'models/ecommerce/ecommerce_store.php'; $this->Node = new common_node(); $this->Scheduler = new common_scheduler(); $Store = new ecommerce_store(); $this->Node->setCacheable(false); $this->Scheduler->setCacheable(false); $Store->setCacheable(false); $store_id = $this->GET['store_id']; $node_detail = $Store->getStoreHomepage($store_id); if (!is_array($node_detail)) { msg("node_child: Node not found", 'error'); return false; } $this->parseList($node_detail['id']); return true; }