cvs: pear /Calendar Month.php
| From: | Lorenzo Alberton | Date: | Sat, 22 Oct 2005 10:10:27 +0000 |
| Subject: | cvs: pear /Calendar Month.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35779@lists.php.net to get a copy of this message | ||
quipo Sat Oct 22 06:10:27 2005 EDT
Modified files:
/pear/Calendar Month.php
Log:
set $this->firstDay
http://cvs.php.net/diff.php/pear/Calendar/Month.php?r1=1.2&r2=1.3&ty=u
Index: pear/Calendar/Month.php
diff -u pear/Calendar/Month.php:1.2 pear/Calendar/Month.php:1.3
--- pear/Calendar/Month.php:1.2 Thu Oct 20 14:43:17 2005
+++ pear/Calendar/Month.php Sat Oct 22 06:10:26 2005
@@ -17,11 +17,11 @@
// | Authors: Harry Fuecks <hfuecks@phppatterns.com> |
// +----------------------------------------------------------------------+
//
-// $Id: Month.php,v 1.2 2005/10/20 18:43:17 quipo Exp $
+// $Id: Month.php,v 1.3 2005/10/22 10:10:26 quipo Exp $
//
/**
* @package Calendar
- * @version $Id: Month.php,v 1.2 2005/10/20 18:43:17 quipo Exp $
+ * @version $Id: Month.php,v 1.3 2005/10/22 10:10:26 quipo Exp $
*/
/**
@@ -54,14 +54,15 @@
{
/**
* Constructs Calendar_Month
- * @param int year e.g. 2003
- * @param int month e.g. 5
- * @param int (optional) unused in this class
+ * @param int $y year e.g. 2003
+ * @param int $m month e.g. 5
+ * @param int $firstDay first day of the week [optional]
* @access public
*/
function Calendar_Month($y, $m, $firstDay=null)
{
Calendar::Calendar($y, $m);
+ $this->firstDay = $this->defineFirstDayOfWeek($firstDay);
}
/**