PHP Class IndexAction, thinksns

Inheritance: extends Action
Exibir arquivo Open project: medz/thinksns-4 Class Usage Examples

Public Methods

Method Description
_initialize ( )
addPostDigg ( )
announcement ( ) 公告详细页面
announcementList ( ) 公告列表页面
apply_weiba ( )
apply_weiba_admin ( ) 申请成为圈主或小主
apply_weiba_admin_box ( )
apply_weiba_box ( )
can_apply_weiba ( ) : boolean 判断是否达到申请微吧的条件
can_apply_weiba_admin ( ) 检查是否有申请资格
catelist ( ) 刷新catelist
changeRelate ( ) : json 换一换数据处理
checkPost ( ) : boolean 检查发帖权限
checkWeibaStatus ( ) 检查微吧 权限
contributeBox ( ) 投稿发布框
delPostDigg ( )
detail ( ) 微吧详情页
doAdd ( )
doFollow ( ) : json 添加关注操作
doFollowWeiba ( ) 关注微吧
doPost ( ) 执行发布帖子
doPostEdit ( ) 执行编辑帖子
do_apply_weiba ( )
do_apply_weiba_admin ( ) 执行申请成为圈主或小主
favorite ( ) 收藏帖子
feedback ( ) 意见反馈页面
fixed ( )
follower ( ) 我的粉丝页面
following ( ) 我的关注页面
found ( ) 创建微吧
getCategoryData ( ) 获取分类数据列表
getMessage ( ) : [type] 老版消息弹出框
getNetworkList ( ) : array 获取指定父分类的树形结构
getTags ( ) : json 自动提取标签操作
index ( ) 频道首页页面
is_follow ( $weiba_id ) 是否加入微吧判断
joinWeiba ( ) 弹窗加入微吧
loadMoreShowTalk ( )
loginWithoutInit ( )
messageBox ( ) 消息弹出层
messageContent ( $type ) 消息弹出层内容获取
messagePage ( $html ) 重写消息分页链接
myFeed ( ) 我的分享页面
myWeiba ( ) 我的微吧
post ( ) 发布帖子
postDel ( ) 删除帖子
postDetail ( ) 帖子详情页
postEdit ( ) 编辑帖子
postList ( ) 帖子列表
postSet ( ) 设置帖子类型(置顶或精华)
quickPost ( )
search ( ) 搜索微吧或帖子
sendFeedBox ( ) 弹窗发布分享
showFaceCard ( ) : string 获取指定用户小名片所需要的数据
showTalkBox ( )
unFollow ( ) : json 添加关注操作
unFollowWeiba ( ) 取消关注微吧
unfavorite ( ) 取消收藏帖子
updatetotal ( )
verify ( ) 获取验证码图片操作
weibaList ( ) 微吧列表

Private Methods

Method Description
_assignFollowState ( $weiba_ids ) 获取uid与微吧的关注状态
_assignFollowUidState ( array $fids = null ) 批量获取用户uid与一群人fids的彼此关注状态
_assignUserInfo ( string | array $uids ) 批量获取用户的相关信息加载
_assignUserTag ( $uids ) 根据指定应用和表获取指定用户的标签,同个人空间中用户标签
_getWeibaName ( $weiba_ids )
_postList ( ) 帖子列表
_post_list ( $post_type, $limit ) 帖子列表
_post_recommend ( $limit ) 热帖推荐
_weibaOrder ( ) 微吧排行榜
_weiba_daren ( $weibaid ) 微吧达人
_weiba_darens ( $weibaid ) 微吧掌柜
_weiba_recommend ( $limit = 9, $width = 100, $height = 100 ) 微吧推荐
getUserAttachData ( $uid, $limit = 4, $page = 1 )
index_post_list ( $post_type, $p ) 帖子列表

Method Details

_initialize() public method

public _initialize ( )

addPostDigg() public method

public addPostDigg ( )

announcement() public method

公告详细页面
public announcement ( )

announcementList() public method

公告列表页面
public announcementList ( )

apply_weiba() public method

public apply_weiba ( )

apply_weiba_admin() public method

申请成为圈主或小主
public apply_weiba_admin ( )

apply_weiba_admin_box() public method

apply_weiba_box() public method

public apply_weiba_box ( )

can_apply_weiba() public method

判断是否达到申请微吧的条件
public can_apply_weiba ( ) : boolean
return boolean

can_apply_weiba_admin() public method

检查是否有申请资格

catelist() public method

刷新catelist
public catelist ( )

changeRelate() public method

换一换数据处理
public changeRelate ( ) : json
return json 渲染页面所需的JSON数据

checkPost() public method

检查发帖权限
public checkPost ( ) : boolean
return boolean 是否有发帖权限 0:否 1:是

checkWeibaStatus() public method

检查微吧 权限
public checkWeibaStatus ( )

contributeBox() public method

投稿发布框
public contributeBox ( )

delPostDigg() public method

public delPostDigg ( )

detail() public method

微吧详情页
public detail ( )

doAdd() public method

public doAdd ( )

doFollow() public method

添加关注操作
public doFollow ( ) : json
return json 返回操作后的JSON信息数据

doFollowWeiba() public method

关注微吧
public doFollowWeiba ( )

doPost() public method

执行发布帖子
public doPost ( )

doPostEdit() public method

执行编辑帖子
public doPostEdit ( )

do_apply_weiba() public method

public do_apply_weiba ( )

do_apply_weiba_admin() public method

执行申请成为圈主或小主

favorite() public method

收藏帖子
public favorite ( )

feedback() public method

意见反馈页面
public feedback ( )

fixed() public method

public fixed ( )

follower() public method

我的粉丝页面
public follower ( )

following() public method

我的关注页面
public following ( )

found() public method

创建微吧
public found ( )

getCategoryData() public method

获取分类数据列表
public getCategoryData ( )

getMessage() public method

老版消息弹出框
public getMessage ( ) : [type]
return [type]

getNetworkList() public method

获取指定父分类的树形结构
public getNetworkList ( ) : array
return array $pid 父分类ID

getTags() public method

自动提取标签操作
public getTags ( ) : json
return json 返回操作后的JSON信息数据

index() public method

频道首页页面
public index ( )

is_follow() public method

是否加入微吧判断
public is_follow ( $weiba_id )

joinWeiba() public method

弹窗加入微吧
public joinWeiba ( )

loadMoreShowTalk() public method

public loadMoreShowTalk ( )

loginWithoutInit() public method

public loginWithoutInit ( )

messageBox() public method

消息弹出层
public messageBox ( )

messageContent() public method

消息弹出层内容获取
public messageContent ( $type )

messagePage() public method

重写消息分页链接
public messagePage ( $html )

myFeed() public method

我的分享页面
public myFeed ( )

myWeiba() public method

我的微吧
public myWeiba ( )

post() public method

发布帖子
public post ( )

postDel() public method

删除帖子
public postDel ( )

postDetail() public method

帖子详情页
public postDetail ( )

postEdit() public method

编辑帖子
public postEdit ( )

postList() public method

帖子列表
public postList ( )

postSet() public method

设置帖子类型(置顶或精华)
public postSet ( )

quickPost() public method

public quickPost ( )

sendFeedBox() public method

弹窗发布分享
public sendFeedBox ( )

showFaceCard() public method

获取指定用户小名片所需要的数据
public showFaceCard ( ) : string
return string 指定用户小名片所需要的数据

showTalkBox() public method

public showTalkBox ( )

unFollow() public method

添加关注操作
public unFollow ( ) : json
return json 返回操作后的JSON信息数据

unFollowWeiba() public method

取消关注微吧
public unFollowWeiba ( )

unfavorite() public method

取消收藏帖子
public unfavorite ( )

updatetotal() public method

public updatetotal ( )

verify() public method

获取验证码图片操作
public verify ( )

weibaList() public method

微吧列表
public weibaList ( )