CalendarAjax extends Controller
Class CalendarAjax
Table of Contents
Constants
- ERROR_REQUIRED_PARAMETER = 'MAIN_CONTROLLER_22001'
- ERROR_UNKNOWN_ACTION = 'MAIN_CONTROLLER_22002'
- EVENT_EDIT_FORM_FIELDS_THAT_CAN_BE_HIDDEN = ['repeatRule' => 'rrule', 'crm' => 'crm', 'accessibility' => 'accessibility']
- EVENT_ON_AFTER_ACTION = 'onAfterAction'
- EVENT_ON_BEFORE_ACTION = 'onBeforeAction'
- EXCEPTION_UNKNOWN_ACTION = 22002
- SCOPE_AJAX = 'ajax'
- SCOPE_CLI = 'cli'
- SCOPE_REST = 'rest'
Methods
- __construct() : mixed
- Constructor Controller.
- analyticalAction() : void
- changeRecurciveEntryUntilAction() : mixed
- className() : string
- Returns the fully qualified name of this class.
- configureActions() : array<string|int, mixed>
- convertKeysToCamelCase() : array<string|int, mixed>|mixed|string
- Converts keys of array to camel case notation.
- deleteCalendarEntryAction() : mixed
- deleteCalendarSectionAction() : mixed
- editCalendarSectionAction() : mixed
- excludeRecursionDateAction() : mixed
- finalizeResponse() : void
- Finalizes response.
- forward() : HttpResponse|mixed
- generateActionMethodName() : string
- getActionUri() : Uri
- Returns uri for ajax end point for the action name. It's a helper, which uses relative action name without controller name.
- getAllowedMailboxDataAction() : mixed
- getAllowedMailboxListAction() : mixed
- getAutoWiredParameters() : array<string|int, Parameter>
- getCompactFormDataAction() : mixed
- getConferenceChatIdAction() : mixed
- getConfigurationOfActions() : array<string|int, mixed>|null
- getCrmUserfieldAction() : mixed
- getCurrentUser() : CurrentUser
- getDefaultAutoWiredParameters() : array<string|int, Parameter>
- getEditEventSliderAction() : mixed
- getErrorByCode() : Error
- Getting once error with the necessary code.
- getErrors() : array<string|int, Error>
- Getting array of errors.
- getFilterDataAction() : mixed
- getFullEventName() : string
- getModuleId() : string
- Returns module id.
- getPlannerAction() : mixed
- getPrimaryAutoWiredParameter() : Parameter|null
- getRequest() : HttpRequest
- getScope() : string
- getSectionListAction() : array<string|int, mixed>
- getSettingsSliderAction() : mixed
- getSourceParametersList() : array<string|int, mixed>
- getSyncInfoAction() : mixed
- getTimezoneListAction() : mixed
- getTrackingSectionsAction() : mixed
- getUnsignedParameters() : mixed
- getViewEventSliderAction() : mixed
- hideExternalCalendarSectionAction() : mixed
- isLocatedUnderPsr4() : bool
- listNameActions() : array<string|int, mixed>
- Returns list of all
- redirectTo() : Redirect
- Redirect to URL.
- run() : HttpResponse|mixed
- saveSettingsAction() : void
- sendAnalyticsLabelAction() : mixed
- setCurrentUser() : void
- setMeetingStatusAction() : mixed
- setScope() : Controller
- setSectionStatusAction() : mixed
- setSourceParametersList() : Controller
- setTrackingSectionsAction() : mixed
- updateColorAction() : mixed
- updateCountersAction() : array<string|int, mixed>
- updateDefaultSectionIdAction() : void
- updatePlannerAction() : mixed
- updateRemindersAction() : mixed
Constants
ERROR_REQUIRED_PARAMETER
public
mixed
ERROR_REQUIRED_PARAMETER
= 'MAIN_CONTROLLER_22001'
ERROR_UNKNOWN_ACTION
public
mixed
ERROR_UNKNOWN_ACTION
= 'MAIN_CONTROLLER_22002'
EVENT_EDIT_FORM_FIELDS_THAT_CAN_BE_HIDDEN
public
mixed
EVENT_EDIT_FORM_FIELDS_THAT_CAN_BE_HIDDEN
= ['repeatRule' => 'rrule', 'crm' => 'crm', 'accessibility' => 'accessibility']
EVENT_ON_AFTER_ACTION
public
mixed
EVENT_ON_AFTER_ACTION
= 'onAfterAction'
EVENT_ON_BEFORE_ACTION
public
mixed
EVENT_ON_BEFORE_ACTION
= 'onBeforeAction'
EXCEPTION_UNKNOWN_ACTION
public
mixed
EXCEPTION_UNKNOWN_ACTION
= 22002
SCOPE_AJAX
public
mixed
SCOPE_AJAX
= 'ajax'
SCOPE_CLI
public
mixed
SCOPE_CLI
= 'cli'
SCOPE_REST
public
mixed
SCOPE_REST
= 'rest'
Methods
__construct()
Constructor Controller.
public
__construct([Request|null $request = null ]) : mixed
Parameters
- $request : Request|null = null
analyticalAction()
public
analyticalAction() : void
changeRecurciveEntryUntilAction()
public
changeRecurciveEntryUntilAction(mixed $entryId, mixed $untilDate) : mixed
Parameters
- $entryId : mixed
- $untilDate : mixed
className()
Returns the fully qualified name of this class.
public
final static className() : string
Return values
stringconfigureActions()
public
configureActions() : array<string|int, mixed>
Return values
array<string|int, mixed>convertKeysToCamelCase()
Converts keys of array to camel case notation.
public
convertKeysToCamelCase(mixed $data) : array<string|int, mixed>|mixed|string
Parameters
- $data : mixed
-
Data.
Tags
Return values
array<string|int, mixed>|mixed|stringdeleteCalendarEntryAction()
public
deleteCalendarEntryAction(mixed $entryId, mixed $recursionMode, mixed $requestUid) : mixed
Parameters
- $entryId : mixed
- $recursionMode : mixed
- $requestUid : mixed
deleteCalendarSectionAction()
public
deleteCalendarSectionAction(mixed $id) : mixed
Parameters
- $id : mixed
editCalendarSectionAction()
public
editCalendarSectionAction() : mixed
excludeRecursionDateAction()
public
excludeRecursionDateAction(mixed $entryId, mixed $excludeDate) : mixed
Parameters
- $entryId : mixed
- $excludeDate : mixed
finalizeResponse()
Finalizes response.
public
finalizeResponse(Response $response) : void
The method will be invoked when HttpApplication will be ready to send response to client. It's a final place where Controller can interact with response.
Parameters
- $response : Response
forward()
public
forward(Controller|string $controller, string $actionName[, array<string|int, mixed>|null $parameters = null ]) : HttpResponse|mixed
Parameters
- $controller : Controller|string
- $actionName : string
- $parameters : array<string|int, mixed>|null = null
Tags
Return values
HttpResponse|mixedgenerateActionMethodName()
public
final generateActionMethodName(mixed $action) : string
Parameters
- $action : mixed
Return values
stringgetActionUri()
Returns uri for ajax end point for the action name. It's a helper, which uses relative action name without controller name.
public
final getActionUri(string $actionName[, array<string|int, mixed> $params = [] ][, bool $absolute = false ]) : Uri
Parameters
- $actionName : string
-
Action name. It's a relative action name without controller name.
- $params : array<string|int, mixed> = []
-
Parameters for creating uri.
- $absolute : bool = false
Return values
UrigetAllowedMailboxDataAction()
public
getAllowedMailboxDataAction() : mixed
getAllowedMailboxListAction()
public
getAllowedMailboxListAction() : mixed
getAutoWiredParameters()
public
getAutoWiredParameters() : array<string|int, Parameter>
Return values
array<string|int, Parameter>getCompactFormDataAction()
public
getCompactFormDataAction() : mixed
getConferenceChatIdAction()
public
getConferenceChatIdAction(int $eventId) : mixed
Parameters
- $eventId : int
getConfigurationOfActions()
public
final getConfigurationOfActions() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetCrmUserfieldAction()
public
getCrmUserfieldAction() : mixed
getCurrentUser()
public
final getCurrentUser() : CurrentUser
Return values
CurrentUsergetDefaultAutoWiredParameters()
public
final getDefaultAutoWiredParameters() : array<string|int, Parameter>
Return values
array<string|int, Parameter>getEditEventSliderAction()
public
getEditEventSliderAction() : mixed
getErrorByCode()
Getting once error with the necessary code.
public
final getErrorByCode(string $code) : Error
Parameters
- $code : string
-
Code of error.
Return values
ErrorgetErrors()
Getting array of errors.
public
final getErrors() : array<string|int, Error>
Return values
array<string|int, Error>getFilterDataAction()
public
getFilterDataAction() : mixed
getFullEventName()
public
final static getFullEventName(mixed $eventName) : string
Parameters
- $eventName : mixed
Return values
stringgetModuleId()
Returns module id.
public
final getModuleId() : string
Tries to guess module id by file path and function @see getModuleId().
Return values
stringgetPlannerAction()
public
getPlannerAction() : mixed
getPrimaryAutoWiredParameter()
public
getPrimaryAutoWiredParameter() : Parameter|null
Return values
Parameter|nullgetRequest()
public
final getRequest() : HttpRequest
Return values
HttpRequestgetScope()
public
final getScope() : string
Return values
stringgetSectionListAction()
public
getSectionListAction(mixed $type, mixed $ownerId) : array<string|int, mixed>
Parameters
- $type : mixed
- $ownerId : mixed
Return values
array<string|int, mixed>getSettingsSliderAction()
public
getSettingsSliderAction(mixed $uid, mixed $showPersonalSettings, mixed $showGeneralSettings, mixed $showAccessControl) : mixed
Parameters
- $uid : mixed
- $showPersonalSettings : mixed
- $showGeneralSettings : mixed
- $showAccessControl : mixed
getSourceParametersList()
public
final getSourceParametersList() : array<string|int, mixed>
Return values
array<string|int, mixed>getSyncInfoAction()
public
getSyncInfoAction() : mixed
getTimezoneListAction()
public
getTimezoneListAction() : mixed
getTrackingSectionsAction()
public
getTrackingSectionsAction() : mixed
getUnsignedParameters()
public
final getUnsignedParameters() : mixed
getViewEventSliderAction()
public
getViewEventSliderAction() : mixed
hideExternalCalendarSectionAction()
public
hideExternalCalendarSectionAction() : mixed
isLocatedUnderPsr4()
public
final isLocatedUnderPsr4() : bool
Return values
boollistNameActions()
Returns list of all
public
final listNameActions() : array<string|int, mixed>
Return values
array<string|int, mixed>redirectTo()
Redirect to URL.
public
redirectTo(string $url) : Redirect
Parameters
- $url : string
Return values
Redirectrun()
public
final run(mixed $actionName, array<string|int, mixed> $sourceParametersList) : HttpResponse|mixed
Parameters
- $actionName : mixed
- $sourceParametersList : array<string|int, mixed>
Tags
Return values
HttpResponse|mixedsaveSettingsAction()
public
saveSettingsAction(string $type[, array<string|int, mixed> $user_settings = [] ][, string $user_timezone_name = '' ][, array<string|int, mixed> $settings = [] ]) : void
Parameters
- $type : string
- $user_settings : array<string|int, mixed> = []
- $user_timezone_name : string = ''
- $settings : array<string|int, mixed> = []
sendAnalyticsLabelAction()
public
sendAnalyticsLabelAction() : mixed
setCurrentUser()
public
final setCurrentUser(CurrentUser $currentUser) : void
Parameters
- $currentUser : CurrentUser
setMeetingStatusAction()
public
setMeetingStatusAction() : mixed
setScope()
public
final setScope(string $scope) : Controller
Parameters
- $scope : string
Return values
ControllersetSectionStatusAction()
public
setSectionStatusAction() : mixed
setSourceParametersList()
public
final setSourceParametersList(array<string|int, mixed> $sourceParametersList) : Controller
Parameters
- $sourceParametersList : array<string|int, mixed>
Return values
ControllersetTrackingSectionsAction()
public
setTrackingSectionsAction() : mixed
updateColorAction()
public
updateColorAction() : mixed
updateCountersAction()
public
updateCountersAction(string|null $type, string|null $ownerId) : array<string|int, mixed>
Parameters
- $type : string|null
- $ownerId : string|null
Return values
array<string|int, mixed>updateDefaultSectionIdAction()
public
updateDefaultSectionIdAction(string $key, int $sectionId) : void
Parameters
- $key : string
- $sectionId : int
updatePlannerAction()
public
updatePlannerAction() : mixed
updateRemindersAction()
public
updateRemindersAction() : mixed