\eapie\source\table\useruser_follow

Summary

Methods
Properties
Constants
insert()
update()
delete()
remove()
get_unique_id()
get_module()
get_module_table()
get_module_key()
find()
find_where()
select()
get_count()
check_module()
$check
CACHE_KEY
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

CACHE_KEY

CACHE_KEY = array(__CLASS__) : string

缓存的键列表

Properties

$check

$check : array

数据检测

Type

array

Methods

insert()

insert(  $data = array(),   $call_data = array()) 

Parameters

$data
$call_data

update()

update(  $where = array(),   $data = array(),   $call_data = array()) 

Parameters

$where
$data
$call_data

delete()

delete(  $call_where = array()) 

Parameters

$call_where

remove()

remove(  $user_follow_id = '') 

Parameters

$user_follow_id

get_unique_id()

get_unique_id() : string

获取一个id号

Returns

string

get_module()

get_module() : array

获取模块标签列表

Returns

array

get_module_table()

get_module_table() : array

获取模块数据类列表 模块处理类。用于检测主键

Returns

array

get_module_key()

get_module_key(string  $module, string  $key) : boolean

根据模块、主键,获取关注数据

Parameters

string $module
string $key

Returns

boolean

find()

find(array  $user_follow_id = '') : array

获取一条记录,根据主键ID

Parameters

array $user_follow_id

Returns

array

find_where()

find_where(array  $call_where = array()) : array

查一条记录,根据条件

Parameters

array $call_where

查询条件

Returns

array

select()

select(array  $config = array()) : array

获取多个数据 $config = array( 'where' => array(), //条件 'orderby' => array(), //排序 'limit' => array(0, page_size), //取出条数,默认不限制 );

Parameters

array $config

Returns

array

get_count()

get_count(array  $call_where) : integer

查询关注数量

Parameters

array $call_where

[查询条件]

Returns

integer

check_module()

check_module(string  $module) : boolean

检测模块标签

Parameters

string $module

Returns

boolean