@@ -395,7 +395,7 @@ discard block |
||
395 | 395 | * |
396 | 396 | * @return int e.g. 4 or Unix timestamp |
397 | 397 | * @access public |
398 | - */ |
|
398 | + */ |
|
399 | 399 | function prevMonth($format = 'int') |
400 | 400 | { |
401 | 401 | return $this->calendar->prevMonth($format); |
@@ -434,7 +434,7 @@ discard block |
||
434 | 434 | * |
435 | 435 | * @return int e.g. 4 or Unix timestamp |
436 | 436 | * @access public |
437 | - */ |
|
437 | + */ |
|
438 | 438 | function prevWeek($format = 'n_in_month') |
439 | 439 | { |
440 | 440 | if ( method_exists($this->calendar, 'prevWeek')) { |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Description: client for the SOAP Calendar Server |
|
4 | - */ |
|
3 | + * Description: client for the SOAP Calendar Server |
|
4 | + */ |
|
5 | 5 | if ( version_compare(phpversion(), "5.0.0", ">") ) { |
6 | 6 | die('PHP 5 has problems with PEAR::SOAP Client (8.0RC3) |
7 | 7 | - remove @ before include below to see why'); |
@@ -19,15 +19,15 @@ discard block |
||
19 | 19 | class MonthDecorator extends Calendar_Decorator |
20 | 20 | { |
21 | 21 | /** |
22 | - * @param Calendar_Month |
|
23 | - */ |
|
22 | + * @param Calendar_Month |
|
23 | + */ |
|
24 | 24 | function MonthDecorator(& $Month) |
25 | 25 | { |
26 | 26 | parent::Calendar_Decorator($Month); |
27 | 27 | } |
28 | 28 | /** |
29 | - * Override the prevMonth method to format the output |
|
30 | - */ |
|
29 | + * Override the prevMonth method to format the output |
|
30 | + */ |
|
31 | 31 | function prevMonth() |
32 | 32 | { |
33 | 33 | $prevStamp = parent::prevMonth(TRUE); |
@@ -36,8 +36,8 @@ discard block |
||
36 | 36 | '&m='.date('n',$prevStamp).'&d='.date('j',$prevStamp); |
37 | 37 | } |
38 | 38 | /** |
39 | - * Override the thisMonth method to format the output |
|
40 | - */ |
|
39 | + * Override the thisMonth method to format the output |
|
40 | + */ |
|
41 | 41 | function thisMonth() |
42 | 42 | { |
43 | 43 | $thisStamp = parent::thisMonth(TRUE); |
@@ -45,8 +45,8 @@ discard block |
||
45 | 45 | return date('F Y',$thisStamp); |
46 | 46 | } |
47 | 47 | /** |
48 | - * Override the nextMonth method to format the output |
|
49 | - */ |
|
48 | + * Override the nextMonth method to format the output |
|
49 | + */ |
|
50 | 50 | function nextMonth() |
51 | 51 | { |
52 | 52 | $nextStamp = parent::nextMonth(TRUE); |
@@ -22,8 +22,8 @@ |
||
22 | 22 | { |
23 | 23 | $this->__dispatch_map['getMonth'] = |
24 | 24 | array('in' => array('year' => 'int', 'month'=>'int'), |
25 | - 'out' => array('month' => '{urn:PEAR_SOAP_Calendar}Month'), |
|
26 | - ); |
|
25 | + 'out' => array('month' => '{urn:PEAR_SOAP_Calendar}Month'), |
|
26 | + ); |
|
27 | 27 | $this->__typedef['Month'] = array ( |
28 | 28 | 'monthname' => 'string', |
29 | 29 | 'days' => '{urn:PEAR_SOAP_Calendar}MonthDays' |
@@ -107,7 +107,7 @@ |
||
107 | 107 | echo ( "<tr>\n" ); |
108 | 108 | |
109 | 109 | if ( $Day->isSelected() ) { |
110 | - echo ( "<td class=\"selected\">".$Day->thisDay()."</td>\n" ); |
|
110 | + echo ( "<td class=\"selected\">".$Day->thisDay()."</td>\n" ); |
|
111 | 111 | } elseif ( $Day->isEmpty() ) { |
112 | 112 | echo ( "<td> </td>\n" ); |
113 | 113 | } else { |
@@ -113,7 +113,7 @@ |
||
113 | 113 | echo "<tr>\n"; |
114 | 114 | |
115 | 115 | if ($day->isSelected()) { |
116 | - echo '<td class="selected">'.$day->thisDay().'</td>'."\n"; |
|
116 | + echo '<td class="selected">'.$day->thisDay().'</td>'."\n"; |
|
117 | 117 | } elseif ($day->isEmpty()) { |
118 | 118 | echo '<td> </td>'."\n"; |
119 | 119 | } else { |
@@ -106,7 +106,7 @@ |
||
106 | 106 | case 6: |
107 | 107 | case 9: |
108 | 108 | echo "</tr>\n<tr>\n"; |
109 | - break; |
|
109 | + break; |
|
110 | 110 | case 12: |
111 | 111 | echo "</tr>\n"; |
112 | 112 | break; |
@@ -97,11 +97,11 @@ |
||
97 | 97 | { |
98 | 98 | include_once CALENDAR_ROOT.'Minute.php'; |
99 | 99 | $mIH = $this->cE->getMinutesInHour($this->year, $this->month, $this->day, |
100 | - $this->hour); |
|
100 | + $this->hour); |
|
101 | 101 | for ($i=0; $i < $mIH; ++$i) { |
102 | 102 | $this->children[$i] = |
103 | 103 | new Calendar_Minute($this->year, $this->month, $this->day, |
104 | - $this->hour, $i); |
|
104 | + $this->hour, $i); |
|
105 | 105 | } |
106 | 106 | if (count($sDates) > 0) { |
107 | 107 | $this->setSelection($sDates); |
@@ -499,7 +499,7 @@ discard block |
||
499 | 499 | if (defined('CALENDAR_FIRST_DAY_OF_WEEK')) { |
500 | 500 | if (!is_null($firstDay) && ($firstDay != CALENDAR_FIRST_DAY_OF_WEEK)) { |
501 | 501 | $msg = 'CALENDAR_FIRST_DAY_OF_WEEK constant already defined.' |
502 | - .' The $firstDay parameter will be ignored.'; |
|
502 | + .' The $firstDay parameter will be ignored.'; |
|
503 | 503 | trigger_error($msg, E_USER_WARNING); |
504 | 504 | } |
505 | 505 | |
@@ -738,8 +738,8 @@ discard block |
||
738 | 738 | } |
739 | 739 | |
740 | 740 | /** |
741 | - * Returns the value for the next minute |
|
742 | - * |
|
741 | + * Returns the value for the next minute |
|
742 | + * |
|
743 | 743 | * @param string $format return value format ['int'|'timestamp'|'object'|'array'] |
744 | 744 | * |
745 | 745 | * @return int e.g. 25 or timestamp |
@@ -774,8 +774,8 @@ discard block |
||
774 | 774 | /** |
775 | 775 | * Returns the value for this second |
776 | 776 | * |
777 | - * @param string $format return value format ['int'|'timestamp'|'object'|'array'] |
|
778 | - * |
|
777 | + * @param string $format return value format ['int'|'timestamp'|'object'|'array'] |
|
778 | + * |
|
779 | 779 | * @return int e.g. 44 or timestamp |
780 | 780 | * @access public |
781 | 781 | */ |