Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
getLists ($user, $reverse=null) | |
getStatuses ($list, $owner=null, $since_id=0, $max_id=0, $count=0, $entities=null, $include_rts=null) | |
getSubscribers ($list, $owner=null, $cursor=null, $entities=null, $skip_status=null) | |
deleteMembers ($list, $user_id=null, $screen_name=null, $owner=null) | |
subscribe ($list, $owner=null) | |
isMember ($list, $user, $owner=null, $entities=null, $skip_status=null) | |
isSubscriber ($list, $user, $owner=null, $entities=null, $skip_status=null) | |
unsubscribe ($list, $owner=null) | |
addMembers ($list, $user_id=null, $screen_name=null, $owner=null) | |
getMembers ($list, $owner=null, $entities=null, $skip_status=null) | |
getListById ($list, $owner=null) | |
getSubscriptions ($user, $count=0, $cursor=null) | |
update ($list, $owner=null, $name=null, $mode=null, $description=null) | |
create ($name, $mode=null, $description=null) | |
delete ($list, $owner=null) | |
Fonctions membres publiques inherited from JTwitterObject | |
__construct (JRegistry &$options=null, JHttp $client=null, JTwitterOAuth $oauth=null) | |
checkRateLimit ($resource=null, $action=null) | |
fetchUrl ($path, $parameters=null) | |
getRateLimit ($resource) | |
sendRequest ($path, $method= 'GET', $data=array(), $headers=array()) | |
getOption ($key) | |
setOption ($key, $value) |
Additional Inherited Members | |
Attributs protégés inherited from JTwitterObject | |
$options | |
$client | |
$oauth |
JTwitterLists::addMembers | ( | $list, | |
$user_id = null , |
|||
$screen_name = null , |
|||
$owner = null |
|||
) |
Method to add multiple members to a list, by specifying a comma-separated list of member ids or screen names.
mixed | $list | Either an integer containing the list ID or a string containing the list slug. |
string | $user_id | A comma separated list of user IDs, up to 100 are allowed in a single request. |
string | $screen_name | A comma separated list of screen names, up to 100 are allowed in a single request. |
mixed | $owner | Either an integer containing the user ID or a string containing the screen name of the owner. |
RuntimeException |
Définition à la ligne 584 du fichier lists.php.
JTwitterLists::create | ( | $name, | |
$mode = null , |
|||
$description = null |
|||
) |
Method to create a new list for the authenticated user.
string | $name | The name of the list. |
string | $mode | Whether your list is public or private. Values can be public or private. If no mode is specified the list will be public. |
string | $description | The description to give the list. |
Définition à la ligne 900 du fichier lists.php.
JTwitterLists::delete | ( | $list, | |
$owner = null |
|||
) |
Method to delete a specified list.
mixed | $list | Either an integer containing the list ID or a string containing the list slug. |
mixed | $owner | Either an integer containing the user ID or a string containing the screen name of the owner. |
RuntimeException |
Définition à la ligne 941 du fichier lists.php.
JTwitterLists::deleteMembers | ( | $list, | |
$user_id = null , |
|||
$screen_name = null , |
|||
$owner = null |
|||
) |
Method to remove multiple members from a list, by specifying a comma-separated list of member ids or screen names.
mixed | $list | Either an integer containing the list ID or a string containing the list slug. |
string | $user_id | A comma separated list of user IDs, up to 100 are allowed in a single request. |
string | $screen_name | A comma separated list of screen names, up to 100 are allowed in a single request. |
mixed | $owner | Either an integer containing the user ID or a string containing the screen name of the owner. |
RuntimeException |
Définition à la ligne 246 du fichier lists.php.
JTwitterLists::getListById | ( | $list, | |
$owner = null |
|||
) |
Method to get the specified list.
mixed | $list | Either an integer containing the list ID or a string containing the list slug. |
mixed | $owner | Either an integer containing the user ID or a string containing the screen name. |
RuntimeException |
Définition à la ligne 720 du fichier lists.php.
JTwitterLists::getLists | ( | $user, | |
$reverse = null |
|||
) |
Method to get all lists the authenticating or specified user subscribes to, including their own.
mixed | $user | Either an integer containing the user ID or a string containing the screen name. |
boolean | $reverse | Set this to true if you would like owned lists to be returned first. See description above for information on how this parameter works. |
RuntimeException |
Définition à la ligne 33 du fichier lists.php.
JTwitterLists::getMembers | ( | $list, | |
$owner = null , |
|||
$entities = null , |
|||
$skip_status = null |
|||
) |
Method to get the members of the specified list.
mixed | $list | Either an integer containing the list ID or a string containing the list slug. |
mixed | $owner | Either an integer containing the user ID or a string containing the screen name. |
boolean | $entities | When set to either true, t or 1, each tweet will include a node called "entities". This node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. |
boolean | $skip_status | When set to either true, t or 1 statuses will not be included in the returned user objects. |
RuntimeException |
Définition à la ligne 654 du fichier lists.php.
JTwitterLists::getStatuses | ( | $list, | |
$owner = null , |
|||
$since_id = 0 , |
|||
$max_id = 0 , |
|||
$count = 0 , |
|||
$entities = null , |
|||
$include_rts = null |
|||
) |
Method to get tweet timeline for members of the specified list
mixed | $list | Either an integer containing the list ID or a string containing the list slug. |
mixed | $owner | Either an integer containing the user ID or a string containing the screen name. |
integer | $since_id | Returns results with an ID greater than (that is, more recent than) the specified ID. |
integer | $max_id | Returns results with an ID less than (that is, older than) or equal to the specified ID. |
integer | $count | Specifies the number of results to retrieve per "page." |
boolean | $entities | When set to either true, t or 1, each tweet will include a node called "entities". This node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. |
boolean | $include_rts | When set to either true, t or 1, the list timeline will contain native retweets (if they exist) in addition to the standard stream of tweets. |
RuntimeException |
Définition à la ligne 84 du fichier lists.php.
JTwitterLists::getSubscribers | ( | $list, | |
$owner = null , |
|||
$cursor = null , |
|||
$entities = null , |
|||
$skip_status = null |
|||
) |
Method to get the subscribers of the specified list.
mixed | $list | Either an integer containing the list ID or a string containing the list slug. |
mixed | $owner | Either an integer containing the user ID or a string containing the screen name. |
integer | $cursor | Breaks the results into pages. A single page contains 20 lists. Provide a value of -1 to begin paging. |
boolean | $entities | When set to either true, t or 1, each tweet will include a node called "entities". This node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. |
boolean | $skip_status | When set to either true, t or 1 statuses will not be included in the returned user objects. |
RuntimeException |
Définition à la ligne 172 du fichier lists.php.
JTwitterLists::getSubscriptions | ( | $user, | |
$count = 0 , |
|||
$cursor = null |
|||
) |
Method to get a collection of the lists the specified user is subscribed to, 20 lists per page by default. Does not include the user's own lists.
mixed | $user | Either an integer containing the user ID or a string containing the screen name. |
integer | $count | The amount of results to return per page. Defaults to 20. Maximum of 1,000 when using cursors. |
integer | $cursor | Breaks the results into pages. Provide a value of -1 to begin paging. |
RuntimeException |
Définition à la ligne 774 du fichier lists.php.
JTwitterLists::isMember | ( | $list, | |
$user, | |||
$owner = null , |
|||
$entities = null , |
|||
$skip_status = null |
|||
) |
Method to check if the specified user is a member of the specified list.
mixed | $list | Either an integer containing the list ID or a string containing the list slug. |
mixed | $user | Either an integer containing the user ID or a string containing the screen name of the user to remove. |
mixed | $owner | Either an integer containing the user ID or a string containing the screen name of the owner. |
boolean | $entities | When set to either true, t or 1, each tweet will include a node called "entities". This node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. |
boolean | $skip_status | When set to either true, t or 1 statuses will not be included in the returned user objects. |
RuntimeException |
Définition à la ligne 367 du fichier lists.php.
JTwitterLists::isSubscriber | ( | $list, | |
$user, | |||
$owner = null , |
|||
$entities = null , |
|||
$skip_status = null |
|||
) |
Method to check if the specified user is a subscriber of the specified list.
mixed | $list | Either an integer containing the list ID or a string containing the list slug. |
mixed | $user | Either an integer containing the user ID or a string containing the screen name of the user to remove. |
mixed | $owner | Either an integer containing the user ID or a string containing the screen name of the owner. |
boolean | $entities | When set to either true, t or 1, each tweet will include a node called "entities". This node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. |
boolean | $skip_status | When set to either true, t or 1 statuses will not be included in the returned user objects. |
RuntimeException |
Définition à la ligne 450 du fichier lists.php.
JTwitterLists::subscribe | ( | $list, | |
$owner = null |
|||
) |
Method to subscribe the authenticated user to the specified list.
mixed | $list | Either an integer containing the list ID or a string containing the list slug. |
mixed | $owner | Either an integer containing the user ID or a string containing the screen name of the owner. |
RuntimeException |
Définition à la ligne 310 du fichier lists.php.
JTwitterLists::unsubscribe | ( | $list, | |
$owner = null |
|||
) |
Method to unsubscribe the authenticated user from the specified list.
mixed | $list | Either an integer containing the list ID or a string containing the list slug. |
mixed | $owner | Either an integer containing the user ID or a string containing the screen name of the owner. |
RuntimeException |
Définition à la ligne 529 du fichier lists.php.
JTwitterLists::update | ( | $list, | |
$owner = null , |
|||
$name = null , |
|||
$mode = null , |
|||
$description = null |
|||
) |
Method to update the specified list
mixed | $list | Either an integer containing the list ID or a string containing the list slug. |
mixed | $owner | Either an integer containing the user ID or a string containing the screen name of the owner. |
string | $name | The name of the list. |
string | $mode | Whether your list is public or private. Values can be public or private. If no mode is specified the list will be public. |
string | $description | The description to give the list. |
RuntimeException |
Définition à la ligne 828 du fichier lists.php.