PHP Class MODEL_BELONG

Show file Open project: baigoStudio/baigoSSO Class Usage Examples

Public Methods

Method Description
__construct ( )
mdl_alert_table ( ) : void 修改表 mdl_alert_table function.
mdl_column ( ) : void 列出字段 mdl_column function.
mdl_count ( array $arr_search = [] ) : void 计数 mdl_count function.
mdl_create_table ( ) : void 创建表 mdl_create function.
mdl_del ( integer $num_appId, integer $num_userId, boolean $arr_appIds = false, boolean $arr_userIds = false, boolean $arr_notAppIds = false, boolean $arr_notUserIds = false ) : void 删除 mdl_del function.
mdl_list ( mixed $num_no, integer $num_except, array $arr_search = [] ) : void 列出 mdl_list function.
mdl_read ( integer $num_userId, integer $num_appId ) : void 读取 mdl_read function.
mdl_submit ( mixed $num_userId, mixed $num_appId ) : void 提交 mdl_submit function.

Private Methods

Method Description
sql_process ( array $arr_search = [] ) : void 列出及统计 SQL 处理 sql_process function.

Method Details

__construct() public method

public __construct ( )

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_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_del() public method

删除 mdl_del function.
public mdl_del ( integer $num_appId, integer $num_userId, boolean $arr_appIds = false, boolean $arr_userIds = false, boolean $arr_notAppIds = false, boolean $arr_notUserIds = false ) : void
$num_appId integer (default: 0)
$num_userId integer (default: 0)
$arr_appIds boolean (default: false)
$arr_userIds boolean (default: false)
$arr_notAppIds boolean (default: false)
$arr_notUserIds boolean (default: false)
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_read() public method

读取 mdl_read function.
public mdl_read ( integer $num_userId, integer $num_appId ) : void
$num_userId integer (default: 0)
$num_appId integer (default: 0)
return void

mdl_submit() public method

提交 mdl_submit function.
public mdl_submit ( mixed $num_userId, mixed $num_appId ) : void
$num_userId mixed
$num_appId mixed
return void