コード例 #1
0
 public function __construct(ServiceManager $sm = null)
 {
     parent::__construct();
     $this->initServiceManager($sm);
 }
コード例 #2
0
ファイル: View.php プロジェクト: rohanabraham/lxHive
 /**
  * Construct.
  */
 public function __construct($items = [])
 {
     parent::__construct($items);
     $this->setSlim(Slim::getInstance());
 }
コード例 #3
0
ファイル: Session.php プロジェクト: hopitio/framework
 function __construct(MvcContext $context)
 {
     parent::__construct($_SESSION);
     $this->context = $context;
 }
コード例 #4
0
ファイル: ItemList.php プロジェクト: williamamed/Raptor2
 function __construct($items = array())
 {
     parent::__construct($items);
     $this->converted = false;
 }
コード例 #5
0
ファイル: WebSession.php プロジェクト: aodkrisda/phprest
 public function __construct($items = array())
 {
     @session_start();
     $this->data =& $_SESSION;
     parent::__construct($items);
 }