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

Class: Services_Digg_Stories

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

Class Overview

Services_Digg_Common
   |
   --Services_Digg_Stories

Services_Digg_Stories


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 32]
Services_Digg_Stories


[ Top ]


Method Detail

getAll   [line 60]

void getAll( [array $params = array()])

Get all stories
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

array   $params   —  Digg API arguments

[ Top ]

getContainer   [line 143]

void getContainer( string $container, [array $params = array()])

Get stories by container
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

string   $container   —  Name of container (ie. Sports)
array   $params   —  Digg API arguments

[ Top ]

getContainerHot   [line 171]

void getContainerHot( string $container, [array $params = array()])

Get hot stories by container
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

string   $container   —  Name of container (ie. Sports)
array   $params   —  Digg API arguments

[ Top ]

getContainerPopular   [line 185]

void getContainerPopular( string $container, [array $params = array()])

Get popular stories in a specific container
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

string   $container   —  Name of container (ie. Sports)
array   $params   —  Digg API arguments

[ Top ]

getContainerTop   [line 157]

void getContainerTop( string $container, [array $params = array()])

Get top stories by container
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

string   $container   —  Name of container (ie. Sports)
array   $params   —  Digg API arguments

[ Top ]

getContainerUpcoming   [line 199]

void getContainerUpcoming( string $container, [array $params = array()])

Get upcoming stories in a specific container
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

string   $container   —  Name of container (ie. Sports)
array   $params   —  Digg API arguments

[ Top ]

getPopularComments   [line 283]

object getPopularComments( [array $params = array()])

Get popular stories' comments
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

array   $params   —  Digg API arguments

[ Top ]

getPopularDiggs   [line 308]

void getPopularDiggs( [array $params = array()])

Get popular stories' diggs
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

array   $params   —  Digg API arguments

[ Top ]

getStoriesById   [line 101]

void getStoriesById( array $stories, [array $params = array()])

Get a list of stories by their ID's
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

array   $stories   —  An array of story ID's
array   $params   —  Digg API arguments

[ Top ]

getStoriesComments   [line 115]

void getStoriesComments( array $stories, [array $params = array()])

Get a list of stories' comments
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

array   $stories   —  An array of story ID's
array   $params   —  Digg API arguments

[ Top ]

getStoriesDiggs   [line 129]

void getStoriesDiggs( array $stories, [array $params = array()])

Get a list of stories' diggs
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

array   $stories   —  An array of story ID's
array   $params   —  Digg API arguments

[ Top ]

getStoryById   [line 73]

void getStoryById( int $id, [array $params = array()])

Get a single story by ID
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

int   $id   —  ID of story
array   $params   —  API parameters

[ Top ]

getStoryByTitle   [line 87]

void getStoryByTitle( string $title, [array $params = array()])

Get a single story by title
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

string   $title   —  Clean title of story
array   $params   —  API parameters

[ Top ]

getTopic   [line 213]

void getTopic( string $topic, [array $params = array()])

Get stories in a specific topic
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

string   $topic   —  Name of topic (ie. Apple)
array   $params   —  Digg API arguments

[ Top ]

getTopicHot   [line 241]

void getTopicHot( $container, [array $params = array()], string $topic)

Get hot stories by topic
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

string   $topic   —  Name of topic (ie. Apple)
array   $params   —  Digg API arguments
   $container   — 

[ Top ]

getTopicPopular   [line 255]

void getTopicPopular( string $topic, [array $params = array()])

Get popular stories in a specific topic
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

string   $topic   —  Name of topic (ie. Apple)
array   $params   —  Digg API arguments

[ Top ]

getTopicTop   [line 227]

void getTopicTop( string $topic, [array $params = array()])

Get top stories by topic
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

string   $topic   —  Name of topic (ie. Apple)
array   $params   —  Digg API arguments

[ Top ]

getTopicUpcoming   [line 269]

void getTopicUpcoming( string $topic, [array $params = array()])

Get upcoming stories in a specific topic
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

string   $topic   —  Name of topic (ie. Apple)
array   $params   —  Digg API arguments

[ Top ]

getUpcomingComments   [line 296]

object getUpcomingComments( [array $params = array()])

Get all comments on upcoming stories
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

array   $params   —  API arguments

[ Top ]

getUpcomingDiggs   [line 320]

void getUpcomingDiggs( [array $params = array()])

Get upcoming stories' diggs
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

array   $params   —  Digg API arguments

[ Top ]

__call   [line 42]

void __call( string $function, array $args)

__call
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

string   $function   —  API endpiont to call
array   $args   — 

[ Top ]


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