[ 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.uilist.inc.php (sommaire)

(pas de description)

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

Définit 1 class

uilist:: (5 méthodes):
  uilist()
  home()
  listview()
  adjust_for_search()
  get_rows()


Classe: uilist  - X-Ref

Class to generate the calendar listview and the search

The new UI, BO and SO classes have a strikt definition, in which time-zone they operate:
UI only operates in user-time, so there have to be no conversation at all !!!
BO's functions take and return user-time only (!), they convert internaly everything to servertime, because
SO operates only on server-time

The state of the UI elements is managed in the uical class, which all UI classes extend.

All permanent debug messages of the calendar-code should done via the debug-message method of the bocal class !!!

uilist($set_states=null)   X-Ref
Constructor

param: array $set_states=null to manualy set / change one of the states, default NULL = use $_REQUEST

home()   X-Ref
Show the calendar on the home page

return: string with content

listview($content=null,$msg='',$home=false)   X-Ref
Show the listview


adjust_for_search($keywords,&$params)   X-Ref
set filter for search, so that everything is shown


get_rows(&$params,&$rows,&$readonlys)   X-Ref
query calendar for nextmatch in the listview

param: array &$params parameters
param: array &$rows returned rows/events
param: array &$readonlys eg. to disable buttons based on acl



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