Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

PHP DOM Builder API

BOOS Core is unveiled in second revision

BOOS Core Revision 2 has been successfully unveiled within the framework of Baigudin Software project. In comparison with the first revision, the second has gotten considerable improvements. It saves the best features of previous realization and gets the new logical continuation.

Class «DomBuilder\Element\Select»

select – option-selection form control.

The select element represents a control for selecting among a list of options.

All implemented interfaces:

Object Builder Property Attribute Traverse Fetch Search Tester Field

public Select option(array $option);

Sets internal option elements.

The method inserts option elements into itself.

Parameters:
array $option — key of array is value of value attribute for option element and value of array is value of option element.

Returns:
Select — this element.

Back to class list