PHP Class MODEL_USER

显示文件 Open project: baigoStudio/baigoSSO Class Usage Examples

Public Properties

Property Type Description
$userStatus

Public Methods

Method Description
__construct ( )
input_chk_mail ( ) : void 表单验证邮箱 input_chk_mail function.
input_chk_name ( ) : void 表单验证用户名 input_chk_name function.
input_convert ( ) : void 转换表单验证 input_convert function.
input_edit_api ( ) : void api 编辑表单验证 input_edit_api function.
input_forgot_verify ( ) : void 忘记密码表单验证 input_forgot_verify function.
input_get_by ( string $str_method = "get" ) : void 以 get 或 post 方式读取 input_get_by function.
input_ids ( ) : void 选择 input_ids function.
input_ids_api ( )
input_login_api ( ) : void api 登录表单验证 input_login_api function.
input_mail_api ( ) : void api 更换邮箱表单验证 input_mail_api function.
input_refresh_api ( ) : void api 刷新访问口令表单验证 input_refresh_api function.
input_reg_api ( ) : void api 注册表单验证 input_reg_api function.
input_submit ( ) : void 表单验证 input_submit function.
input_token_api ( string $str_method = "get" ) : void api 验证访问口令 input_token_api function.
mdl_alert_table ( ) : void 修改表 mdl_alert_table function.
mdl_column ( ) : void 列出字段 mdl_column function.
mdl_confirm ( mixed $num_userId ) : void 激活用户 mdl_confirm function.
mdl_convert ( ) : void 转换并导入数据库 mdl_convert function.
mdl_count ( array $arr_search = [] ) : void 计数 mdl_count function.
mdl_create_table ( ) : void 创建表 mdl_create function.
mdl_create_view ( ) : void 创建视图 mdl_create_view function.
mdl_del ( mixed $_arr_userIds ) : void 删除 mdl_del function.
mdl_edit ( mixed $num_userId ) : void 编辑 mdl_edit function.
mdl_forgot ( mixed $num_userId ) : void 忘记密码 mdl_forgot function.
mdl_import ( ) : void 导入预览 mdl_import function.
mdl_list ( mixed $num_no, integer $num_except, array $arr_search = [] ) : void 列出 mdl_list function.
mdl_list_view ( array $arr_search = [] ) : void 从视图列出 mdl_list_view function.
mdl_login ( mixed $num_userId ) : void 登录 mdl_login function.
mdl_mail ( mixed $num_userId, mixed $str_mail ) : void 修改邮箱 mdl_mail function.
mdl_read ( mixed $str_user, string $str_by = "user_id", integer $num_notId ) : void 读取 mdl_read function.
mdl_read_api ( mixed $str_user, string $str_by = "user_id", integer $num_notId ) : void api 读取 mdl_read_api function.
mdl_refresh ( mixed $num_userId ) : void 刷新访问口令 mdl_refresh function.
mdl_status ( mixed $str_status ) : void 更新状态 mdl_status function.
mdl_submit ( string $str_userPass = "", string $str_userRand = "", $str_status = "" ) : void 提交 mdl_submit function.

Private Methods

Method Description
chk_user_id ( mixed $num_id ) : void 验证用户 ID chk_user_id function.
chk_user_mail ( mixed $str_mail, $num_min ) : void 验证邮箱 chk_user_mail function.
chk_user_name ( $str_name ) : void 验证用户名 chk_user_name function.
chk_user_nick ( mixed $str_nick ) : void 验证昵称 chk_user_nick function.
chk_user_note ( mixed $str_note ) : void 验证备注 chk_user_note function.
chk_user_pass ( mixed $str_pass ) : void 验证密码 chk_user_pass function.
sql_process ( array $arr_search = [] ) : void 列出及统计 SQL 处理 sql_process function.

Method Details

__construct() public method

public __construct ( )

input_chk_mail() public method

表单验证邮箱 input_chk_mail function.
public input_chk_mail ( ) : void
return void

input_chk_name() public method

表单验证用户名 input_chk_name function.
public input_chk_name ( ) : void
return void

input_convert() public method

转换表单验证 input_convert function.
public input_convert ( ) : void
return void

input_edit_api() public method

api 编辑表单验证 input_edit_api function.
public input_edit_api ( ) : void
return void

input_forgot_verify() public method

忘记密码表单验证 input_forgot_verify function.
public input_forgot_verify ( ) : void
return void

input_get_by() public method

以 get 或 post 方式读取 input_get_by function.
public input_get_by ( string $str_method = "get" ) : void
$str_method string (default: "get")
return void

input_ids() public method

选择 input_ids function.
public input_ids ( ) : void
return void

input_ids_api() public method

public input_ids_api ( )

input_login_api() public method

api 登录表单验证 input_login_api function.
public input_login_api ( ) : void
return void

input_mail_api() public method

api 更换邮箱表单验证 input_mail_api function.
public input_mail_api ( ) : void
return void

input_refresh_api() public method

api 刷新访问口令表单验证 input_refresh_api function.
public input_refresh_api ( ) : void
return void

input_reg_api() public method

api 注册表单验证 input_reg_api function.
public input_reg_api ( ) : void
return void

input_submit() public method

表单验证 input_submit function.
public input_submit ( ) : void
return void

input_token_api() public method

api 验证访问口令 input_token_api function.
public input_token_api ( string $str_method = "get" ) : void
$str_method string (default: "get")
return void

mdl_alert_table() public method

修改表 mdl_alert_table function.
public mdl_alert_table ( ) : void
return void

mdl_column() public method

列出字段 mdl_column function.
public mdl_column ( ) : void
return void

mdl_confirm() public method

激活用户 mdl_confirm function.
public mdl_confirm ( mixed $num_userId ) : void
$num_userId mixed
return void

mdl_convert() public method

转换并导入数据库 mdl_convert function.
public mdl_convert ( ) : void
return void

mdl_count() public method

计数 mdl_count function.
public mdl_count ( array $arr_search = [] ) : void
$arr_search array (default: array())
return void

mdl_create_table() public method

创建表 mdl_create function.
public mdl_create_table ( ) : void
return void

mdl_create_view() public method

创建视图 mdl_create_view function.
public mdl_create_view ( ) : void
return void

mdl_del() public method

删除 mdl_del function.
public mdl_del ( mixed $_arr_userIds ) : void
$_arr_userIds mixed
return void

mdl_edit() public method

编辑 mdl_edit function.
public mdl_edit ( mixed $num_userId ) : void
$num_userId mixed
return void

mdl_forgot() public method

忘记密码 mdl_forgot function.
public mdl_forgot ( mixed $num_userId ) : void
$num_userId mixed
return void

mdl_import() public method

导入预览 mdl_import function.
public mdl_import ( ) : void
return void

mdl_list() public method

列出 mdl_list function.
public mdl_list ( mixed $num_no, integer $num_except, array $arr_search = [] ) : void
$num_no mixed
$num_except integer (default: 0)
$arr_search array (default: array())
return void

mdl_list_view() public method

从视图列出 mdl_list_view function.
public mdl_list_view ( array $arr_search = [] ) : void
$arr_search array (default: array())
return void

mdl_login() public method

登录 mdl_login function.
public mdl_login ( mixed $num_userId ) : void
$num_userId mixed
return void

mdl_mail() public method

修改邮箱 mdl_mail function.
public mdl_mail ( mixed $num_userId, mixed $str_mail ) : void
$num_userId mixed
$str_mail mixed
return void

mdl_read() public method

读取 mdl_read function.
public mdl_read ( mixed $str_user, string $str_by = "user_id", integer $num_notId ) : void
$str_user mixed
$str_by string (default: "user_id")
$num_notId integer (default: 0)
return void

mdl_read_api() public method

api 读取 mdl_read_api function.
public mdl_read_api ( mixed $str_user, string $str_by = "user_id", integer $num_notId ) : void
$str_user mixed
$str_by string (default: "user_id")
$num_notId integer (default: 0)
return void

mdl_refresh() public method

刷新访问口令 mdl_refresh function.
public mdl_refresh ( mixed $num_userId ) : void
$num_userId mixed
return void

mdl_status() public method

更新状态 mdl_status function.
public mdl_status ( mixed $str_status ) : void
$str_status mixed
return void

mdl_submit() public method

提交 mdl_submit function.
public mdl_submit ( string $str_userPass = "", string $str_userRand = "", $str_status = "" ) : void
$str_userPass string (default: "")
$str_userRand string (default: "")
return void

Property Details

$userStatus public_oe property

public $userStatus