-
Notifications
You must be signed in to change notification settings - Fork 34
classes_lib_controls_form_input.class
Daniel Spors edited this page Dec 19, 2023
·
3 revisions
This is a basic <input/>. Used as base class for all kind of inputs.
Extends: Control » Renderable
Subclasses: Button, CheckBox, FileInput, HiddenInput, PasswordInput, RadioButton, SubmitButton, TextInput
Creates a label element for this input. Note that this only ensures that the label is correctly assigned to this input. It will not add it somewhere!
Definition: public function CreateLabel($text)
Returns: Label The created label element
Parameters:
-
string $text
Text for the label
Sets the name attribute.
Definition: public function setName($name)
Returns: static
Parameters:
-
string $name
The type
Sets the type attribute.
Definition: public function setType($type)
Returns: static
Parameters:
-
string $type
The type
Sets the value attribute.
Definition: public function setValue($value)
Returns: static
Parameters:
-
string $value
The value