form. inc.php
Summary
xajax HTML control class libraryPlease see copyright.inc.php for a detailed description, copyright and license information. clsSelectA xajaxControlContainer derived class that assists in the construction of an HTML select control. This control can only accept clsOption controls as children. Summary
clsSelect
Construct and initialize an instance of the class. See xajaxControlContainer for details regarding the aConfiguration parameter. addOptions
Used to add a list of options.
clsOptionGroupA xajaxControlContainer derived class that can be used around a list of clsOption objects to help the user find items in a select list. Summary
addOptions
Used to add a list of options.
clsOptionA xajaxControlContainer derived class that assists with the construction of HTML option tags that will be assigned to an HTML select tag. This control can only accept <clsLiteral> objects as children. clsOption
Constructs and initializes an instance of this class. See xajaxControlContainer for more information regarding the aConfiguration parameter. |
Construct and initialize an instance of the class.
function clsSelect( $aConfiguration = array() )
Used to add a single option to the options list.
function addOption( $sValue, $sText )
Used to add a list of options.
function addOptions( $aOptions, $aFields = array() )
Used to add a single option to the options list.
function addOption( $sValue, $sText )
Used to add a list of options.
function addOptions( $aOptions, $aFields = array() )
Constructs and initializes an instance of this class.
function clsOption( $aConfiguration = array() )
Used to set the value associated with this option.
function setValue( $sValue )
Sets the text to be shown in the select control when this is the selected option.
function setText( $sText )