Grido@master
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • Grido
    • Components
      • Actions
      • Columns
      • Filters
    • DataSources
    • PropertyAccessors
    • Translations

Classes

  • Check
  • Condition
  • Custom
  • Date
  • DateRange
  • Filter
  • Number
  • Select
  • Text

Class Text

Text input filter.

Nette\Application\UI\PresenterComponent
Extended by Grido\Components\Component
Extended by Grido\Components\Filters\Filter
Extended by Grido\Components\Filters\Text

Direct known subclasses

Grido\Components\Filters\Date, Grido\Components\Filters\Number

Indirect known subclasses

Grido\Components\Filters\DateRange

Namespace: Grido\Components\Filters
Package: Grido\Components\Filters
Author: Petr Bugyík
Located at Components/Filters/Text.php

Methods summary

public Grido\Components\Filters\Text
# setSuggestion( mixed $column = NULL )

Allows suggestion.

Allows suggestion.

Parameters

$column

Returns

Grido\Components\Filters\Text
public Grido\Components\Filters\Text
# setSuggestionLimit( integer $limit )

Sets a limit for suggestion select.

Sets a limit for suggestion select.

Parameters

$limit

Returns

Grido\Components\Filters\Text
public Grido\Components\Filters\Text
# setSuggestionCallback( callable $callback )

Sets custom data callback.

Sets custom data callback.

Parameters

$callback

Returns

Grido\Components\Filters\Text
public integer
# getSuggestionLimit( )

Returns

integer
public callable
# getSuggestionCallback( )

Returns

callable
public string
# getSuggestionColumn( )

Returns

string
protected Nette\Forms\Controls\TextInput
# getFormControl( )

Returns

Nette\Forms\Controls\TextInput

Methods inherited from Grido\Components\Filters\Filter

__construct(), formatValue(), getCondition(), getWrapperPrototype(), setColumn(), setCondition(), setDefaultValue(), setFormatValue(), setWhere()

Methods inherited from Grido\Components\Component

addComponentToGrid(), getForm(), getGrid(), getPropertyAccessor(), translate()

Magic methods summary

Constants summary

Constants inherited from Grido\Components\Filters\Filter

ID, RENDER_INNER, RENDER_OUTER, VALUE_IDENTIFIER

Properties summary

protected string $condition
# 'LIKE ?'
protected string $formatValue
# '%%value%'
protected boolean $suggestion
# FALSE
protected mixed $suggestionColumn
#
protected integer $suggestionLimit
# 10
protected callable $suggestionCallback
#

Properties inherited from Grido\Components\Filters\Filter

$column, $control, $optional, $where, $wrapperPrototype

Properties inherited from Grido\Components\Component

$form, $grid, $label, $propertyAccessor, $type

Magic properties

public integer $suggestionLimit
public write-only callable $suggestionCallback

Magic properties inherited from Grido\Components\Filters\Filter

$column, $condition, $control, $defaultValue, $formatValue, $where, $wrapperPrototype

Magic properties inherited from Grido\Components\Component

$form, $grid, $label, $type

Grido@master API documentation generated by ApiGen