*/
protected function _prepareStyle()
{
- if (empty($this->style) AND empty($this->cssClass))
+ if (empty($this->style) && empty($this->cssClass))
{
return;
}
$attrs = array();
- foreach ($this->style AS $prop => $value)
+ foreach ($this->style as $prop => $value)
{
$attrs[] = $prop . ': ' . $value;
}