CalendarsDefaultController Class Reference

Inheritance diagram for CalendarsDefaultController:
ZurmoModuleController ZurmoBaseController Controller

Public Member Functions

 filters ()
 actionDetails ($id=null)
 actionCreate ()
 actionEdit ($id)
 actionCombinedDetails ()
 actionRelationsAndAttributesTree ($type, $treeType, $id=null, $nodeId=null)
 actionAddAttributeFromTree ($type, $treeType, $nodeId, $rowNumber, $trackableStructurePosition=false, $id=null)
 actionGetEvents ($selectedMyCalendarIds=null, $selectedSharedCalendarIds=null, $startDate=null, $endDate=null, $dateRangeType=null)
 actionDelete ($id)
 actionModalList ()
 actionAddSubsriptionForCalendar ($id)
 actionUnsubscribe ($id)
 actionGetDateTimeAttributes ($moduleName, $attribute)
 actionGetDayEvents ($selectedMyCalendarIds=null, $selectedSharedCalendarIds=null, $startDate=null, $endDate=null, $dateRangeType=null)
 actionGetCalendarItemDetail ($modelClass, $modelId)
 actionOrgGraph ()

Protected Member Functions

 processEdit (SavedCalendar $calendar)
 attemptToValidateAjaxFromPost ($model, $postVariableName)

Static Protected Member Functions

static getZurmoControllerUtil ()

Detailed Description

Definition at line 37 of file DefaultController.php.


Member Function Documentation

filters (  ) 
Returns:
array

Reimplemented from ZurmoBaseController.

Definition at line 42 of file DefaultController.php.

actionDetails ( id = null  ) 

Redirect to combined details view for calendar.

Parameters:
int $id

Definition at line 65 of file DefaultController.php.

actionCreate (  ) 

Create the calendar.

Definition at line 74 of file DefaultController.php.

actionEdit ( id  ) 

Edit the calendar.

Parameters:
int $id

Definition at line 102 of file DefaultController.php.

processEdit ( SavedCalendar calendar  )  [protected]

Process edit of the calendar.

Parameters:
SavedCalendar $calendar

Definition at line 113 of file DefaultController.php.

actionCombinedDetails (  ) 

Combined details for the calendar.

Definition at line 135 of file DefaultController.php.

actionRelationsAndAttributesTree ( type,
treeType,
id = null,
nodeId = null 
)

Render relations and attributes tree

Parameters:
string $type
string $treeType
int $id
string $nodeId

Definition at line 151 of file DefaultController.php.

actionAddAttributeFromTree ( type,
treeType,
nodeId,
rowNumber,
trackableStructurePosition = false,
id = null 
)

Add attribute from tree.

Parameters:
string $type
string $treeType
string $nodeId
int $rowNumber
boolean $trackableStructurePosition
int $id

Definition at line 178 of file DefaultController.php.

attemptToValidateAjaxFromPost ( model,
postVariableName 
) [protected]

Override to handle report filters

Parameters:
SavedCalendar | ModelForm $model
string $postVariableName
Exceptions:
NotSupportedException(); 

Reimplemented from Controller.

Definition at line 192 of file DefaultController.php.

actionGetEvents ( selectedMyCalendarIds = null,
selectedSharedCalendarIds = null,
startDate = null,
endDate = null,
dateRangeType = null 
)

Get events for the selected calendars.

Parameters:
string $selectedMyCalendarIds
string $selectedSharedCalendarIds
string $startDate
string $endDate
string $dateRangeType

Definition at line 244 of file DefaultController.php.

actionDelete ( id  ) 

Deletes a calendar.

Parameters:
string $id

Definition at line 292 of file DefaultController.php.

actionModalList (  ) 

Renders modal list for the shared calendars for the user.

Definition at line 307 of file DefaultController.php.

actionAddSubsriptionForCalendar ( id  ) 

Add subscription for calendar.

Parameters:
int $id

Definition at line 321 of file DefaultController.php.

actionUnsubscribe ( id  ) 

Remove the subscription for the calendar.

Parameters:
int $id

Definition at line 340 of file DefaultController.php.

actionGetDateTimeAttributes ( moduleName,
attribute 
)

Get date time attributes.

Parameters:
string $moduleName
string $attribute

Definition at line 356 of file DefaultController.php.

static getZurmoControllerUtil (  )  [static, protected]

Get Zurmo controller util.

Returns:
CalendarZurmoControllerUtil

Reimplemented from ZurmoBaseController.

Definition at line 373 of file DefaultController.php.

actionGetDayEvents ( selectedMyCalendarIds = null,
selectedSharedCalendarIds = null,
startDate = null,
endDate = null,
dateRangeType = null 
)

Get events for the selected calendars.

Parameters:
string $selectedMyCalendarIds
string $selectedSharedCalendarIds
string $startDate
string $endDate
string $dateRangeType

Definition at line 386 of file DefaultController.php.

actionGetCalendarItemDetail ( modelClass,
modelId 
)

Get event details in the calendar.

Parameters:
string $modelClass
string $modelId

Definition at line 427 of file DefaultController.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Aug 18 07:10:24 2017