Example #1
0
 /**
  * The function initializes and runs current controller.
  * 
  * @static
  * @access private 
  */
 private static function initController()
 {
     session_start();
     // for shopping cart
     self::setContent(Controller::executeController(Runtime::get('ROUTING_CONTROLLER'), Runtime::get('ROUTING_ARGUMENTS')));
 }