/** * @return TWizardNavigationButtonStyle the style for the cancel button */ public function getCancelButtonStyle() { if (($style = $this->getViewState('CancelButtonStyle', null)) === null) { $style = new TWizardNavigationButtonStyle(); $style->setButtonText('Cancel'); $this->setViewState('CancelButtonStyle', $style, null); } return $style; }