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

  • DefaultController
  • HomeBaseController
  • HomeController
  • InfoController
  • SkinController

Class HomeBaseController

CController
Extended by application\core\controllers\Controller
Extended by application\modules\user\controllers\HomeBaseController

Direct known subclasses

application\modules\user\controllers\HomeController, application\modules\user\controllers\SkinController, application\modules\weibo\controllers\PersonalController

Namespace: application\modules\user\controllers
Located at system/modules/user/controllers/HomeBaseController.php

Methods summary

public
# init( )

初始化当前用户ID及是否本人标识

初始化当前用户ID及是否本人标识

Overrides

application\core\controllers\Controller::init
public boolean
# getIsMe( )

是否本人访问

是否本人访问

Returns

boolean
public boolean
# getIsWeiboEnabled( )

查看微博模块是否有启用,未启用则不显示tab

查看微博模块是否有启用,未启用则不显示tab

Returns

boolean
public integer
# getUid( )

获取当前uid

获取当前uid

Returns

integer
public array
# getUser( )

获取当前用户资料

获取当前用户资料

Returns

array
public type
# getCreditSidebar( array $lang = array() )

积分栏目获取sidebar

积分栏目获取sidebar

Parameters

$lang

Returns

type
public string
# getHeader( $lang = array() )

公共头部获取,用于视图

公共头部获取,用于视图

Returns

string
公共头部HTML
public array
# getColleagues( array $user, $includeMe = true )

获取部门同事

获取部门同事

Parameters

$user
$includeMe

Returns

array

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