コード例 #1
0
ファイル: FilterControl.php プロジェクト: soundake/pd
 /**
  * Control constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->filters = new Nette\ArrayHash();
     $this->filters->offsetSet('like', new Nette\ArrayHash());
     $this->filters->offsetSet('boolean', new Nette\ArrayHash());
 }
コード例 #2
0
ファイル: FifteenControl.php プロジェクト: jakubkulhan/nette
 public function __construct()
 {
     parent::__construct();
     $this->order = range(0, $this->width * $this->width - 1);
 }