[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/calendar/inc/ -> class.bocalendar.inc.php (sommaire)

(pas de description)

Poids: 348 lignes (11 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 calendar/inc/class.bocalupdate.inc.php

Définit 1 class

bocalendar:: (8 méthodes):
  bocalendar()
  list_methods()
  read()
  delete()
  write()
  search()
  xmlrpc_prepare()
  categories()


Classe: bocalendar  - X-Ref

Class to access AND manipulate calendar data via XMLRPC or SOAP

eGW's xmlrpc interface is documented at http://egroupware.org/wiki/xmlrpc

bocalendar()   X-Ref
Pas de description

list_methods($_type='xmlrpc')   X-Ref
This handles introspection or discovery by the logged in client,
in which case the input might be an array.  The server always calls
this function to fill the server dispatch map using a string.

param: string/array $_type string or array with key 'type' for type of interface: xmlrpc or soap
return: array

read($id)   X-Ref
Read a single entry

param: int/array $id
return: array with event(s) or XMLRPC error not_existent or no_access

delete($ids)   X-Ref
Delete an event

param: array $ids event-id(s)
return: boolean true or XMLRPC error not_existent or no_access

write($event)   X-Ref
Add/update an event

param: array $event event-data
return: int cal-id

search($params)   X-Ref
search calendar for events

If daywise is not set or false, an XMLRPC array of events is returned, otherwise an
XMLRCP struct with date as string (eg. '20060101') and an array of events is returned.

param: array $params following keys are allowed: start, end, user (more see bocal::search)
return: array with events

xmlrpc_prepare(&$event)   X-Ref
prepare regular event-array (already with iso8601 dates) to be send by xmlrpc
- participants are send as struct/array with keys: name, email, status
- categories are send as array with cat_id - title pairs
- public is transformed to access={public|private}
- new (1.2) values get unset (eg. participant_types)

param: array &$event
return: array

categories($complete = False)   X-Ref
return array with all categories

param: boolean $complete=false false: return id => title pairs, true array with full data instead of title
return: array



Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7