[limb-svn] r6433 - 3.x/trunk/limb/datetime/src

svn at limb-project.com svn at limb-project.com
Thu Oct 18 11:12:09 MSD 2007


Author: korchasa
Date: 2007-10-18 11:12:09 +0400 (Thu, 18 Oct 2007)
New Revision: 6433
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6433

Modified:
   3.x/trunk/limb/datetime/src/lmbDate.class.php
Log:
-- PHPDoc update

Modified: 3.x/trunk/limb/datetime/src/lmbDate.class.php
===================================================================
--- 3.x/trunk/limb/datetime/src/lmbDate.class.php	2007-10-17 12:09:01 UTC (rev 6432)
+++ 3.x/trunk/limb/datetime/src/lmbDate.class.php	2007-10-18 07:12:09 UTC (rev 6433)
@@ -72,9 +72,20 @@
       throw new lmbException("Could not create date using args", $args);
     }
   }
-
-  /**
-   * Wrapper around constructor, it can be useful since the following is not allowed in PHP 'new lmbDate(..)->addDay(..)->'
+
+  /**
+   * Wrapper around constructor
+   * 
+   * It can be useful since the following is not allowed in PHP 'new lmbDate(..)->addDay(..)->'
+   *
+   * @param integer $year_or_date
+   * @param integer $month_or_tz
+   * @param integer $day
+   * @param integer $hour
+   * @param integer $minute
+   * @param integer $second
+   * @param string $tz
+   * @return lmbDate
    */
   static function create($year_or_date=null, $month_or_tz=null, $day=null, $hour=0, $minute=0, $second=0, $tz='')
   {
@@ -83,7 +94,7 @@
     else
       return new lmbDate($year_or_date, $month_or_tz);
   }
-
+
   static function createByDays($days)
   {
     $days   -= 1721119;



More information about the limb-svn mailing list