Class Feed
- CActiveRecord
-
application\core\model\Model
-
application\modules\message\model\Feed
Methods summary
public static
|
|
public
|
|
public
array
|
|
public
array
|
|
public
array
|
#
getFollowingFeed( string $where = '', integer $limit = 10, integer $offset = 0, integer $uid = '' )
获取指定用户所关注人的所有微博,默认为当前登录用户 |
public
integer
|
|
public
mixed
|
|
public
array
|
|
public
mixed
|
#
put( integer $uid, string $module = 'weibo', string $type = '', array $data = array(), integer $rowid = 0, string $table = 'feed', array $extUid = null, array $lessUids = null, boolean $isAtMe = true, integer $isRepost = 0 , string $url,…, string $detail,… )
添加动态 |
public
array
|
|
public
array
|
|
public
array
|
|
public
|
|
public
integer
|
#
countSearchFeeds( string $key, string $feedType = null, integer $sTime = 0, integer $eTime = 0 )
统计要查询的feed数量 |
public
integer
|
|
public
integer
|
#
countSearchAll( string $key, integer $loadId, string $feedtype = '', integer $uid = 0 )
统计查询的所有微博数 |
public
string
|
#
countSearchMovement( string $key, integer $loadId, string $feedtype = '', integer $uid = 0 )
统计查询的动态微博数 |
public
array
|
#
searchFeed( string $key, string $type, integer $loadId, integer $limit, integer $offset, string $feedtype = '', $uid = 0 )
搜索微博 |
public
array
|
#
searchFeeds( string $key, string $feedType = null, integer $limit = 10, integer $offset = 0, integer $sTime = 0, integer $eTime = 0 )
数据库搜索微博 |
public
array
|
Methods inherited from application\core\model\Model
add()
,
beforeDelete()
,
create()
,
deleteByPk()
,
fetch()
,
fetchAll()
,
fetchAllByAttributes()
,
fetchAllByPk()
,
fetchAllSortByPk()
,
fetchByAttributes()
,
fetchByPk()
,
fetchCache()
,
fetchCaches()
,
getCacheKey()
,
getIsAllowCache()
,
getMaxId()
,
getModelClass()
,
init()
,
modify()
,
remove()
,
updateAll()
,
updateByPk()