Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
month.inc.php File Reference

Namespaces

namespace  calendar

Functions

 print_month_events ($month_obj, $max_events, $day_timestamp)
 month_up_down (&$month_obj, $day_timestamp, $step, $max_events)

Variables

 $tooltip = tooltip(_("ein Jahr zurück"))
 $weekdays_german = array("MO", "DI", "MI", "DO", "FR", "SA", "SO")
 $adow = strftime("%u", $amonth->getStart()) - 1
 $first_day = $amonth->getStart() - $adow * 86400 + 43200
 $cor = 0
 $last_day
 for ($i=$first_day, $j=0;$i<=$last_day;$i+=86400, $j++)

Function Documentation

month_up_down ( $month_obj,
  $day_timestamp,
  $step,
  $max_events 
)

Up-/down-navigation if there are more events per day than the given number

private

Parameters
object&$month_objinstance of DbCalendarMonth
int$day_timestampunix timestamp of this day
int$stepthe current step
int$max_eventsthe number of events per step

Here is the call graph for this function:

print_month_events (   $month_obj,
  $max_events,
  $day_timestamp 
)

Print a list of events for each day of month

public

Parameters
object$month_objinstance of DbCalendarMonth
int$max_eventsthe number of events to print
int$day_timestampunix timestamp of the day

Here is the call graph for this function:

Variable Documentation

$adow = strftime("%u", $amonth->getStart()) - 1
$cor = 0
$first_day = $amonth->getStart() - $adow * 86400 + 43200
$last_day
Initial value:
((42 - ($adow + date("t",$amonth->getStart()))) % 7 + $cor) * 86400
+ $amonth->getEnd() - 43199
$tooltip = tooltip(_("ein Jahr zurück"))
$weekdays_german = array("MO", "DI", "MI", "DO", "FR", "SA", "SO")
for($i=$first_day, $j=0;$i<=$last_day;$i+=86400, $j++)