Source for file Digg.php
Documentation is available at Digg.php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
* API for Digg's web services
* LICENSE: This source file is subject to the New BSD license that is
* available through the world-wide-web at the following URI:
* http://www.opensource.org/licenses/bsd-license.php. If you did not receive
* a copy of the New BSD License and are unable to obtain it through the web,
* please send a note to license@php.net so we can mail you a copy immediately.
* @author Joe Stump <joe@joestump.net>
* @copyright 2007 Digg.com, Inc.
* @license http://www.opensource.org/licenses/bsd-license.php
* @link http://pear.php.net/package/Services_Digg
require_once 'Services/Digg/Common.php';
require_once 'Services/Digg/Exception.php';
* @author Joe Stump <joe@joestump.net>
* @link http://apidoc.digg.com/ToolkitsServicesDigg
* @link http://groups.google.com/group/diggapi
static public $uri = 'http://services.digg.com';
* The value of the appKey argument must be a URI that idenfitifes the
* application making the request. The URI might point to:
* - The application itself, if it's a web application.
* - A web page describing the application.
* - A web page offering the application for download.
* - The author's web site.
* @param string $endPoint
* @return mixed PEAR_Error on failure, service on success
static public function factory($endPoint)
$file = 'Services/Digg/' . $endPoint . '.php';
if (!include_once($file)) {
$class = 'Services_Digg_' . $endPoint;
$instance = new $class();
Documentation generated on Fri, 10 Jul 2009 01:30:03 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.
|