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
  • DashboardController
  • LoopController
  • ScheduleController
  • TaskController

Class BaseController

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

Direct known subclasses

application\modules\calendar\controllers\LoopController, application\modules\calendar\controllers\ScheduleController, application\modules\calendar\controllers\TaskController

Indirect known subclasses

application\modules\mobile\controllers\CalendarController

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

Methods summary

public
# __set( $name, $value )
public
# __get( $name )
public
# init( )

检测是否需要更改密码

检测是否需要更改密码

Overrides

application\core\controllers\Controller::init
protected
# getSidebar( )

取得侧栏视图

取得侧栏视图

protected string
# getSubSidebar( )

下属侧栏视图

下属侧栏视图

Returns

string
protected array
# getCalendarViewFormat( string $showDate, string $viewType = 'week' )

取得(日/周/月)视图

取得(日/周/月)视图

Parameters

$showDate
日历控件传递过来的日期
$viewType
日历控件传递过来需要显示的视图类型(日、周、月)

Returns

array
返回开始和结束时间
protected integer
# createSubCalendar( $masterid, $mastertime, $starttime, $endtime, $subject, $category, $status = 0 )

创建周期性事务实例

创建周期性事务实例

Parameters

$masterid
周期性事务的ID
$mastertime
要实例的事务原日期时间戳,如:在12-01号的一个周期性事务,要把它实例,那它的mastertime就是12-01的时间戳
$starttime
开始时间戳
$endtime
结束时间戳
$subject
结束字符串
$category
事务类型
$status
完成状态,默认为0

Returns

integer
实例事务的ID
protected array
# removeLoopCalendar( integer $id, integer $type, string $doption, string $starttime )

删除周期性事务

删除周期性事务

Parameters

$id
事务ID
$type
事务类型(周期或者实例)
$doption
周期类型
$starttime
$strattime 事务的开始时间

Returns

array
返回状态
protected boolean
# checkIsMe( )

判断是否是查看自己

判断是否是查看自己

Returns

boolean
protected boolean
# checkAddPermission( )

检查是否有添加日程权限

检查是否有添加日程权限

Returns

boolean
protected boolean
# checkEditPermission( )

检查是否有编辑日程权限

检查是否有编辑日程权限

Returns

boolean
protected boolean
# checkTaskPermission( )

检查是否有编辑任务权限

检查是否有编辑任务权限

Returns

boolean

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