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

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

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