public function getItemStyle($createStyle = true) { if (($style = $this->getViewState('ItemStyle', null)) === null && $createStyle) { $style = new TTableItemStyle(); $this->setViewState('ItemStyle', $style, null); } return $style; }