src/ADT/OptionObject.php
public function declareOptions( $optionKeys = array() )
	{
		if( !is_array( $optionKeys ) )
			throw new InvalidArgumentException( 'Option Keys must be an Array.' );
		foreach( $optionKeys as $key )
		{
			if( !is_string( $key ) )
				throw new InvalidArgumentException( 'Option Keys must be an Array List of Strings.' );
			$this->options[$key]	= NULL;
		}
	}
public function declareOptions( $optionKeys = array() )
	{
		if( !is_array( $optionKeys ) )
			throw new InvalidArgumentException( 'Option Keys must be an Array.' );
		foreach( $optionKeys as $key )
		{
			if( !is_string( $key ) )
				throw new InvalidArgumentException( 'Option Keys must be an Array List of Strings.' );
			$this->options[$key]	= NULL;
		}
	}
public function declareOptions ( $ optionKeys = array ( ) ) { if ( ! is_array ( $ optionKeys ) ) throw new InvalidArgumentException ( 'Option Keys must be an Array.' ) ; foreach ( $ optionKeys as $ key ) { if ( ! is_string ( $ key ) ) throw new InvalidArgumentException ( 'Option Keys must be an Array List of Strings.' ) ; $ this -> options [ $ key ] = NULL ; } }
Declares a Set of Options.
@access		public
@param		array		$optionKeys		List of Option Keys
@return		void
Declares a Set of Options .