public function setOptsByArray($options)
	{
		foreach (self::$_setableOptions as $optionKey) {
			if (isset($options[$optionKey])) {
				$this->$optionKey = $options[$optionKey];
			}
		}

		return $this;
	}
public function setOptsByArray($options)
	{
		foreach (self::$_setableOptions as $optionKey) {
			if (isset($options[$optionKey])) {
				$this->$optionKey = $options[$optionKey];
			}
		}

		return $this;
	}
public function setOptsByArray ( $ options ) { foreach ( self :: $ _setableOptions as $ optionKey ) { if ( isset ( $ options [ $ optionKey ] ) ) { $ this -> $ optionKey = $ options [ $ optionKey ] ; } } return $ this ; }
Retrieve an option array and set valid keys as instance variables.

@param array $options
Retrieve an option array and set valid keys as instance variables .