Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
__construct (JRegistry $options=null, JGoogleAuth $auth=null) | |
removeCalendar ($calendarID) | |
getCalendar ($calendarID) | |
addCalendar ($calendarID, $options=array()) | |
listCalendars ($options=array(), $maxpages=1) | |
editCalendarSettings ($calendarID, $options) | |
clearCalendar ($calendarID) | |
deleteCalendar ($calendarID) | |
createCalendar ($title, $options=array()) | |
editCalendar ($calendarID, $options) | |
deleteEvent ($calendarID, $eventID) | |
getEvent ($calendarID, $eventID, $options=array()) | |
createEvent ($calendarID, $start, $end=false, $options=array(), $timezone=false, $allday=false, $notify=false) | |
listRecurrences ($calendarID, $eventID, $options=array(), $maxpages=1) | |
listEvents ($calendarID, $options=array(), $maxpages=1) | |
moveEvent ($calendarID, $eventID, $destID, $notify=false) | |
editEvent ($calendarID, $eventID, $options, $notify=false) | |
Fonctions membres publiques inherited from JGoogleData | |
authenticate () | |
isAuthenticated () | |
getOption ($key) | |
setOption ($key, $value) |
Additional Inherited Members | |
Fonctions membres protégées inherited from JGoogleData | |
listGetData ($url, $maxpages=1, $token=null) | |
query ($url, $data=null, $headers=null, $method= 'get') | |
Fonctions membres protégées statiques inherited from JGoogleData | |
static | safeXML ($data) |
Attributs protégés inherited from JGoogleData | |
$options | |
$auth |
Définition à la ligne 19 du fichier calendar.php.
JGoogleDataCalendar::__construct | ( | JRegistry | $options = null , |
JGoogleAuth | $auth = null |
||
) |
Constructor.
JRegistry | $options | Google options object |
JGoogleAuth | $auth | Google data http client object |
Réimplémentée à partir de JGoogleData.
Définition à la ligne 29 du fichier calendar.php.
JGoogleDataCalendar::addCalendar | ( | $calendarID, | |
$options = array() |
|||
) |
Method to add a calendar to a user's Google Calendar list
string | $calendarID | New calendar ID |
array | $options | New calendar settings |
UnexpectedValueException |
Définition à la ligne 109 du fichier calendar.php.
JGoogleDataCalendar::clearCalendar | ( | $calendarID | ) |
Method to clear a Google Calendar
string | $calendarID | ID of calendar to clear |
UnexpectedValueException |
Définition à la ligne 202 du fichier calendar.php.
JGoogleDataCalendar::createCalendar | ( | $title, | |
$options = array() |
|||
) |
Method to create a Google Calendar
string | $title | New calendar title |
array | $options | New calendar settings |
UnexpectedValueException |
Définition à la ligne 259 du fichier calendar.php.
JGoogleDataCalendar::createEvent | ( | $calendarID, | |
$start, | |||
$end = false , |
|||
$options = array() , |
|||
$timezone = false , |
|||
$allday = false , |
|||
$notify = false |
|||
) |
Method to create a Google Calendar event
string | $calendarID | ID of calendar |
mixed | $start | Event start time |
mixed | $end | Event end time |
array | $options | New event settings |
mixed | $timezone | Timezone for event |
boolean | $allday | Treat event as an all-day event |
boolean | $notify | Notify participants |
InvalidArgumentException | |
UnexpectedValueException |
Définition à la ligne 398 du fichier calendar.php.
JGoogleDataCalendar::deleteCalendar | ( | $calendarID | ) |
Method to delete a calendar from Google
string | $calendarID | ID of calendar to delete. |
UnexpectedValueException |
Définition à la ligne 230 du fichier calendar.php.
JGoogleDataCalendar::deleteEvent | ( | $calendarID, | |
$eventID | |||
) |
Method to delete an event from a Google Calendar
string | $calendarID | ID of calendar to delete from |
string | $eventID | ID of event to delete. |
UnexpectedValueException |
Définition à la ligne 327 du fichier calendar.php.
JGoogleDataCalendar::editCalendar | ( | $calendarID, | |
$options | |||
) |
Method to edit a Google Calendar
string | $calendarID | Calendar ID. |
array | $options | Calendar settings. |
UnexpectedValueException |
Définition à la ligne 293 du fichier calendar.php.
JGoogleDataCalendar::editCalendarSettings | ( | $calendarID, | |
$options | |||
) |
Method to edit a Google Calendar's settings
string | $calendarID | Calendar ID |
array | $options | Calendar settings |
UnexpectedValueException |
Définition à la ligne 170 du fichier calendar.php.
JGoogleDataCalendar::editEvent | ( | $calendarID, | |
$eventID, | |||
$options, | |||
$notify = false |
|||
) |
Method to edit a Google Calendar event
string | $calendarID | Calendar ID |
string | $eventID | ID of the event to change |
array | $options | Event settings |
boolean | $notify | Notify participants of changes |
UnexpectedValueException |
Définition à la ligne 598 du fichier calendar.php.
JGoogleDataCalendar::getCalendar | ( | $calendarID | ) |
Method to get a calendar's settings from Google
string | $calendarID | ID of calendar to get. |
UnexpectedValueException |
Définition à la ligne 77 du fichier calendar.php.
JGoogleDataCalendar::getEvent | ( | $calendarID, | |
$eventID, | |||
$options = array() |
|||
) |
Method to get an event from a Google Calendar
string | $calendarID | ID of calendar |
string | $eventID | ID of event to get |
array | $options | Options to send to Google |
UnexpectedValueException |
Définition à la ligne 358 du fichier calendar.php.
JGoogleDataCalendar::listCalendars | ( | $options = array() , |
|
$maxpages = 1 |
|||
) |
Method to retrieve calendar list from Google
array | $options | Search settings |
int | $maxpages | Maximum number of pages of calendars to return |
UnexpectedValueException |
Définition à la ligne 143 du fichier calendar.php.
JGoogleDataCalendar::listEvents | ( | $calendarID, | |
$options = array() , |
|||
$maxpages = 1 |
|||
) |
Method to retrieve a list of events on a Google calendar
string | $calendarID | Calendar ID |
array | $options | Calendar settings |
int | $maxpages | Cycle through pages of data to generate a complete list |
UnexpectedValueException |
Définition à la ligne 533 du fichier calendar.php.
JGoogleDataCalendar::listRecurrences | ( | $calendarID, | |
$eventID, | |||
$options = array() , |
|||
$maxpages = 1 |
|||
) |
Method to retrieve a list of events on a Google calendar
string | $calendarID | Calendar ID |
string | $eventID | ID of the event to change |
array | $options | Search settings |
int | $maxpages | Minimum number of events to retrieve (more may be retrieved depending on page size) |
UnexpectedValueException |
Définition à la ligne 504 du fichier calendar.php.
JGoogleDataCalendar::moveEvent | ( | $calendarID, | |
$eventID, | |||
$destID, | |||
$notify = false |
|||
) |
Method to move an event from one calendar to another
string | $calendarID | Calendar ID |
string | $eventID | ID of the event to change |
string | $destID | Calendar ID |
boolean | $notify | Notify participants of changes |
UnexpectedValueException |
Définition à la ligne 562 du fichier calendar.php.
JGoogleDataCalendar::removeCalendar | ( | $calendarID | ) |
Method to remove a calendar from a user's calendar list
string | $calendarID | ID of calendar to delete |
UnexpectedValueException |
Définition à la ligne 49 du fichier calendar.php.