summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls/RequiresVersion.php
blob: c5dc37eca7aec2e9859ca301fbbcb3c9c89d4f73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

class RequiresVersion extends TTemplateControl
{
	public function setVersion($value)
	{
		$this->setViewState('Version',$value);
	}

	public function getVersion()
	{
		return $this->getViewState('Version');
	}
}

?>