PHP Class PassportAction, thinksns

Author: liuxiaoqing ([email protected])
Inheritance: extends Action
Exibir arquivo Open project: medz/thinksns-4

Public Properties

Property Type Description
$passport

Public Methods

Method Description
doCheckEmail ( ) * 验证安全邮箱
doFindPasswordByEmail ( ) 通过Email找回密码
doFindPasswordByEmailAgain ( )
doFindPasswordByMobile ( )
doFindPasswordByQuestions ( ) 通过安全问题找回密码
doFindPasswordBySMS ( ) 通过手机短信找回密码
doLogin ( ) 用户登录
doResetPassword ( ) 执行重置密码操作
findPassword ( ) 找回密码页面
index ( ) 通行证首页
isPhoneAvailable ( )
isRegCodeAvailable ( ) 验证手机验证码是否正确
login ( ) 默认登录页
logout ( ) 注销登录
quickLogin ( ) 快速登录
resetPassword ( ) 重置密码页面
sendPasswordCode ( ) 发送找回密码验证码

Protected Methods

Method Description
_initialize ( ) 模块初始化

Private Methods

Method Description
_checkResetPasswordCode ( $code ) 检查重置密码的验证码操作
_isEmailString ( $email ) * 正则匹配,验证邮箱格式
_markPassword ( $str ) * 替换密码为星号
_sendPasswordEmail ( $user ) 找回密码页面

Method Details

_initialize() protected method

模块初始化
protected _initialize ( )

doCheckEmail() public method

* 验证安全邮箱
public doCheckEmail ( )

doFindPasswordByEmail() public method

通过Email找回密码

doFindPasswordByEmailAgain() public method

doFindPasswordByMobile() public method

doFindPasswordByQuestions() public method

通过安全问题找回密码

doFindPasswordBySMS() public method

通过手机短信找回密码
public doFindPasswordBySMS ( )

doLogin() public method

用户登录
public doLogin ( )

doResetPassword() public method

执行重置密码操作
public doResetPassword ( )

findPassword() public method

找回密码页面
public findPassword ( )

index() public method

通行证首页
public index ( )

isPhoneAvailable() public method

public isPhoneAvailable ( )

isRegCodeAvailable() public method

验证手机验证码是否正确
Author: Medz Seven ([email protected])
public isRegCodeAvailable ( )

login() public method

默认登录页
public login ( )

logout() public method

注销登录
public logout ( )

quickLogin() public method

快速登录
public quickLogin ( )

resetPassword() public method

重置密码页面
public resetPassword ( )

sendPasswordCode() public method

发送找回密码验证码
Author: Medz Seven ([email protected])
public sendPasswordCode ( )

Property Details

$passport public_oe property

public $passport