public function __construct($options) { parent::__construct(); $this->setMultiple(1); foreach ($options as $key => $value) { $this->addOption($value, $key); } $this->setSize(count($options)); }
public function __construct($ignore_offlines = false, $clang = false, $check_perms = true, $add_homepage = true) { $this->ignore_offlines = $ignore_offlines; $this->clang = $clang; $this->check_perms = $check_perms; $this->add_homepage = $add_homepage; $this->rootId = null; $this->loaded = false; parent::__construct(); }
public function __construct($check_perms = true) { $this->check_perms = $check_perms; $this->rootId = null; parent::__construct(); }