[ Index ]

Source Code Reference for V1.00

title

Body

[close]

/modules/calendar/ -> calendar.class.php (summary)

(no description)

File Size: 959 lines (30 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

CMonthCalendar:: (13 methods):
  CMonthCalendar()
  setDate()
  setStyles()
  setLinkFunctions()
  setCallback()
  setEvents()
  setHighlightedDays()
  show()
  _drawTitle()
  _drawDays()
  _drawMain()
  _drawWeek()
  _drawEvents()

CEvent:: (11 methods):
  CEvent()
  check()
  delete()
  getRecurrentEventforPeriod()
  getEventsForPeriod()
  getAssigned()
  updateAssigned()
  notify()
  checkClash()
  getEventsInWindow()
  getAllowedRecords()


Class: CMonthCalendar  - X-Ref

Displays a configuration month calendar

All Date objects are based on the PEAR Date package
CMonthCalendar($date = null)   X-Ref

param: Date $date

setDate($date = null)   X-Ref
CMonthCalendar::setDate()

{ Description }

param: [type] $date

setStyles($title, $main)   X-Ref
CMonthCalendar::setStyles()

{ Description }


setLinkFunctions($day = '', $week = '')   X-Ref
CMonthCalendar::setLinkFunctions()

{ Description }

param: string $day
param: string $week

setCallback($function)   X-Ref
CMonthCalendar::setCallback()

{ Description }


setEvents($e)   X-Ref
CMonthCalendar::setEvents()

{ Description }


setHighlightedDays($hd)   X-Ref
CMonthCalendar::setHighlightedDays()
ie     ['20040517'] => '#ff0000',

{ Description }


show()   X-Ref
CMonthCalendar::show()

{ Description }


_drawTitle()   X-Ref
CMonthCalendar::_drawTitle()

{ Description }


_drawDays()   X-Ref
CMonthCalendar::_drawDays()

{ Description }

return: string Returns table a row with the day names

_drawMain()   X-Ref
CMonthCalendar::_drawMain()

{ Description }


_drawWeek($dateObj)   X-Ref
CMonthCalendar::_drawWeek()

{ Description }


_drawEvents($day)   X-Ref
CMonthCalendar::_drawEvents()

{ Description }


Class: CEvent  - X-Ref

Event Class

{ Description }

CEvent()   X-Ref
No description

check()   X-Ref
No description

delete()   X-Ref
Overloaded delete method

author: gregorerhardt
return: null|string null if successful otherwise returns and error message

getRecurrentEventforPeriod($start_date, $end_date, $event_start_date, $event_end_date, $event_recurs, $event_times_recuring, $j)   X-Ref
Calculating if an recurrent date is in the given period

param: Date Start date of the period
param: Date End date of the period
param: Date Start date of the Date Object
param: Date End date of the Date Object
param: integer Type of Recurrence
param: integer Times of Recurrence
param: integer Time of Recurrence
return: array Calculated Start and End Dates for the recurrent Event for the given Period

getEventsForPeriod($start_date, $end_date, $filter = 'all', $user_id = null, $project_id = 0, $company_id = 0)   X-Ref
Utility function to return an array of events with a period

param: Date Start date of the period
param: Date End date of the period
return: array A list of events

getAssigned()   X-Ref
No description

updateAssigned($assigned)   X-Ref
No description

notify($assignees, $update = false, $clash = false)   X-Ref
No description

checkClash($userlist = null)   X-Ref
No description

getEventsInWindow($start_date, $end_date, $start_time, $end_time, $users = null)   X-Ref
No description

getAllowedRecords($uid, $fields = '*', $orderby = '', $index = null, $extra = null)   X-Ref
No description



Generated: Wed Jan 7 03:00:01 2009 Cross-referenced by PHPXref 0.7