-
Notifications
You must be signed in to change notification settings - Fork 35
icms_form_elements_Button
Raimondas Rimkevičius edited this page Mar 9, 2020
·
1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!
A button
- Class name: icms_form_elements_Button
- Namespace:
- Parent class: icms_form_Element
private string $_value
Value
- Visibility: private
private string $_type
Type of the button. This could be either "button", "submit", or "reset"
- Visibility: private
mixed icms_form_elements_Button::__construct(string caption, string name, string value, string type)
Constructor
- Visibility: public
- caption string - <p>Caption</p>
- name string
- value string
- type string - <p>Type of the button. This could be either "button", "submit", or "reset"</p>
string icms_form_elements_Button::getValue(bool encode)
Get the initial value
- Visibility: public
- encode bool - <p>To sanitizer the text?</p>
string icms_form_elements_Button::setValue(mixed value)
Set the initial value
- Visibility: public
- value mixed
string icms_form_elements_Button::getType()
Get the type
- Visibility: public
string icms_form_elements_Button::render()
prepare HTML for output
- Visibility: public