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; } }
public function __construct(image $target) { parent::__construct(); $this->target = $target; }