[ PHPXref.com ] [ Generated: Sun Jul 20 20:47:44 2008 ] [ TUTOS 1.2 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/php/ -> appointment.pinc (summary)

(no description)

File Size: 1830 lines (57 kb)
Included or required: 39 times
Referenced: 0 times
Includes or requires: 1 file
 php/product.pinc

Defines 1 class

appointment:: (44 methods):
  appointment()
  read_result()
  read_participants()
  getNeighbours()
  delete()
  make_mail_body()
  setStartTime()
  setEndTime()
  setDescription()
  setLocation()
  setTrace()
  setRemember()
  setProduct()
  setVisitor()
  addParticipant()
  delParticipant()
  save()
  save_vote()
  getURL()
  getDelURL()
  getModURL()
  getFullName()
  getLink()
  exportXML_body()
  parseXML()
  getIcal()
  overlap()
  check_participants()
  getLocation()
  formatted()
  getTimespan()
  inside()
  transfer_ids()
  gettype()
  gettypeid()
  getHtmlIcon()
  getaddlink()
  getSelectLink()
  obj_read()
  obj_delete()
  infolist()
  checkservice()
  readCal()
  getHelpIndex()

Defines 44 functions

  cal_options()
  cal_check_against_list()
  cal_setDefault()
  cal_parse_options()
  showApps()

Class: appointment  - X-Ref

a appointment (meeting etc.)

appointment(&$dbconn)   X-Ref
No description

read_result(&$r, $pos )   X-Ref
fill the object data with a given resultset

param: Object $r    a result set object
param: int    $pos  a index in the resultset

read_participants()   X-Ref
read a list of the participants of this app


getNeighbours()   X-Ref
fill the internal neighbour list with possible objects where a object
currently attached/referencing to THIS could be reattached


delete()   X-Ref
delete the appointment in the database


make_mail_body(&$body,&$to)   X-Ref
Replaces the strings in the mail body


setStartTime(&$value)   X-Ref
set the start time


setEndTime(&$value)   X-Ref
set the end time


setDescription($value)   X-Ref
set the description


setLocation($value)   X-Ref
set the location


setTrace($value)   X-Ref
set the trace status


setRemember($value)   X-Ref
set the reminder


setProduct($new)   X-Ref
set the Product


setVisitor($new)   X-Ref
set the Visitor


addParticipant(&$obj)   X-Ref
add a participant


delParticipant($id)   X-Ref
delete a participant


save()   X-Ref
save the object to the database and sent mails if neccessary


save_vote($vote,$adr_id)   X-Ref
save the voting for an object


getURL()   X-Ref
Return a URL to this appointment


getDelURL()   X-Ref
Return a URL to delete this appointment


getModURL()   X-Ref
Return a URL to delete this appointment


getFullName()   X-Ref
Return a link to this appointment


getLink($text = -1)   X-Ref
Return a link to this appointment


exportXML_body($only_ids = false)   X-Ref
Data of XML export


parseXML($fld,$data,$attrs)   X-Ref
parse XML import


getIcal()   X-Ref
Return a ical description of this appointment as described in rfc2445
see http://www.imc.org/rfc2445


overlap(&$app)   X-Ref
return true if the given app overlap with this


check_participants(&$msg)   X-Ref
check the availablility of all participants and resources
return true on conflicts


getLocation()   X-Ref
Return a Location of Appointment


formatted()   X-Ref
put aout the formatted appointment


getTimespan()   X-Ref
get the timespan


inside(&$o)   X-Ref
checks if the appointment happens that day
Date d   true if appointment happens that day


transfer_ids(&$trans)   X-Ref
Transfer reference ids according to given table


gettype()   X-Ref
get the type of object


gettypeid()   X-Ref
get the type id of object


getHtmlIcon()   X-Ref
get the type id of object


getaddlink(&$user,&$obj,$text = "")   X-Ref
create a link where a appointment for the given object could be added
obj is ignored here


getSelectLink(&$user,$text = "")   X-Ref
create a link to a search page


obj_read(&$obj)   X-Ref
Read a list of appointments


obj_delete(&$user,&$obj)   X-Ref
a object that uses appointments is deleted


infolist(&$user,&$obj,$cols,$format = "html")   X-Ref
create a list of invoices for the given object


checkservice(&$user)   X-Ref
method called from check service
Check for appointments to remember


readCal(&$obj, &$from, &$to)   X-Ref
Read a list of appointments for one day and make it a array in the
given object
from and to are TUTOS DateTime objects


getHelpIndex()   X-Ref
get the help index


Functions
Functions that are not part of a class:

cal_options($team,$teamname)   X-Ref
options for calendar selection


cal_check_against_list(&$obj,&$uids)   X-Ref
check a date against a list of objects
returns boolean


cal_setDefault(&$user,&$uids)   X-Ref
set some defaults for calendar display


cal_parse_options(&$user,&$teamname)   X-Ref
parse the calendar options


showApps(&$user,&$obj,$cols,$ext = 0,$rows = 0)   X-Ref
List all appointments
cols > 0  make sperate rows with cols columns for each appointment




[ Powered by PHPXref - Served by Debian GNU/Linux ]