Source for file Comment.php
Documentation is available at Comment.php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.txt. If you did not receive a copy of
* the PHP 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 1997-2007 The PHP Group
* @license http://www.php.net/license/3_0.txt PHP License 3.0
* @link http://pear.php.net/package/Services_Digg
* @author Joe Stump <joe@joestump.net>
* Type of comment (story v. gallery photo)
protected $type = 'story';
* @param string $function Endpoint to call
* @throws Services_Digg_Exception
public function __call($function, array $args)
if (isset ($args[0 ]) && is_array ($args[0 ]) && count ($args[0 ])) {
$endPoint = '/'. $this->type . '/' . $this->story . '/comment/' .
$this->id . '/' . $function;
Documentation generated on Tue, 04 Dec 2007 15:00:05 -0500 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.
|