Свойство | Тип | Описание | |
---|---|---|---|
$_external |
Метод | Описание | |
---|---|---|
addFile ( ) | Add a file to an event. | |
checkResources ( ) | Check reply status of any resources and report back. Used as a check before saving an event to give the user feedback. | |
deleteCalendar ( ) | TODO | |
deleteEvent ( ) | Deletes an event, or an instance of an event series from the backend. | |
deleteFile ( ) | Removes a file from the specified event. | |
deleteTask ( ) | TODO | |
embed ( ) | Handle output of the embedded widget: allows embedding calendar widgets in external websites. | |
getCalendar ( ) | Returns the information for a shared internal calendar. | |
getEvent ( ) | Returns a JSON object representing the requested event. | |
getFreeBusy ( ) | Return fb information for the requested attendee or resource. | |
getRemoteInfo ( ) | TODO | |
getResourceList ( ) : array | Return a list of available resources. | |
getTask ( ) | TODO | |
listCalendars ( ) | Returns a list of all calendars. | |
listEvents ( ) | TODO | |
listTasks ( ) | TODO | |
listTopTags ( ) | Generate a list of most frequently used tags for the current user. | |
poll ( ) | Just polls for alarm messages and keeps session fresh for now. | |
quickSaveEvent ( ) | TODO | |
quickSaveTask ( ) | TODO | |
saveCalPref ( ) | TODO | |
saveCalendar ( ) | TODO | |
saveEvent ( ) | Save a new or update an existing event from the AJAX event detail view. | |
saveTask ( ) | TODO | |
searchCalendars ( ) | TODO | |
searchEvents ( ) | TODO | |
toTimeslice ( ) | ||
toggleCompletion ( ) | TODO | |
updateEvent ( ) | Update event details as a result of a drag/drop operation (which would only affect the event's start/end times). |
Метод | Описание | |
---|---|---|
_addException ( Kronolith_Event $event, object $attributes ) : Kronolith_Event | Add an exception to the original event. | |
_addFileFromUpload ( ) : array | Collect uploaded files. | |
_canUploadFiles ( ) : integer | Check ability to upload files. | |
_copyEvent ( Kronolith_Event $event, Kronolith_Event $copy = null, stdClass $attributes = null ) : Kronolith_Event | Creates a new event that represents an exception to a recurring event. | |
_getDriver ( string $cal ) : Kronolith_Driver | boolean | Returns the driver object for a calendar. | |
_saveEvent ( Kronolith_Event $event, Kronolith_Event $original = null, object $attributes = null, boolean $saveOriginal = false ) : object | Saves an event and returns a signed result object including the saved event. | |
_signedResponse ( string $calendar ) : object | Creates a result object with the signature of the current request. |
protected _addException ( Kronolith_Event $event, object $attributes ) : Kronolith_Event | ||
$event | Kronolith_Event | The recurring event. |
$attributes | object | The attributes passed from the client. Expected to contain either rstart or rday. |
Результат | Kronolith_Event | The event representing the exception, with the start/end times set the same as the original occurence. |
protected _addFileFromUpload ( ) : array | ||
Результат | array | An array of fileinfo hashes. |
protected _canUploadFiles ( ) : integer | ||
Результат | integer | Maximum allowed size of file. |
protected _copyEvent ( Kronolith_Event $event, Kronolith_Event $copy = null, stdClass $attributes = null ) : Kronolith_Event | ||
$event | Kronolith_Event | The original recurring event. |
$copy | Kronolith_Event | If present, contains a copy of $event, but with changes from edited event form. |
$attributes | stdClass | The attributes passed from the client. Expected to contain rstart and rend or rday that represents the original starting/ending date of the instance. |
Результат | Kronolith_Event | The event representing the exception |
protected _getDriver ( string $cal ) : Kronolith_Driver | boolean | ||
$cal | string | A calendar string in the format "type|name". |
Результат | Kronolith_Driver | boolean | A driver instance or false on failure. |
protected _saveEvent ( Kronolith_Event $event, Kronolith_Event $original = null, object $attributes = null, boolean $saveOriginal = false ) : object | ||
$event | Kronolith_Event | An event object. |
$original | Kronolith_Event | If $event is an exception, this should be set to the original event. |
$attributes | object | The attributes sent by the client. Expected to contain cstart and cend. |
$saveOriginal | boolean | Commit any changes in $original to storage also. |
Результат | object | The result object. |
protected _signedResponse ( string $calendar ) : object | ||
$calendar | string | A calendar id. |
Результат | object | The result object. |
public addFile ( ) |
public checkResources ( ) |
- cal: The calendar id. - id: The event id. - r: If this is an event series, what type of deletion to perform [future | current | all]. - rstart: The start time of the event instance being removed, if this is a series instance. - cstart: The start date of the client event cache. - cend: The end date of the client event cache. - sendupdates: Send cancellation notice to attendees?
public deleteEvent ( ) |
public deleteFile ( ) |
public embed ( ) |
public getCalendar ( ) |
public getEvent ( ) |
public getFreeBusy ( ) |
public getResourceList ( ) : array | ||
Результат | array | A hash of resource_id => resource sorted by resource name. |
public listTopTags ( ) |
public poll ( ) |
public saveEvent ( ) |
-cal: The calendar id. -id: The event id. -att: Attribute hash of changed values. Can contain: -start: A new start datetime for the event. -end: A new end datetime for the event. -offDays: An offset of days to apply to the event. -offMins: An offset of minutes to apply to the event. -rstart: The orginal start datetime of a series instance. -rend: The original end datetime of a series instance. -rday: A new start value for a series instance (used when dragging on the month view where only the date can change, and not the start/end times). -u: Send update to attendees.
public updateEvent ( ) |