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

Source for file Topics.php

Documentation is available at Topics.php

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

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