Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
getEvent ($event) | |
getFeed ($event, $limit=0, $offset=0, $until=null, $since=null) | |
createLink ($event, $link, $message=null) | |
deleteLink ($link) | |
createPost ($event, $message=null, $link=null, $picture=null, $name=null, $caption=null, $description=null, $actions=null) | |
deletePost ($post) | |
createStatus ($event, $message) | |
deleteStatus ($status) | |
getInvited ($event, $limit=0, $offset=0) | |
isInvited ($event, $user) | |
createInvite ($event, $users) | |
deleteInvite ($event, $user) | |
getAttending ($event, $limit=0, $offset=0) | |
isAttending ($event, $user) | |
createAttending ($event) | |
getMaybe ($event, $limit=0, $offset=0) | |
isMaybe ($event, $user) | |
createMaybe ($event) | |
getDeclined ($event, $limit=0, $offset=0) | |
isDeclined ($event, $user) | |
createDeclined ($event) | |
getNoreply ($event, $limit=0, $offset=0) | |
isNoreply ($event, $user) | |
getPicture ($event, $redirect=true, $type=null) | |
getPhotos ($event, $limit=0, $offset=0, $until=null, $since=null) | |
createPhoto ($event, $source, $message=null) | |
getVideos ($event, $limit=0, $offset=0, $until=null, $since=null) | |
createVideo ($event, $source, $title=null, $description=null) | |
Fonctions membres publiques inherited from JFacebookObject | |
__construct (JRegistry $options=null, JHttp $client=null, JFacebookOAuth $oauth=null) | |
sendRequest ($path, $data= '', array $headers=null, $limit=0, $offset=0, $until=null, $since=null) | |
get ($object) | |
getConnection ($object, $connection=null, $extra_fields= '', $limit=0, $offset=0, $until=null, $since=null) | |
createConnection ($object, $connection=null, $parameters=null, array $headers=null) | |
deleteConnection ($object, $connection=null, $extra_fields= '') | |
setOAuth ($oauth) | |
getOAuth () |
Additional Inherited Members | |
Fonctions membres protégées inherited from JFacebookObject | |
fetchUrl ($path, $limit=0, $offset=0, $until=null, $since=null) | |
Attributs protégés inherited from JFacebookObject | |
$options | |
$client | |
$oauth |
JFacebookEvent::createAttending | ( | $event | ) |
Method to set the current user as attending. Requires authentication and rsvp_event permission.
string | $event | The event id. |
JFacebookEvent::createDeclined | ( | $event | ) |
Method to set the current user as declined. Requires authentication and rscp_event permission.
string | $event | The event id. |
JFacebookEvent::createInvite | ( | $event, | |
$users | |||
) |
Method to invite users to the event. Requires authentication and create_event permission.
string | $event | The event id. |
string | $users | Comma separated list of user ids. |
Définition à la ligne 213 du fichier event.php.
JFacebookEvent::createLink | ( | $event, | |
$link, | |||
$message = null |
|||
) |
Method to post a link on event's feed which the current_user is or maybe attending. Requires authentication and publish_stream permission.
string | $event | The event id. |
string | $link | Link URL. |
string | $message | Link message. |
Définition à la ligne 67 du fichier event.php.
JFacebookEvent::createMaybe | ( | $event | ) |
Method to set the current user as maybe attending. Requires authentication and rscp_event permission.
string | $event | The event id. |
JFacebookEvent::createPhoto | ( | $event, | |
$source, | |||
$message = null |
|||
) |
Method to post a photo on event's wall. Requires authentication and publish_stream permission.
string | $event | The event id. |
string | $source | Path to photo. |
string | $message | Photo description. |
Définition à la ligne 461 du fichier event.php.
JFacebookEvent::createPost | ( | $event, | |
$message = null , |
|||
$link = null , |
|||
$picture = null , |
|||
$name = null , |
|||
$caption = null , |
|||
$description = null , |
|||
$actions = null |
|||
) |
Method to post on event's wall. Message or link parameter is required. Requires authentication and publish_stream permission.
string | $event | The event id. |
string | $message | Post message. |
string | $link | Post URL. |
string | $picture | Post thumbnail image (can only be used if link is specified) |
string | $name | Post name (can only be used if link is specified). |
string | $caption | Post caption (can only be used if link is specified). |
string | $description | Post description (can only be used if link is specified). |
array | $actions | Post actions array of objects containing name and link. |
Définition à la ligne 107 du fichier event.php.
JFacebookEvent::createStatus | ( | $event, | |
$message | |||
) |
Method to post a status message on behalf of the user on the event's wall. Requires authentication and publish_stream permission.
string | $event | The event id. |
string | $message | Status message content. |
Définition à la ligne 148 du fichier event.php.
JFacebookEvent::createVideo | ( | $event, | |
$source, | |||
$title = null , |
|||
$description = null |
|||
) |
Method to post a video on event's wall. Requires authentication and publish_stream permission.
string | $event | The event id. |
string | $source | Path to photo. |
string | $title | Video title. |
string | $description | Video description. |
Définition à la ligne 505 du fichier event.php.
JFacebookEvent::deleteInvite | ( | $event, | |
$user | |||
) |
Method to delete a invitation. Note: you can only delete the invite if the current user is the event admin. Requires authentication and rsvp_event permission.
string | $event | The event id. |
string | $user | The user id. |
JFacebookEvent::deleteLink | ( | $link | ) |
Method to delete a link. Requires authentication and publish_stream permission.
mixed | $link | The Link ID. |
JFacebookEvent::deletePost | ( | $post | ) |
Method to delete a post. Note: you can only delete the post if it was created by the current user. Requires authentication and publish_stream permission.
string | $post | The Post ID. |
JFacebookEvent::deleteStatus | ( | $status | ) |
Method to delete a status. Note: you can only delete the post if it was created by the current user. Requires authentication and publish_stream permission.
string | $status | The Status ID. |
JFacebookEvent::getAttending | ( | $event, | |
$limit = 0 , |
|||
$offset = 0 |
|||
) |
Method to get the list of attending users. Requires authentication and user_events or friends_events permission.
string | $event | The event id. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
JFacebookEvent::getDeclined | ( | $event, | |
$limit = 0 , |
|||
$offset = 0 |
|||
) |
Method to get the list of users which declined the event. Requires authentication and user_events or friends_events permission.
string | $event | The event id. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
JFacebookEvent::getEvent | ( | $event | ) |
Method to get information about an event visible to the current user. Requires authentication.
string | $event | The event id. |
Définition à la ligne 33 du fichier event.php.
JFacebookEvent::getFeed | ( | $event, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the event's wall. Requires authentication.
string | $event | The event id. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookEvent::getInvited | ( | $event, | |
$limit = 0 , |
|||
$offset = 0 |
|||
) |
Method to get the list of invitees for the event. Requires authentication and user_events or friends_events permission.
string | $event | The event id. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
JFacebookEvent::getMaybe | ( | $event, | |
$limit = 0 , |
|||
$offset = 0 |
|||
) |
Method to get the list of maybe attending users. Requires authentication and user_events or friends_events permission.
string | $event | The event id. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
JFacebookEvent::getNoreply | ( | $event, | |
$limit = 0 , |
|||
$offset = 0 |
|||
) |
Method to get the list of users which have not replied to the event. Requires authentication and user_events or friends_events permission.
string | $event | The event id. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
JFacebookEvent::getPhotos | ( | $event, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get photos published on event's wall. Requires authentication.
string | $event | The event id. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookEvent::getPicture | ( | $event, | |
$redirect = true , |
|||
$type = null |
|||
) |
Method to get the event's profile picture. Requires authentication and user_events or friends_events permission.
string | $event | The event id. |
boolean | $redirect | If false this will return the URL of the picture without a 302 redirect. |
string | $type | To request a different photo use square | small | normal | large. |
Définition à la ligne 415 du fichier event.php.
JFacebookEvent::getVideos | ( | $event, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get videos published on event's wall. Requires authentication.
string | $event | The event id. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookEvent::isAttending | ( | $event, | |
$user | |||
) |
Method to check if a user is attending an event. Requires authentication and user_events or friends_events permission.
string | $event | The event id. |
mixed | $user | Either an integer containing the user ID or a string containing the username. |
JFacebookEvent::isDeclined | ( | $event, | |
$user | |||
) |
Method to check if a user responded 'no' to the event. Requires authentication and user_events or friends_events permission.
string | $event | The event id. |
mixed | $user | Either an integer containing the user ID or a string containing the username. |
JFacebookEvent::isInvited | ( | $event, | |
$user | |||
) |
Method to check if a user is invited to the event. Requires authentication and user_events or friends_events permission.
string | $event | The event id. |
mixed | $user | Either an integer containing the user ID or a string containing the username. |
JFacebookEvent::isMaybe | ( | $event, | |
$user | |||
) |
Method to check if a user is maybe attending an event. Requires authentication and user_events or friends_events permission.
string | $event | The event id. |
mixed | $user | Either an integer containing the user ID or a string containing the username. |
JFacebookEvent::isNoreply | ( | $event, | |
$user | |||
) |
Method to check if a user has not replied to the event. Requires authentication and user_events or friends_events permission.
string | $event | The event id. |
mixed | $user | Either an integer containing the user ID or a string containing the username. |