INPUT

Public Static Methods

public static BASIC($type, $name, $value, $attributes=[], $closetag=true)
public static SUBMIT($name, $value, $attributes=[])
public static TEXT($name, $value, $attributes=[])
public static NUMBER($name, $value, $attributes=[])
public static COLOR($name, $value, $attributes=[])
public static EMAIL($name, $value, $attributes=[])
public static FILE($name, $value, $attributes=[])
public static URL($name, $value, $attributes=[])
public static SEARCH($name, $value, $attributes=[])
public static PASSWORD($name, $value, $attributes=[])
public static HIDDEN($name, $value, $attributes=[])
public static CSRF($attributes=[])
public static BUTTON($name, $content, $attributes=[])
public static TEXTAREA($name, $value, $attributes=[])
public static OPTION($value, $content, $attributes=[])
public static OPTGROUP_start($label, $attributes=[])
public static OPTGROUP_end()
public static CHECKBOX($name, $value, $checked=false, $attributes=[])
public static RADIO($name, $value, $checked=false, $attributes=[])
public static RADIO_GROUP($name, $options, $value, $legend='', $attributes=[], $key_label='label', $key_value='value', $max_item_per_column, $max_item_per_row, $table_attributes=[])
public static CHECKBOX_GROUP($name, $options, $value, $legend='', $attributes=[], $key_label='label', $key_value='value', $max_item_per_column, $max_item_per_row, $table_attributes=[])
public static SELECT($name, $options, $value, $attributes=[], $key_label='label', $key_value='value')
public static SELECT_start($name, $attributes=[])
public static SELECT_end()
public static stringDateTimePicker(string $s, string $value)
Date time picker Deprecatedsince version 2.2.0 since version 2.2.0
public static stringDatePicker(string $input_name, string $value, int $year_start, int $year_end, array $attributes=[], string $blank_year='-Year-', string $blank_month='-Month-', string $blank_day='-Day-', string $row_class='row', string $col_class='col-xs-4 col-sm-4 col-md-4 col-lg-4')
Date picker Deprecatedsince version 2.2.0 since version 2.2.0
public static stringCMSObjectOptions(string $form_input_name, array $meta_option_keys, string $values, array $default_values=[], int $max_item_per_column, int $column_count)
Returns a form-formatted field based on CMS object options (e.g. item/category options)) The parameter 'values' is an array in a serialized string format
public static TimeZoneSelectList($input_name, $value, $attributes=[])
public static UserNameSelectionField(string $fieldname, string $value, string $label='', $attributes=[])
Returns a select list containing username $CurrentUser
public static stringUserGroupReadPermissionCheckboxGroup(string $permission_name, string $serialized_permission_value)
Returns a checkbox group containing a list of user groups/roles for read permission (Everyone option appears here) $CurrentUser
public static stringUserGroupWritePermissionCheckboxGroup(string $permission_name, string $serialized_permission_value, array $current_user_groups, bool $enable_current_user_group=true)
Returns a checkbox group containing a list of user groups/roles for write permission (Everyone option won't appear) $CurrentUser