PHP Class FeedTopModel, thinksns

Author: feebas ([email protected])
Inheritance: extends Model
显示文件 Open project: medz/thinksns-4

Protected Properties

Property Type Description
$_error
$tableName

Public Methods

Method Description
checkedFeedTop ( $uid, $feedId )
delFeedTop ( $uid, $feedId )
doAddFeedTop ( array $data ) : boolean 添加分享置顶数据
doDel ( $id )
doDelFeedTop ( $id ) : boolean 删除分享置顶操作
doEditFeedTop ( $id, $data )
doFeedTop ( $id )
getFeedTopList ( $type ) : array 获取分享置顶数据
setFeedTop ( $uid, $feedId )

Method Details

checkedFeedTop() public method

public checkedFeedTop ( $uid, $feedId )

delFeedTop() public method

public delFeedTop ( $uid, $feedId )

doAddFeedTop() public method

添加分享置顶数据
public doAddFeedTop ( array $data ) : boolean
$data array 广告位相关数据
return boolean 是否插入成功

doDel() public method

public doDel ( $id )

doDelFeedTop() public method

删除分享置顶操作
public doDelFeedTop ( $id ) : boolean
return boolean 是否删除广告位成功

doEditFeedTop() public method

public doEditFeedTop ( $id, $data )

doFeedTop() public method

public doFeedTop ( $id )

getFeedTopList() public method

获取分享置顶数据
public getFeedTopList ( $type ) : array
return array 广告位列表数据

setFeedTop() public method

public setFeedTop ( $uid, $feedId )

Property Details

$_error protected_oe property

protected $_error

$tableName protected_oe property

protected $tableName