blob: e24162581b0fa82b71ee93a15a07668874d80387 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?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
}
}
}
|