[ Index ]
 

Code source de eGroupWare 1.2.106-2

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

title

Body

[fermer]

/phpgwapi/inc/ -> class.uiaccountsel.inc.php (sommaire)

(pas de description)

Poids: 502 lignes (21 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 phpgwapi/inc/class.accounts.inc.php

Définit 1 class

uiaccountsel:: (4 méthodes):
  uiaccountsel()
  selection()
  addOption()
  popup()


Classe: uiaccountsel  - X-Ref

User Interface for account and/or group selection

uiaccountsel($account_id = '', $account_type='')   X-Ref
Pas de description

selection($name,$element_id,$selected,$use='accounts',$lines=0,$not=False,$options='',$onchange='',$select=False,$nohtml=false)   X-Ref
Create an account-selection for a certain range of users

param: $name string name of the form-element
param: $element_id string id of the form-element, this need to be unique for the whole window !!!
param: $selected array/int user-id or array of user-id's which are already selected
param: $use string 'accounts', 'groups', 'owngroups', 'both' or app-name for all accounts with run-rights.
param: $lines int number of lines for multiselection or 0 for a single selection
param: $not int/array user-id or array of user-id's not to display in selection, default False = display all
param: $options    additional options (e.g. style)
param: $onchange javascript to execute if the selection changes, eg. to reload the page
param: $select array/bool/string array with id's as keys or values. If the id is in the key and the value is a string,
param: $nohtml boolean if true, returns an array with the key 'selected' as the selected participants,
return: the necessary html

addOption(id,label,value,do_onchange)   X-Ref
Pas de description

popup()   X-Ref
Pas de description



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