/** * Helper to set the available style properties. * * @param array $properties Style properties * @param boolean $merge True to merge with existing set */ public static function setStyleProperties(array $properties, $merge = false) { if ($merge) { self::$_styleProperties = array_merge(self::$_styleProperties, $properties); } else { self::$_styleProperties = $properties; } }