public function storeByPlugin(\SimpleXMLElement $options) {
		
		// get options
		$children = $options->children();
		
		$this->derived = (bool)$children->derived;
		
		// the needed cast to string for each property
		foreach ($children->palette->children() as $color) {
			$this->palette[] = (string)$color;
		}
		
		return $this->store();
		
	}
public function storeByPlugin(\SimpleXMLElement $options) {
		
		// get options
		$children = $options->children();
		
		$this->derived = (bool)$children->derived;
		
		// the needed cast to string for each property
		foreach ($children->palette->children() as $color) {
			$this->palette[] = (string)$color;
		}
		
		return $this->store();
		
	}
public function storeByPlugin ( \ SimpleXMLElement $ options ) { // get options $ children = $ options -> children ( ) ; $ this -> derived = ( bool ) $ children -> derived ; // the needed cast to string for each property foreach ( $ children -> palette -> children ( ) as $ color ) { $ this -> palette [ ] = ( string ) $ color ; } return $ this -> store ( ) ; }
Get option parameters and store this object loaded by a Plugin.

@param	SimpleXMLElement	List of options.

@return	bool

@see		PluginInterface::storeByPlugin()
Get option parameters and store this object loaded by a Plugin .