-
Notifications
You must be signed in to change notification settings - Fork 35
icms_form_elements_Datetime
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!
Date and time selection field
This extends the icms_form_elements_Tray class because this field actually contains 2 different elements - the date and the time
- Class name: icms_form_elements_Datetime
- Namespace:
- Parent class: icms_form_elements_Tray
private array $_elements = array()
array of form element objects
- Visibility: private
private array $_required = array()
required elements
- Visibility: private
private string $_delimeter
HTML to separate the elements
- Visibility: private
mixed icms_form_elements_Tray::__construct(string caption, string delimeter, string name)
constructor
- Visibility: public
- This method is defined by icms_form_elements_Tray
- caption string - <p>Caption for the group.</p>
- delimeter string - <p>HTML to separate the elements</p>
- name string - <p>Name of tray</p>
bool icms_form_elements_Tray::isContainer()
Is this element a container of other elements?
- Visibility: public
- This method is defined by icms_form_elements_Tray
bool icms_form_elements_Tray::isRequired()
Find out if there are required elements.
- Visibility: public
- This method is defined by icms_form_elements_Tray
mixed icms_form_elements_Tray::addElement(\icms_form_Element formElement, bool required)
Add an element to the group
- Visibility: public
- This method is defined by icms_form_elements_Tray
- formElement icms_form_Element - <p>Form element to add</p>
- required bool - <p>Is required?</p>
\icms_form_Element[] icms_form_elements_Tray::getRequired()
get an array of "required" form elements
- Visibility: public
- This method is defined by icms_form_elements_Tray
\icms_form_Element[] icms_form_elements_Tray::getElements(bool recurse)
Get an array of the elements in this group
- Visibility: public
- This method is defined by icms_form_elements_Tray
- recurse bool - <p>get elements recursively?</p>
string icms_form_elements_Tray::getDelimeter(bool encode)
Get the delimiter of this group
- Visibility: public
- This method is defined by icms_form_elements_Tray
- encode bool - <p>To sanitizer the text?</p>
string icms_form_elements_Tray::render()
prepare HTML to output this group
- Visibility: public
- This method is defined by icms_form_elements_Tray