CFAComponentFilters
in package
CFAComponentTabs Class component
Table of Contents
Properties
Methods
- add() : $this
- Add a new Filter to populate with fields
- insertNewLine() : mixed
- insertSelect() : mixed
- insertText() : mixed
Properties
$data
public
mixed
$data
= []
$index
public
mixed
$index
= 0
$type
public
mixed
$type
= 'filters'
Methods
add()
Add a new Filter to populate with fields
public
add(string $cfa_api, $label, $title[, string $icon = "" ]) : $this
Parameters
Return values
$thisinsertNewLine()
public
insertNewLine() : mixed
insertSelect()
public
insertSelect(string $field_title, string $field_name, mixed $values[, string $selected = '' ]) : mixed
Parameters
- $field_title : string
- $field_name : string
- $values : mixed
- $selected : string = ''
insertText()
public
insertText(string $field_title, string $field_name[, mixed $default_value = '' ][, mixed $placeholder = '' ][, int $size = 10 ]) : mixed
Parameters
- $field_title : string
- $field_name : string
- $default_value : mixed = ''
- $placeholder : mixed = ''
- $size : int = 10