Example #1
0
 public function __construct($options)
 {
     parent::__construct();
     $this->setMultiple(1);
     foreach ($options as $key => $value) {
         $this->addOption($value, $key);
     }
     $this->setSize(count($options));
 }
Example #2
0
 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();
 }
Example #3
0
 public function __construct($check_perms = true)
 {
     $this->check_perms = $check_perms;
     $this->rootId = null;
     parent::__construct();
 }