Stud.IP  2.4 Revision 48548
 All Data Structures Namespaces Files Functions Variables Groups Pages
calendar_visual.inc.php File Reference

Namespaces

namespace  calendar

Functions

 createEventMatrix ($day_obj, $start, $end, $step, $params=NULL)
 maxValue ($term, $st)
 adapt_events ($day_obj, $start, $end, $step=900)
 create_month_view (&$calendar, $atime, $step=NULL)
 to_string_month_events (&$calendar, $day_timestamp, $max_events=NULL)
 create_year_view (&$calendar)
 javascript_hover_year (&$calendar, $day_time)
 includeMonth ($imt, $href, $mod= '', $js_include= '', $ptime= '')
 fit_title ($title, $cols, $rows, $max_length, $end_str="...", $pad=TRUE)
 js_hover (Event $aterm)
 info_icons (&$event)
 quick_search_form ($search_string, $cmd, $atime)

Function Documentation

adapt_events (   $day_obj,
  $start,
  $end,
  $step = 900 
)

Here is the caller graph for this function:

create_month_view ( $calendar,
  $atime,
  $step = NULL 
)

Here is the call graph for this function:

Here is the caller graph for this function:

create_year_view ( $calendar)

Here is the call graph for this function:

Here is the caller graph for this function:

createEventMatrix (   $day_obj,
  $start,
  $end,
  $step,
  $params = NULL 
)

Here is the call graph for this function:

fit_title (   $title,
  $cols,
  $rows,
  $max_length,
  $end_str = "...",
  $pad = TRUE 
)

Here is the call graph for this function:

Here is the caller graph for this function:

includeMonth (   $imt,
  $href,
  $mod = '',
  $js_include = '',
  $ptime = '' 
)

Creates a small month view.

public

Parameters
int$imtA unix time stamp within the time range of the month.
string$hrefThe part of the query with parameters needed for the script where this calendar is embedded.
int$modPossible modifications are: 'NOKW' hide calendar weeks; 'NONAVARROWS': hide navigation arrows;
'NONAV': calendar weeks will not be linked to the calendars week view.
string$js_includeJava Script triggered by onClick event handler.
int$ptimeThe day with this time stamp gets a red border.

Here is the call graph for this function:

info_icons ( $event)

Here is the call graph for this function:

javascript_hover_year ( $calendar,
  $day_time 
)

Here is the call graph for this function:

Here is the caller graph for this function:

js_hover ( Event  $aterm)

Here is the call graph for this function:

Here is the caller graph for this function:

maxValue (   $term,
  $st 
)

Here is the caller graph for this function:

quick_search_form (   $search_string,
  $cmd,
  $atime 
)

Here is the call graph for this function:

to_string_month_events ( $calendar,
  $day_timestamp,
  $max_events = NULL 
)

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:

Here is the caller graph for this function: