\Invite_model

Model Class

Summary

Methods
Properties
Constants
__construct()
__get()
getsigninfoByuserId()
insertData()
updata()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$table
N/A

Properties

$table

$table : 

Type

Methods

__construct()

__construct() : void

Class constructor

__get()

__get(string  $key) 

__get magic

Allows models to access CI's loaded classes using the same syntax as controllers.

Parameters

string $key

getsigninfoByuserId()

getsigninfoByuserId(\unknown  $userId) 

通过userId得到用户的签到信息

Parameters

\unknown $userId

insertData()

insertData(\unknown  $param) : \unknown

插入到签到表里面

Parameters

\unknown $param

Returns

\unknown

updata()

updata(\unknown  $data = array(), \number  $id) 

修改签到信息

Parameters

\unknown $data
\number $id