Esempio n. 1
0
 /**
  * Optionally pass in a routing driver to take care of the routing.
  * @todo This feature is experimental and isn't ready for production yet
  *
  * @param array $p_aOptions The Options
  */
 function __construct(array $p_aOptions = array())
 {
     if (isset($p_aOptions['router']) !== null && $p_aOptions['router'] instanceof PPI_Router_Interface) {
         $this->_router = $p_aOptions['router'];
     }
     parent::__construct();
 }
Esempio n. 2
0
 /**
  * Optionally pass in a routing driver to take care of the routing.
  * @todo This feature is experimental and isn't ready for production yet
  *
  * @param null|PPI_Router_Interface $p_oRouter
  */
 function __construct($p_oRouter = null)
 {
     /*
     if($p_oRouter !== null && $p_oRouter instanceof PPI_Router_Interface) {
     	$this->_router = $p_oRouter;
     }
     */
     parent::__construct();
 }