Services_Digg
[ class tree: Services_Digg ] [ index: Services_Digg ] [ all elements ]

Class: Services_Digg_User

Source Location: /Services_Digg-0.4.7/Services/Digg/User.php

Class Overview

Services_Digg_Common
   |
   --Services_Digg_User

Services_Digg_User


Author(s):

Methods


Child classes:

DiggAPIUser
DiggAPIUser

Inherited Variables

Inherited Methods


Class Details

[line 32]
Services_Digg_User


[ Top ]


Method Detail

getCommentActivity   [line 71]

void getCommentActivity( string $username, [array $params = array()])

Get a user's comment activity
  • Throws: Services_Digg_Exception
  • Access: public

Overridden in child classes as:

DiggAPIUser::getCommentActivity()
Get a user's comment activity

Parameters:

string   $username   — 
array   $params   — 

[ Top ]

getDiggsActivity   [line 85]

void getDiggsActivity( string $username, [array $params = array()])

Get a user's digg activity
  • Throws: Services_Digg_Exception
  • Access: public

Overridden in child classes as:

DiggAPIUser::getDiggsActivity()
Get a user's digg activity

Parameters:

string   $username   — 
array   $params   — 

[ Top ]

getFriendsCommented   [line 171]

void getFriendsCommented( string $username, [array $params = array()])

Get a user's friends' commented stories
  • Throws: Services_Digg_Exception
  • Access: public

Overridden in child classes as:

DiggAPIUser::getFriendsCommented()
Get a user's friends' commented stories

Parameters:

string   $username   —  Username to get friends' cmts
array   $params   — 

[ Top ]

getFriendsDugg   [line 157]

void getFriendsDugg( string $username, [array $params = array()])

Get a user's friends' dugg stories
  • Throws: Services_Digg_Exception
  • Access: public

Overridden in child classes as:

DiggAPIUser::getFriendsDugg()
Get a user's friends' dugg stories

Parameters:

string   $username   —  Username to get friends' duggs
array   $params   — 

[ Top ]

getFriendsPopular   [line 185]

void getFriendsPopular( string $username, [array $params = array()])

Get a user's friends' popular stories that they dugg
  • Throws: Services_Digg_Exception
  • Access: public

Overridden in child classes as:

DiggAPIUser::getFriendsPopular()
Get a user's friends' popular stories that they dugg

Parameters:

string   $username   — 
array   $params   — 

[ Top ]

getFriendsSubmissions   [line 143]

void getFriendsSubmissions( string $username, [array $params = array()])

Get a user's friends' submissions
  • Throws: Services_Digg_Exception
  • Access: public

Overridden in child classes as:

DiggAPIUser::getFriendsSubmissions()
Get a user's friends' submissions

Parameters:

string   $username   —  Username to get friends' subs
array   $params   — 

[ Top ]

getFriendsUpcoming   [line 199]

void getFriendsUpcoming( string $username, [array $params = array()])

Get a user's friends' upcoming stories that they dugg
  • Throws: Services_Digg_Exception
  • Access: public

Overridden in child classes as:

DiggAPIUser::getFriendsUpcoming()
Get a user's friends' upcoming stories that they dugg

Parameters:

string   $username   — 
array   $params   — 

[ Top ]

isFan   [line 124]

boolean isFan( string $username, string $fan)

Is the person a fan of this user

Checks to see if the given $username is a fan of the currently instantiated user from $this->name.

  • Access: public

Overridden in child classes as:

DiggAPIUser::isFan()
Is the person a fan of this user

Parameters:

string   $username   —  Username to check against
string   $fan   —  Username to check for

[ Top ]

isFriend   [line 102]

boolean isFriend( string $username, string $friend)

Is the user friends with a person

Checks to see if the given $username is friends with the currently instantiated user from $this->name.

  • Access: public

Overridden in child classes as:

DiggAPIUser::isFriend()
Is the user friends with a person

Parameters:

string   $username   —  Username to check against
string   $friend   —  Username to check for

[ Top ]

__call   [line 47]

mixed __call( string $function, array $args)

__call

This overloaded method handles '/user/{user name}/{endpoint}', such as '/user/joestump/diggs'. It does not handle more detailed endpoints, such ss '/user/joestump/activity/comments', which has its own method.

  • Throws: Services_Digg_Exception
  • Access: public

Overridden in child classes as:

DiggAPIUser::__call()
__call

Parameters:

string   $function   —  Simple endpoint for users
array   $args   —  Arguments to pass to API

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:32:20 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.