blob: b699d859e8df7378b09407cb837967b55fe06b1e (
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
}
}
}
?>
|