Dokeos
[ class tree: Dokeos ] [ index: Dokeos ] [ all elements ]

Class: HTML_QuickForm_receivers

Source Location: /main/inc/lib/formvalidator/Element/receivers.php

Class Overview

HTML_QuickForm_group
   |
   --HTML_QuickForm_receivers

Form element to select receivers


Variables

Methods



Class Details

[line 34]
Form element to select receivers

This element contains 1 radio-buttons. One with label 'everybody' and one with label 'select users/groups'. Only if the second radio-button is selected, 2 select-list show up. The user can move items between the 2 checkboxes.




[ Top ]


Class Variables

$receivers =

[line 39]

Array of all receivers


Type:   mixed


[ Top ]

$receivers_selected =

[line 43]

Array of selected receivers


Type:   mixed


[ Top ]



Class Methods


constructor HTML_QuickForm_receivers [line 51]

HTML_QuickForm_receivers HTML_QuickForm_receivers( [string $elementName = null], [string $elementLabel = null], [array $attributes = null])

Constructor



Parameters:

string   $elementName  
string   $elementLabel  
array   $attributes   This should contain the keys 'receivers' and 'receivers_selected'

[ Top ]

method accept [line 111]

void accept( &$renderer, [ $required = false], [ $error = null])

accept renderer



Parameters:

   &$renderer  
   $required  
   $error  

[ Top ]

method getElementJS [line 91]

void getElementJS( )

Get the necessary javascript



[ Top ]

method toHtml [line 76]

void toHtml( )

HTML representation



[ Top ]

method _createElements [line 65]

void _createElements( )

Create the form elements to build this element group



[ Top ]


Documentation generated on Wed, 05 Sep 2007 06:15:04 +0200 by phpDocumentor 1.4.0