IBOS open source
  • Namespace
  • Class

Namespaces

  • application
    • core
      • cache
        • driver
        • provider
      • components
      • controllers
      • engines
        • local
        • sae
      • model
      • modules
      • utils
      • widgets
    • modules
      • article
        • controllers
        • core
        • model
        • utils
      • calendar
        • controllers
        • model
        • utils
      • contact
        • controllers
        • model
        • utils
      • dashboard
        • controllers
        • model
        • utils
      • department
        • components
        • model
        • utils
      • diary
        • components
        • controllers
        • model
        • utils
        • widgets
      • email
        • controllers
        • core
        • model
        • utils
      • main
        • behaviors
        • components
        • controllers
        • model
        • utils
        • widgets
      • message
        • controllers
        • core
          • co
          • wx
            • callback
            • event
        • model
        • utils
      • mobile
        • components
        • controllers
        • utils
      • position
        • components
        • model
        • utils
      • recruit
        • components
        • controllers
        • core
        • model
        • utils
        • widgets
      • role
        • model
        • utils
      • user
        • components
        • controllers
        • model
        • utils
      • vote
        • components
        • controllers
        • model
        • utils
      • weibo
        • controllers
        • core
        • model
        • utils

Classes

  • BaseController
  • CommentController
  • DashboardController
  • HomeController
  • PersonalController
  • ShareController
  • TopicController

Class PersonalController

CController
Extended by application\core\controllers\Controller
Extended by application\modules\user\controllers\HomeBaseController
Extended by application\modules\weibo\controllers\PersonalController
Namespace: application\modules\weibo\controllers
Located at system/modules/weibo/controllers/PersonalController.php

Methods summary

public
# actionIndex( )

微博个人页

微博个人页

public
# actionLoadMore( )

TODO::loadmore与下面的loadnew方法皆从WeiboHomeController复制而来,写的时候暂时没有什么好的 分离方法,后期重构时要把这些改过来。 @banyan

TODO::loadmore与下面的loadnew方法皆从WeiboHomeController复制而来,写的时候暂时没有什么好的 分离方法,后期重构时要把这些改过来。 @banyan

public array
# actionLoadNew( )

显示最新微博

显示最新微博

Returns

array
最新微博信息、状态和提示
public
# actionLoadFollow( )

ajax加载关注与被关注

ajax加载关注与被关注

public
# actionGetRelation( )

ajax获取人际关系

ajax获取人际关系

public
# actionFeed( )

微博详细页

微博详细页

public
# actionFollower( )

粉丝列表

粉丝列表

public
# actionFollowing( )

关注列表

关注列表

protected array
# getFollowData( string $type, integer $offset, integer $limit )

获取关注数据

获取关注数据

Parameters

$type
是关注还是被关注 (following or follower)
$offset
分页偏移量
$limit
每页条数

Returns

array
一个符合列表输出的数组数据
protected array
# getRelation( string $type, integer $offset = 0, integer $limit = 4 )

获取查看人的人际关系

获取查看人的人际关系

Parameters

$type
人事关系类型
$offset
截取条数偏移量
$limit
截取条数

Returns

array
protected array
# getData( array $var )

个人页获取微博数据

个人页获取微博数据

Parameters

$var

Returns

array

Methods inherited from application\modules\user\controllers\HomeBaseController

getColleagues(), getCreditSidebar(), getHeader(), getIsMe(), getIsWeiboEnabled(), getUid(), getUser(), init()

Methods inherited from application\core\controllers\Controller

__construct(), actionError(), ajaxReturn(), error(), filterNotAuthModule(), filterRoutes(), getAssetUrl(), render(), setTitle(), showMessage(), success()

Constants summary

Constants inherited from application\core\controllers\Controller

DEFAULT_JSONP_HANDLER

Properties summary

Properties inherited from application\core\controllers\Controller

$layout

IBOS open source API documentation generated by ApiGen