Scriptindex.de

[ Menü ]

Home
News
Scripts
Neuzugänge
Suchen
Bücher
Manuals

[ Inhalt ]

Script eintragen
Tutorial eintragen
Newsletter
Umfragen
Link zu uns
Werbung bei uns
Kontakt
Impressum

[ Statistik ]

Hits gesamt: 5202098
Hits Heute: 201
max. Hits (10.07.07): 6964
User Online: 43
Scripts: 2828

[ Partner ]

CodeBase
I.S.U.M.
LUG Bayreuth
PEAR NEWS
PHP Classes

[ Facebook ]

[ Eigene Domain? ]

[ Buchtipp ]

ASP. NET. Grundlagen und Profiwissen
ASP. NET. Grundlagen und Profiwissen

Manuals > PEAR > $element->setOptions()

$element->setOptions()

$element->setOptions() -- Utility function equivilant to HTML_Select - loadArray **

Description

but using key=>value maps <option value="key">Value</option> Key=key (eg. both the same) maps to <option>key</option> and label = array(key=>value) maps to <optgroup label="label"> <option value="key">value</option></optgroup>

.

Parameter

  • $array

  • $from override settings from another element.

Throws

throws no exceptions thrown

Note

This function can not be called statically.


Copyright 1998 - 2009 by I.S.U.M.