summaryrefslogtreecommitdiff
path: root/demos/personal/protected/Pages/Register.php
blob: 26f9aa5048dfbf1f36f72cf1a26b99f57303e0ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

class Register extends TPage
{
	public function checkUsername($sender,$param)
	{
		// set $param->IsValid to false if the username is already taken
	}

	public function createUser($sender,$param)
	{
		if($this->IsValid)
		{
			// create new user account
		}
	}
}

?>