[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pear-cvs
Subject:    [PEAR-CVS] cvs: pear /Calendar/Util Textual.php Uri.php
From:       "Lorenzo Alberton" <quipo () php ! net>
Date:       2007-10-31 18:27:49
Message-ID: cvsquipo1193855269 () cvsserver
[Download RAW message or body]

quipo		Wed Oct 31 18:27:49 2007 UTC

  Modified files:              
    /pear/Calendar/Util	Textual.php Uri.php 
  Log:
  phpdoc CS
  
["quipo-20071031182749.txt" (text/plain)]

http://cvs.php.net/viewvc.cgi/pear/Calendar/Util/Textual.php?r1=1.4&r2=1.5&diff_format=u
Index: pear/Calendar/Util/Textual.php
diff -u pear/Calendar/Util/Textual.php:1.4 pear/Calendar/Util/Textual.php:1.5
--- pear/Calendar/Util/Textual.php:1.4	Mon Oct 22 12:51:16 2007
+++ pear/Calendar/Util/Textual.php	Wed Oct 31 18:27:49 2007
@@ -27,19 +27,19 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * @category   Date and Time
- * @package    Calendar
- * @author     Harry Fuecks <hfuecks@phppatterns.com>
- * @author     Lorenzo Alberton <l dot alberton at quipo dot it>
- * @copyright  2003-2007 Harry Fuecks, Lorenzo Alberton
- * @license    http://www.debian.org/misc/bsd.license  BSD License (3 Clause)
- * @version    CVS: $Id: Textual.php,v 1.4 2007/10/22 12:51:16 quipo Exp $
- * @link       http://pear.php.net/package/Calendar
+ * @category  Date and Time
+ * @package   Calendar
+ * @author    Harry Fuecks <hfuecks@phppatterns.com>
+ * @author    Lorenzo Alberton <l.alberton@quipo.it>
+ * @copyright 2003-2007 Harry Fuecks, Lorenzo Alberton
+ * @license   http://www.debian.org/misc/bsd.license  BSD License (3 Clause)
+ * @version   CVS: $Id: Textual.php,v 1.5 2007/10/31 18:27:49 quipo Exp $
+ * @link      http://pear.php.net/package/Calendar
  */
 
 /**
  * @package Calendar
- * @version $Id: Textual.php,v 1.4 2007/10/22 12:51:16 quipo Exp $
+ * @version $Id: Textual.php,v 1.5 2007/10/31 18:27:49 quipo Exp $
  */
 
 /**
@@ -59,26 +59,28 @@
  * Static utlities to help with fetching textual representations of months and
  * days of the week.
  *
- * @category   Date and Time
- * @package    Calendar
- * @author     Harry Fuecks <hfuecks@phppatterns.com>
- * @author     Lorenzo Alberton <l dot alberton at quipo dot it>
- * @copyright  2003-2007 Harry Fuecks, Lorenzo Alberton
- * @license    http://www.debian.org/misc/bsd.license  BSD License (3 Clause)
- * @link       http://pear.php.net/package/Calendar
- * @access     public
+ * @category  Date and Time
+ * @package   Calendar
+ * @author    Harry Fuecks <hfuecks@phppatterns.com>
+ * @author    Lorenzo Alberton <l.alberton@quipo.it>
+ * @copyright 2003-2007 Harry Fuecks, Lorenzo Alberton
+ * @license   http://www.debian.org/misc/bsd.license  BSD License (3 Clause)
+ * @link      http://pear.php.net/package/Calendar
+ * @access    public
  */
 class Calendar_Util_Textual
 {
 
     /**
      * Returns an array of 12 month names (first index = 1)
+     *
      * @param string (optional) format of returned months (one,two,short or long)
+     *
      * @return array
      * @access public
      * @static
      */
-    function monthNames($format='long')
+    function monthNames($format = 'long')
     {
         $formats = array('one'=>'%b', 'two'=>'%b', 'short'=>'%b', 'long'=>'%B');
         if (!array_key_exists($format,$formats)) {
@@ -103,7 +105,9 @@
 
     /**
      * Returns an array of 7 week day names (first index = 0)
+     *
      * @param string (optional) format of returned days (one,two,short or long)
+     *
      * @return array
      * @access public
      * @static
@@ -133,8 +137,10 @@
 
     /**
      * Returns textual representation of the previous month of the decorated calendar object
+     *
      * @param object subclass of Calendar e.g. Calendar_Month
      * @param string (optional) format of returned months (one,two,short or long)
+     *
      * @return string
      * @access public
      * @static
@@ -147,8 +153,10 @@
 
     /**
      * Returns textual representation of the month of the decorated calendar object
+     *
      * @param object subclass of Calendar e.g. Calendar_Month
      * @param string (optional) format of returned months (one,two,short or long)
+     *
      * @return string
      * @access public
      * @static
@@ -161,8 +169,10 @@
 
     /**
      * Returns textual representation of the next month of the decorated calendar object
+     *
      * @param object subclass of Calendar e.g. Calendar_Month
      * @param string (optional) format of returned months (one,two,short or long)
+     *
      * @return string
      * @access public
      * @static
@@ -176,8 +186,10 @@
     /**
      * Returns textual representation of the previous day of week of the decorated calendar object
      * <b>Note:</b> Requires PEAR::Date
+     *
      * @param object subclass of Calendar e.g. Calendar_Month
      * @param string (optional) format of returned months (one,two,short or long)
+     *
      * @return string
      * @access public
      * @static
@@ -196,8 +208,10 @@
     /**
      * Returns textual representation of the day of week of the decorated calendar object
      * <b>Note:</b> Requires PEAR::Date
+     *
      * @param object subclass of Calendar e.g. Calendar_Month
      * @param string (optional) format of returned months (one,two,short or long)
+     *
      * @return string
      * @access public
      * @static
@@ -212,8 +226,10 @@
 
     /**
      * Returns textual representation of the next day of week of the decorated calendar object
+     *
      * @param object subclass of Calendar e.g. Calendar_Month
      * @param string (optional) format of returned months (one,two,short or long)
+     *
      * @return string
      * @access public
      * @static
@@ -233,8 +249,10 @@
      * Returns the days of the week using the order defined in the decorated
      * calendar object. Only useful for Calendar_Month_Weekdays, Calendar_Month_Weeks
      * and Calendar_Week. Otherwise the returned array will begin on Sunday
+     *
      * @param object subclass of Calendar e.g. Calendar_Month
      * @param string (optional) format of returned months (one,two,short or long)
+     *
      * @return array ordered array of week day names
      * @access public
      * @static
http://cvs.php.net/viewvc.cgi/pear/Calendar/Util/Uri.php?r1=1.3&r2=1.4&diff_format=u
Index: pear/Calendar/Util/Uri.php
diff -u pear/Calendar/Util/Uri.php:1.3 pear/Calendar/Util/Uri.php:1.4
--- pear/Calendar/Util/Uri.php:1.3	Mon Oct 22 12:51:16 2007
+++ pear/Calendar/Util/Uri.php	Wed Oct 31 18:27:49 2007
@@ -27,14 +27,14 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * @category   Date and Time
- * @package    Calendar
- * @author     Harry Fuecks <hfuecks@phppatterns.com>
- * @author     Lorenzo Alberton <l dot alberton at quipo dot it>
- * @copyright  2003-2007 Harry Fuecks, Lorenzo Alberton
- * @license    http://www.debian.org/misc/bsd.license  BSD License (3 Clause)
- * @version    CVS: $Id: Uri.php,v 1.3 2007/10/22 12:51:16 quipo Exp $
- * @link       http://pear.php.net/package/Calendar
+ * @category  Date and Time
+ * @package   Calendar
+ * @author    Harry Fuecks <hfuecks@phppatterns.com>
+ * @author    Lorenzo Alberton <l.alberton@quipo.it>
+ * @copyright 2003-2007 Harry Fuecks, Lorenzo Alberton
+ * @license   http://www.debian.org/misc/bsd.license  BSD License (3 Clause)
+ * @version   CVS: $Id: Uri.php,v 1.4 2007/10/31 18:27:49 quipo Exp $
+ * @link      http://pear.php.net/package/Calendar
  */
 
 /**
@@ -50,14 +50,14 @@
  * echo $Uri->prev($Day,'day'); // Displays 2003/10/22
  * </code>
  *
- * @category   Date and Time
- * @package    Calendar
- * @author     Harry Fuecks <hfuecks@phppatterns.com>
- * @author     Lorenzo Alberton <l dot alberton at quipo dot it>
- * @copyright  2003-2007 Harry Fuecks, Lorenzo Alberton
- * @license    http://www.debian.org/misc/bsd.license  BSD License (3 Clause)
- * @link       http://pear.php.net/package/Calendar
- * @access     public
+ * @category  Date and Time
+ * @package   Calendar
+ * @author    Harry Fuecks <hfuecks@phppatterns.com>
+ * @author    Lorenzo Alberton <l.alberton@quipo.it>
+ * @copyright 2003-2007 Harry Fuecks, Lorenzo Alberton
+ * @license   http://www.debian.org/misc/bsd.license  BSD License (3 Clause)
+ * @link      http://pear.php.net/package/Calendar
+ * @access    public
  */
 class Calendar_Util_Uri
 {
@@ -88,12 +88,14 @@
     /**
      * Constructs Calendar_Decorator_Uri
      * The term "fragment" means <i>name</i> of a calendar GET variables in the URL
+     *
      * @param string URI fragment for year
      * @param string (optional) URI fragment for month
      * @param string (optional) URI fragment for day
      * @param string (optional) URI fragment for hour
      * @param string (optional) URI fragment for minute
      * @param string (optional) URI fragment for second
+     *
      * @access public
      */
     function Calendar_Util_Uri($y, $m=null, $d=null, $h=null, $i=null, $s=null)
@@ -103,12 +105,14 @@
 
     /**
      * Sets the URI fragment names
+     *
      * @param string URI fragment for year
      * @param string (optional) URI fragment for month
      * @param string (optional) URI fragment for day
      * @param string (optional) URI fragment for hour
      * @param string (optional) URI fragment for minute
      * @param string (optional) URI fragment for second
+     *
      * @return void
      * @access public
      */
@@ -123,8 +127,10 @@
 
     /**
      * Gets the URI string for the previous calendar unit
+     *
      * @param object subclassed from Calendar e.g. Calendar_Month
      * @param string calendar unit ( must be year, month, week, day, hour, minute or second)
+     *
      * @return string
      * @access public
      */
@@ -137,8 +143,10 @@
 
     /**
      * Gets the URI string for the current calendar unit
+     *
      * @param object subclassed from Calendar e.g. Calendar_Month
      * @param string calendar unit ( must be year, month, week, day, hour, minute or second)
+     *
      * @return string
      * @access public
      */
@@ -151,8 +159,10 @@
 
     /**
      * Gets the URI string for the next calendar unit
+     *
      * @param object subclassed from Calendar e.g. Calendar_Month
      * @param string calendar unit ( must be year, month, week, day, hour, minute or second)
+     *
      * @return string
      * @access public
      */
@@ -165,8 +175,10 @@
 
     /**
      * Build the URI string
+     *
      * @param string method substring
      * @param int timestamp
+     *
      * @return string build uri string
      * @access private
      */



-- 
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic