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

Class: Services_Digg_Story

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

Class Overview

Services_Digg_Common
   |
   --Services_Digg_Story

Services_Digg_Story


Author(s):

Methods


Child classes:

DiggAPIStory
DiggAPIStory

Inherited Variables

Inherited Methods


Class Details

[line 32]
Services_Digg_Story


[ Top ]


Method Detail

getCommentActivity   [line 71]

void getCommentActivity( int $story, [array $params = array()])

Get comment activity for a story
  • Throws: Services_Digg_Exception
  • Access: public

Overridden in child classes as:

DiggAPIStory::getCommentActivity()
Get comment activity for a story

Parameters:

int   $story   —  Story ID
array   $params   —  Digg API arguments

[ Top ]

getCommentById   [line 85]

void getCommentById( int $commentid, [array $params = array()])

Get a specific comment on a story
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

int   $commentid   —  ID of comment to fetch
array   $params   —  Digg API arguments

[ Top ]

getDiggActivity   [line 100]

void getDiggActivity( int $story, [array $params = array()])

Get digg activity for a story
  • Throws: Services_Digg_Exception
  • Access: public

Overridden in child classes as:

DiggAPIStory::getDiggActivity()
Get digg activity for a story

Parameters:

int   $story   —  Story ID
array   $params   —  Digg API arguments

[ Top ]

__call   [line 46]

void __call( string $function, array $args)

__call

Any function you call via this (ie. comments()) requires you to pass a numeric story ID. The optional second argument is the normal $params argument passed to most API calls.

  • Throws: Services_Digg_Exception
  • Access: public

Overridden in child classes as:

DiggAPIStory::__call()

Parameters:

string   $function   — 
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.