Finder
Finder
Finder - tokenized search
- Full name: \Gibbon\Forms\Input\Finder
- Parent class: \Gibbon\Forms\Input\TextField
Methods
- __construct — Create a finder with default params.
- fromAjax — Load tokens from an AJAX url
- selected — Sets the selected element(s) of the token list.
- setParameter — Sets a javascript parameter for the tokenInput UI.
Inherited from MultipleOptionsTrait
Inherited from TextField
Inherited from Element
Inherited from Input
- setRow
- addValidationOption
- addValidation
- isValidatable
- hasValidation
- getValidationAsJSON
- getValidationOutput
Inherited from InputAttributesTrait
- setName
- getName
- setValue
- getValue
- loadFrom
- loadFromCSV
- setSize
- getSize
- isDisabled
- setDisabled
- getDisabled
- isRequired
- setRequired
- getRequired
- readonly
- setReadonly
- getReadonly
- setTabIndex
- getTabIndex
Inherited from Element
Inherited from BasicAttributesTrait
- setID
- getID
- setTitle
- getTitle
- setClass
- addClass
- removeClass
- getClass
- addData
- getData
- getAttributeString
__construct
Create a finder with default params.
Finder::__construct( string $name )
fromAjax
Load tokens from an AJAX url
Finder::fromAjax( string $url ): self
Returns Self: This method can be chained.
selected
Sets the selected element(s) of the token list.
Finder::selected( mixed $values ): self
Returns Self: This method can be chained.
setParameter
Sets a javascript parameter for the tokenInput UI.
Finder::setParameter( string $key, string $value )