<?php class SinceVersion extends TTemplateControl { public function setVersion($value) { $this->setViewState('Version',$value); } public function getVersion() { return $this->getViewState('Version'); } }