\User\ControllerRegisterController

用户注册

Summary

Methods
Properties
Constants
__construct()
__call()
regPage()
verificationCode()
register()
check_verify()
No public properties found
No constants found
ajaxReturn()
redirect()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

架构函数

__call()

__call(string  $method, array  $args) : mixed

魔术方法 有不存在的操作的时候执行

Parameters

string $method

方法名

array $args

参数

Returns

mixed

regPage()

regPage() 

verificationCode()

verificationCode() 

register()

register() 

check_verify()

check_verify(  $code,   $id = '') 

Parameters

$code
$id

ajaxReturn()

ajaxReturn(mixed  $data, String  $type = '') : void

Ajax方式返回数据到客户端

Parameters

mixed $data

要返回的数据

String $type

AJAX返回数据格式

redirect()

redirect(string  $url, array  $params = array(), integer  $delay, string  $msg = '') : void

Action跳转(URL重定向) 支持指定模块和延时跳转

Parameters

string $url

跳转的URL表达式

array $params

其它URL参数

integer $delay

延时跳转的时间 单位为秒

string $msg

跳转提示信息