. * * @category API * @package StatusNet * @author Evan Prodromou * @copyright 2009 StatusNet, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ if (!defined('STATUSNET')) { exit(1); } /** * Show authenticating user's most recent repeats * * @category API * @package StatusNet * @author Evan Prodromou * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ class ApiTimelineRetweetedByMeAction extends ApiAuthAction { const DEFAULTCOUNT = 20; const MAXCOUNT = 200; const MAXNOTICES = 3200; var $repeats = null; var $cnt = self::DEFAULTCOUNT; var $page = 1; var $since_id = null; var $max_id = null; /** * Take arguments for running * * @param array $args $_REQUEST args * * @return boolean success flag * */ function prepare(array $args=array()) { parent::prepare($args); // TRANS: Server error displayed calling unimplemented API method for 'retweeted by me'. $this->serverError(_('Unimplemented.'), 503); return false; } /** * Return true if read only. * * @param array $args other arguments * * @return boolean is read only action? */ function isReadOnly(array $args=array()) { return true; } }