\Usercollection_model

我的收藏

Summary

Methods
Properties
Constants
__construct()
__get()
insertData()
getCollectionCount()
getCollectionRow()
getUserCollectionList()
getUserCollectionCount()
delete()
getUserCollectionRow()
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

insertData()

insertData(  $userData) 

添加

Parameters

$userData

getCollectionCount()

getCollectionCount(  $listId,   $typeFlag) 

统计论坛收藏的次数

Parameters

$listId
$typeFlag

getCollectionRow()

getCollectionRow(  $listId,   $userId,   $typeFlag) 

获取单条数据

Parameters

$listId
$userId
$typeFlag

getUserCollectionList()

getUserCollectionList(  $typeFlag = '',   $userId,   $limit,   $start) 

获取收藏的数据

Parameters

$typeFlag
$userId
$limit
$start

getUserCollectionCount()

getUserCollectionCount(  $typeFlag = '',   $userId) 

Parameters

$typeFlag
$userId

delete()

delete(  $collectId) 

删除

Parameters

$collectId

getUserCollectionRow()

getUserCollectionRow(  $collectionId) 

获取单条数据

Parameters

$collectionId