cvs: pearweb /include/pepr pepr.php

From: Date: Sun, 05 Sep 2004 00:02:03 +0000
Subject: cvs: pearweb /include/pepr pepr.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-23641@lists.php.net to get a copy of this message
toby Sat Sep 4 20:02:03 2004 EDT Modified files: /pearweb/include/pepr pepr.php Log: * Added docs for proposal::getAll(). http://cvs.php.net/diff.php/pearweb/include/pepr/pepr.php?r1=1.47&r2=1.48&ty=u Index: pearweb/include/pepr/pepr.php diff -u pearweb/include/pepr/pepr.php:1.47 pearweb/include/pepr/pepr.php:1.48 --- pearweb/include/pepr/pepr.php:1.47 Sat Sep 4 19:56:43 2004 +++ pearweb/include/pepr/pepr.php Sat Sep 4 20:02:03 2004 @@ -22,7 +22,7 @@ * @author Daniel Convissor <danielc@php.net> * @copyright Copyright (c) 1997-2004 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License - * @version $Id: pepr.php,v 1.47 2004/09/04 23:56:43 toby Exp $ + * @version $Id: pepr.php,v 1.48 2004/09/05 00:02:03 toby Exp $ */ /**#@+ @@ -78,7 +78,6 @@ print_tabbed_navigation($items); } - function shorten_string($string) { if (strlen($string) < 80) { @@ -181,6 +180,19 @@ return new proposal($res); } + /** + * Receive a complete bunch of proposals. + * + * @param object $dbh the current DB object + * @param string $status the of the proposals to select + * @param int $limit limit the number of proposals to receive + * @param string $order an SQL expression used by the "ORDER BY" statement + * + * @return array an array of proposal objects (maybe with 0 elements, + * if no proposals received) + * + * @access public + */ function &getAll(&$dbh, $status = null, $limit = null, $order = null) { $sql = "SELECT *, UNIX_TIMESTAMP(draft_date) as draft_date,

« previous php.pear.cvs (#23641) next »