Ignore:
Timestamp:
Nov 17, 2013, 4:03:32 PM (10 years ago)
Author:
mistic100
Message:

feature 2999 : documentation of include/functions_calendar.inc.php and Calendar classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_calendar.inc.php

    r25018 r25507  
    2222// +-----------------------------------------------------------------------+
    2323
     24/**
     25 * @package functions\calendar
     26 */
     27
     28/** URL keyword for list view */
    2429define('CAL_VIEW_LIST',     'list');
     30/** URL keyword for calendar view */
    2531define('CAL_VIEW_CALENDAR', 'calendar');
    2632
     33
     34/**
     35 * Initialize _$page_ and _$template_ vars for calendar view.
     36 */
    2737function initialize_calendar()
    2838{
     
    125135  $cal_style = $page['chronology_style'];
    126136  include(PHPWG_ROOT_PATH.'include/'. $styles[$cal_style]['include']);
    127   $calendar = new Calendar();
     137  // TODO : class name overlap, rename them in CalendarMonth and CalendarWeek
     138  $calendar = new Calendar();
    128139
    129140  // Retrieve view
     
    290301  pwg_debug('end initialize_calendar');
    291302}
     303
    292304?>
Note: See TracChangeset for help on using the changeset viewer.