Public Member Functions | |
getPresence () | |
setPresence ($status) | |
listUpdates ($start=0, $count=10) | |
listConnectionUpdates ($start=0, $count=10) | |
insertUpdate ($suid, $title, $link, $description="", $date=null) | |
deleteUpdate ($suid) | |
loadProfile () | |
getConnections (&$start, &$count, &$total) | |
getContacts ($start=0, $count=10) | |
setSmallView ($content) |
YahooUser::getPresence | ( | ) |
Gets the presence of the user, including the status.
YahooUser::setPresence | ( | $ | status | ) |
Sets the presence of the user.
$status | The new status message for the user. |
YahooUser::listUpdates | ( | $ | start = 0 , |
|
$ | count = 10 | |||
) |
Lists the updates for the current user.
$start | The starting offset to list updates from. | |
$count | The number of updates to request. |
YahooUser::listConnectionUpdates | ( | $ | start = 0 , |
|
$ | count = 10 | |||
) |
Lists the updates for the connections of the current user.
$start | The starting offset to list updates from. | |
$count | The number of updates to request. |
YahooUser::insertUpdate | ( | $ | suid, | |
$ | title, | |||
$ | link, | |||
$ | description = "" , |
|||
$ | date = null | |||
) |
Inserts an update for the current user.
$suid | Identifier that globally unique for a given collectionId within producing source. | |
$title | Title for the update. | |
$link | Link back to the cause of the event. | |
$description | Descriptive text associated with the update, optional. | |
$date | The date of the update event, optional, defaults to now. |
YahooUser::deleteUpdate | ( | $ | suid | ) |
Deletes the update of the given SUID. Only allows deleting updates that were inserted by your own application. You won't be able to delete updates from other applications.
$suid | The SUID of the update to be deleted. |
YahooUser::loadProfile | ( | ) |
Loads the extended profile of the current user.
YahooUser::getConnections | ( | &$ | start, | |
&$ | count, | |||
&$ | total | |||
) |
Gets a list of connections for the current user.
[in,out] | $start | The starting offset. |
[in,out] | $count | The number of connections to fetch. |
[out] | $total | The total number of contacts available. |
YahooUser::getContacts | ( | $ | start = 0 , |
|
$ | count = 10 | |||
) |
Gets a list of contacts for the current user.
$start | The starting offset. | |
$count | The number of contacts to fetch. |
YahooUser::setSmallView | ( | $ | content | ) |
Sets the small view for the current user.
$content | The content to set the small view to. |