/** * Returns current object as a CSS string * * @return string A CSS string */ public function toCSS() { $property = ''; if ($this->attribute('value') != "") { $property = ezcsseStyle::tabIndent() . $this->attribute('name') . ": " . $this->attribute('value') . ";"; } return $property; }