コード例 #1
0
ファイル: section.php プロジェクト: tilitala/nForum
 protected function __construct($info, $mixed, $desc, $root)
 {
     parent::__construct($info);
     $this->_num = $root ? $mixed : $mixed->SECNUM;
     $this->_desc = $desc;
     $this->_root = $root;
     if (!$root) {
         $this->_board = $mixed;
     }
 }
コード例 #2
0
ファイル: image.php プロジェクト: LupusMichaelis/horn
 public function __construct(image $target)
 {
     parent::__construct();
     $this->target = $target;
 }