public function setOptions(array $options)
	{
		foreach ($options as $value => $text) {
			$this->addOption($value, $text);
		}

		return $this;
	}
public function setOptions(array $options)
	{
		foreach ($options as $value => $text) {
			$this->addOption($value, $text);
		}

		return $this;
	}
public function setOptions ( array $ options ) { foreach ( $ options as $ value => $ text ) { $ this -> addOption ( $ value , $ text ) ; } return $ this ; }
Set all options at once
@param array $options
@return static
Set all options at once