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

Class: FTSelect

Source Location: /Widgets/FT/FTSelect.php

Class Overview

PEAR
   |
   --BifWidget
      |
      --FTItem
         |
         --FTSelect

Implements a FormSelect ready to use inside a FT.


Author(s):

Version:

  • $Revision: 1.10 $

Methods


Inherited Variables

Inherited Methods


Class Details

[line 29]
Implements a FormSelect ready to use inside a FT.



Tags:

see:  FormSelect
see:  FTItem::FTItem()
version:  $Revision: 1.10 $
author:  Nicolás D. César <ncesar@lunix.com.ar>


[ Top ]


Class Methods


constructor FTSelect [line 39]

FTSelect FTSelect( [$attrs $attrs = array()])

{{{ function FTSelect

Instantiate a FTSelect widget.

This constructor inherits attributes from FTItem: DESCRIPTION, ITEM, HELP and ERROR.




Parameters:

$attrs   $attrs   Instance's attributes specified as a hash in CAPS.

[ Top ]

method addChild [line 58]

void addChild( mixed &$obj)



[ Top ]

method addOption [line 54]

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

{{{ function addOption

Add option to options list on select widget




Parameters:

string   $value   value Option's real value.
string   $desc   desc Option's description (appears on the page).
bool   $selected   selected True if this option should be selected (Default: false).

[ Top ]


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