PHP Class FeedDiggModel, thinksns

Inheritance: extends Model
Exibir arquivo Open project: medz/thinksns-4

Public Properties

Property Type Description
$tableName

Protected Properties

Property Type Description
$fields

Public Methods

Method Description
addDigg ( $feed_id, $mid )
checkIsDigg ( $feed_ids, $uid ) : array 返回指定用户是否赞了指定的分享
delDigg ( $feed_id, $mid )
getDiggList ( unknown_type $map, unknown_type $page = true, unknown_type $limit = 20 ) : unknown 返回赞列表
getDiggListPage ( $map, $limit = 20 )
getDiggUser ( $map, $page = true, $limit = 20 ) 返回赞过的用户列表
getLastError ( )

Private Methods

Method Description
setDiggCache ( $uid, $feedId, $type = 'add' )

Method Details

addDigg() public method

public addDigg ( $feed_id, $mid )

checkIsDigg() public method

返回指定用户是否赞了指定的分享
public checkIsDigg ( $feed_ids, $uid ) : array
return array

delDigg() public method

public delDigg ( $feed_id, $mid )

getDiggList() public method

返回赞列表
public getDiggList ( unknown_type $map, unknown_type $page = true, unknown_type $limit = 20 ) : unknown
$map unknown_type
$page unknown_type -- 是否分页
$limit unknown_type --分页代表每页条数 不分页表示查询条数
return unknown

getDiggListPage() public method

public getDiggListPage ( $map, $limit = 20 )

getDiggUser() public method

返回赞过的用户列表
public getDiggUser ( $map, $page = true, $limit = 20 )

getLastError() public method

public getLastError ( )

Property Details

$fields protected_oe property

protected $fields

$tableName public_oe property

public $tableName