Documentation

CFAComponentFilters
in package

CFAComponentTabs Class component

Table of Contents

Properties

$data  : mixed
$index  : mixed
$type  : mixed

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
$cfa_api : string
$label :
$title :
$icon : string = ""
Return values
$this

insertNewLine()

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

        
On this page

Search results