\Userfollow_model

我的关注

Summary

Methods
Properties
Constants
__construct()
__get()
_sql()
getMyfollowCount()
insertData()
getUserFollowRow()
setUserFollowByID()
getMyFollowUserId()
getMyFollowUserList()
getMyFollowUserCount()
getMyFollowAddUserCount()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$table
$DB
N/A

Properties

$table

$table : 

Type

$DB

$DB : 

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

_sql()

_sql(  $sql) 

Parameters

$sql

getMyfollowCount()

getMyfollowCount(  $userId) 

关注我的人 (粉丝)

Parameters

$userId

insertData()

insertData(  $followData) 

添加

Parameters

$followData

getUserFollowRow()

getUserFollowRow(  $userId,   $followUserId) 

获取单条数据

Parameters

$userId
$followUserId

setUserFollowByID()

setUserFollowByID(  $updateData,   $followId) 

修改

Parameters

$updateData
$followId

getMyFollowUserId()

getMyFollowUserId(  $userId) 

获取我关注的人

Parameters

$userId

getMyFollowUserList()

getMyFollowUserList(  $type,   $userId,   $limit = 10,   $start) 

获取我关注的人

Parameters

$type
$userId
$limit
$start

getMyFollowUserCount()

getMyFollowUserCount(  $type,   $userId) 

Parameters

$type
$userId

getMyFollowAddUserCount()

getMyFollowAddUserCount(  $type,   $userId) 

获取我的粉丝新加的数量

Parameters

$type
$userId