public function getStyle() { if ($style = $this->getViewState('Style', null)) { return $style; } else { $style = $this->createStyle(); $this->setViewState('Style', $style, null); return $style; } }