Class CalendarController
Calendar lets you create calendar events, view actions from other modules, and sync to google calendar.
- CComponent
- CBaseController
- CController
- X2Controller
- x2base
- CalendarController
Package: application\modules\calendar\controllers
Located at x2engine/protected/modules/calendar/controllers/CalendarController.php
Located at x2engine/protected/modules/calendar/controllers/CalendarController.php
public
array
|
#
accessRules( )
Returns the access rules for this controller. Override this method if you use the filterAccessControl accessControl filter. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
array
|
|
public
|
|
public
|
#
actionEditAction( )
Ajax requests call this function, which returns a form filled with the event
data. |
public
|
#
actionViewAction( )
Ajax requests call this function, which returns read only action data. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
#
calendarActions( string|integer $calendarUser, type $start, type $end )
Retrieve calendar events for a given user happening between two specified dates. |
public
type
|
|
public
|
#
insertMenu( array $selectOptions = array(),
Create a menu for the Calendar |
__construct(),
afterAction(),
afterRender(),
beforeRender(),
clearPageStates(),
createAbsoluteUrl(),
createAction(),
createActionFromMap(),
createUrl(),
filterAccessControl(),
filterAjaxOnly(),
filterPostOnly(),
forward(),
getAction(),
getActionParams(),
getCachingStack(),
getClips(),
getId(),
getLayoutFile(),
getModule(),
getPageState(),
getRoute(),
getUniqueId(),
getViewFile(),
getViewPath(),
init(),
invalidActionParams(),
isCachingStackEmpty(),
loadPageStates(),
missingAction(),
processDynamicOutput(),
processOutput(),
recordCachingAction(),
redirect(),
refresh(),
renderClip(),
renderDynamic(),
renderDynamicInternal(),
renderPartial(),
renderText(),
replaceDynamicOutput(),
run(),
runAction(),
runActionWithFilters(),
savePageStates(),
setAction(),
setPageState()
|
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderFile(),
renderInternal()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
STATE_INPUT_NAME
|
public
string
|
$modelClass | 'X2Calendar' |
|
public
mixed
|
$calendarUsers | null |
|
public
mixed
|
$groupCalendars | null |
|
public
mixed
|
$sharedCalendars | null |
|
public
mixed
|
$googleCalendars | null |
|
public
mixed
|
$calendarFilter | null |
$actionMenu,
$breadcrumbs,
$layout,
$leftPortlets,
$leftWidgets,
$menu,
$noBackdrop,
$portlets
|
$defaultAction
|
public
|
$currentUser |
#
The currently logged-in user who is accessing the calendar |
$action,
$actionParams,
$cachingStack,
$clips,
$id,
$module,
$pageTitle,
$route,
$uniqueId,
$viewPath
|