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

Source for file Comments.php

Documentation is available at Comments.php

  1. <?php
  2.  
  3. /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
  4.  
  5. /**
  6.  * Comments endpoint driver
  7.  *
  8.  * PHP version 5.1.0+
  9.  *
  10.  * LICENSE: This source file is subject to version 3.0 of the PHP license
  11.  * that is available through the world-wide-web at the following URI:
  12.  * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
  13.  * the PHP License and are unable to obtain it through the web, please
  14.  * send a note to license@php.net so we can mail you a copy immediately.
  15.  *
  16.  * @category    Services
  17.  * @package     Services_Digg
  18.  * @author      Joe Stump <joe@joestump.net>
  19.  * @copyright   1997-2007 The PHP Group
  20.  * @license     http://www.php.net/license/3_0.txt  PHP License 3.0
  21.  * @version     CVS: $Id:$
  22.  * @link        http://pear.php.net/package/Services_Digg
  23.  */
  24.  
  25. /**
  26.  * Services_Digg_Comments
  27.  *  
  28.  * @category    Services
  29.  * @package     Services_Digg
  30.  * @author      Joe Stump <joe@joestump.net>
  31.  */
  32. {
  33.     /**
  34.      * Get all comments on stories
  35.      *
  36.      * @access      public
  37.      * @param       array       $params     API arguments
  38.      * @returns     object
  39.      * @throws      Services_Digg_Exception
  40.      */
  41.     public function getAll(array $params = array()) 
  42.     {
  43.         $endPoint '/stories/comments';
  44.         return $this->sendRequest($endPoint$params);
  45.     }    
  46. }
  47.  
  48. ?>

Documentation generated on Tue, 04 Dec 2007 15:00:05 -0500 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.