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

Class: FormSelect

Source Location: /Widgets/Basic/FormSelect.php

Class Overview

PEAR
   |
   --BifWidget
      |
      --BifContainer
         |
         --FormSelect

Form's Selection


Author(s):

Version:

  • $Revision: 1.11 $

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 29]
Form's Selection

This is a Basic form widget, HTML's <select></select> It should only have FormSelectItem childs!

Note: you can call method addOption(value, description, selected) to add options to the selection.




Tags:

version:  $Revision: 1.11 $
author:  Nicolas Cesar <ncesar@lunix.com.ar>


[ Top ]


Class Variables

$oneSelected = 0

[line 43]


Type:   mixed


[ Top ]

$options = array()

[line 41]


Type:   mixed


[ Top ]



Class Methods


constructor FormSelect [line 36]

FormSelect FormSelect( [$attrs $attrs = array()], string 1, string 2)

{{{ function Constructor



Parameters:

string   1   NAME Select's name
string   2   VALUE In case you need the selection in a specific value
$attrs   $attrs   Instance's attributes specified as a hash with the following keys: (in CAPS!)

[ Top ]

method addOption [line 61]

void addOption( mixed $value, mixed $desc, [mixed $selected = false])



[ Top ]

method formatted [line 66]

void formatted( )



[ Top ]

method preChilds [line 45]

void preChilds( )



Overrides BifContainer::preChilds() (parent method not documented)

[ Top ]


Documentation generated on Wed, 10 Nov 2004 19:41:38 -0300 by phpDocumentor 1.2.3