style = $attributes; } // ################################################################### /** * Returns a string of CSS style attributes * * @return string CSS attributes */ protected function _prepareStyle() { if (empty($this->style)) { return; } $attrs = array(); foreach ($this->style AS $prop => $value) { $attrs[] = $prop . ': ' . $value; } return explode('; ', $attrs); } } /*=====================================================================* || ################################################################### || # $HeadURL$ || # $Id$ || ################################################################### \*=====================================================================*/ ?>