protected function generateStyle(array $properties)
	{
		ksort($properties);

		$style = '';
		foreach ($properties as $name => $value)
		{
			$style .= $name . ':' . $value . ';';
		}

		return trim($style, ';');
	}
protected function generateStyle(array $properties)
	{
		ksort($properties);

		$style = '';
		foreach ($properties as $name => $value)
		{
			$style .= $name . ':' . $value . ';';
		}

		return trim($style, ';');
	}
protected function generateStyle ( array $ properties ) { ksort ( $ properties ) ; $ style = '' ; foreach ( $ properties as $ name => $ value ) { $ style .= $ name . ':' . $ value . ';' ; } return trim ( $ style , ';' ) ; }
Generate a CSS declaration based on an array of CSS properties

@param  array  $properties Property name => property value
@return string
Generate a CSS declaration based on an array of CSS properties