ecom
E-commerce cms
 All Data Structures Namespaces Files Functions Variables
AHttpController.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Tools;
4 
5 abstract class AHttpController extends AController
6 {
7  public function __construct($context, $params)
8  { parent::__construct($context, $params); }
9 
10  public function start()
11  {
12  //TODO call some hooks
13  $this->run();
14  //TODO calls some hooks
15  }
16 
17  public abstract function run();
18 }
19 
__construct($context, $params)