Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
updateProfile ($name=null, $url=null, $location=null, $description=null, $entities=null, $skip_status=null) | |
updateProfileBackgroundImage ($image=null, $tile=false, $entities=null, $skip_status=null, $use=false) | |
updateProfileImage ($image=null, $entities=null, $skip_status=null) | |
updateProfileColors ($background=null, $link=null, $sidebar_border=null, $sidebar_fill=null, $text=null, $entities=null, $skip_status=null) | |
getSettings () | |
updateSettings ($location=null, $sleep_time=false, $start_sleep=null, $end_sleep=null, $time_zone=null, $lang=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 |
Définition à la ligne 19 du fichier profile.php.
JTwitterProfile::getSettings | ( | ) |
Method to get the settings (including current trend, geo and sleep time information) for the authenticating user.
Définition à la ligne 274 du fichier profile.php.
JTwitterProfile::updateProfile | ( | $name = null , |
|
$url = null , |
|||
$location = null , |
|||
$description = null , |
|||
$entities = null , |
|||
$skip_status = null |
|||
) |
Method to et values that users are able to set under the "Account" tab of their settings page.
string | $name | Full name associated with the profile. Maximum of 20 characters. |
string | $url | URL associated with the profile. Will be prepended with "http://" if not present. Maximum of 100 characters. |
string | $location | The city or country describing where the user of the account is located. The contents are not normalized or geocoded in any way. Maximum of 30 characters. |
string | $description | A description of the user owning the account. Maximum of 160 characters. |
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. |
Définition à la ligne 37 du fichier profile.php.
JTwitterProfile::updateProfileBackgroundImage | ( | $image = null , |
|
$tile = false , |
|||
$entities = null , |
|||
$skip_status = null , |
|||
$use = false |
|||
) |
Method to update the authenticating user's profile background image. This method can also be used to enable or disable the profile background image.
string | $image | The background image for the profile. |
boolean | $tile | Whether or not to tile the background image. |
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. |
boolean | $use | Determines whether to display the profile background image or not. |
Définition à la ligne 102 du fichier profile.php.
JTwitterProfile::updateProfileColors | ( | $background = null , |
|
$link = null , |
|||
$sidebar_border = null , |
|||
$sidebar_fill = null , |
|||
$text = null , |
|||
$entities = null , |
|||
$skip_status = null |
|||
) |
Method to set one or more hex values that control the color scheme of the authenticating user's profile page on twitter.com.
string | $background | Profile background color. |
string | $link | Profile link color. |
string | $sidebar_border | Profile sidebar's border color. |
string | $sidebar_fill | Profile sidebar's fill color. |
string | $text | Profile text color. |
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. |
Définition à la ligne 210 du fichier profile.php.
JTwitterProfile::updateProfileImage | ( | $image = null , |
|
$entities = null , |
|||
$skip_status = null |
|||
) |
Method to update the authenticating user's profile image.
string | $image | The background image for the profile. |
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. |
Définition à la ligne 160 du fichier profile.php.
JTwitterProfile::updateSettings | ( | $location = null , |
|
$sleep_time = false , |
|||
$start_sleep = null , |
|||
$end_sleep = null , |
|||
$time_zone = null , |
|||
$lang = null |
|||
) |
Method to update the authenticating user's settings.
integer | $location | The Yahoo! Where On Earth ID to use as the user's default trend location. |
boolean | $sleep_time | When set to true, t or 1, will enable sleep time for the user. |
integer | $start_sleep | The hour that sleep time should begin if it is enabled. |
integer | $end_sleep | The hour that sleep time should end if it is enabled. |
string | $time_zone | The timezone dates and times should be displayed in for the user. The timezone must be one of the Rails TimeZone names. |
string | $lang | The language which Twitter should render in for this user. |
Définition à la ligne 301 du fichier profile.php.