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

  • AttentionController
  • BaseController
  • CommentController
  • DashboardController
  • DefaultController
  • ReviewController
  • ShareController
  • StatsController

Class BaseController

CController
Extended by application\core\controllers\Controller
Extended by application\modules\diary\controllers\BaseController

Direct known subclasses

application\modules\diary\controllers\AttentionController, application\modules\diary\controllers\DefaultController, application\modules\diary\controllers\ReviewController, application\modules\diary\controllers\ShareController, application\modules\diary\controllers\StatsController

Namespace: application\modules\diary\controllers
Copyright: Copyright © 2008-2013 IBOS Inc
Author: gzwwb gzwwb@ibos.com.cn
Located at system/modules/diary/controllers/BaseController.php

Methods summary

public array
# getDiaryConfig( )

获取日志模块后台设置

获取日志模块后台设置

Returns

array
public
# getUnreviews( type $uid,… )

获取未评阅的数量

获取未评阅的数量

Parameters

$uid,…
上司UID
protected
# getAjaxSidebar( )

通过ajax取得侧栏日历数据

通过ajax取得侧栏日历数据

protected array
# getSidebarData( )

通过日历数据

通过日历数据

Returns

array
protected string
# getSidebar( )

取得侧栏视图

取得侧栏视图

Returns

string
protected array
# getStamp( )

获取后台勾选的图章

获取后台勾选的图章

Returns

array
返回后台选中好的图章
protected
# issetStamp( )

检查是否开启图章功能

检查是否开启图章功能

protected boolean
# issetAutoReview( )

检查是否开启自动评阅

检查是否开启自动评阅

Returns

boolean
protected boolean
# issetAttention( )

检查是否开启关注功能

检查是否开启关注功能

Returns

boolean
protected boolean
# issetShare( )

检查是否开启共享功能

检查是否开启共享功能

Returns

boolean
protected boolean
# issetSharecomment( )

检查是否开启允许点评共享日志

检查是否开启允许点评共享日志

Returns

boolean
protected integer
# getAutoReviewStamp( )

获取自动评阅的图章id

获取自动评阅的图章id

Returns

integer
protected integer
# getIsAllowComment( string $controller, integer $uid, array $diary )

获得uid在各个控制器是否有评论权限

获得uid在各个控制器是否有评论权限

Parameters

$controller
$uid
$diary

Returns

integer
protected
# search( )

搜索操作

搜索操作

protected boolean
# checkIsHasSub( )

判断是否有下属

判断是否有下属

Returns

boolean

Methods inherited from application\core\controllers\Controller

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

Constants summary

integer COMPLETE_FALG
# 10
integer UNSTART_FALG
# 0

Constants inherited from application\core\controllers\Controller

DEFAULT_JSONP_HANDLER

Properties summary

protected string $_condition

查询条件

查询条件

#

Properties inherited from application\core\controllers\Controller

$layout

IBOS open source API documentation generated by ApiGen