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 DateRange

Date-range input filter.

Nette\Application\UI\PresenterComponent
Extended by Grido\Components\Component
Extended by Grido\Components\Filters\Filter
Extended by Grido\Components\Filters\Text
Extended by Grido\Components\Filters\Date
Extended by Grido\Components\Filters\DateRange
Namespace: Grido\Components\Filters
Package: Grido\Components\Filters
Author: Petr Bugyík
Located at Components/Filters/DateRange.php

Methods summary

public Grido\Components\Filters\DateRange
# setDateFormatOutput( string $formatFrom, string $formatTo = NULL )

Parameters

$formatFrom
$formatTo

Returns

Grido\Components\Filters\DateRange

Overrides

Grido\Components\Filters\Date::setDateFormatOutput
public Grido\Components\Filters\DateRange
# setMask( string $mask )

Sets mask by regular expression.

Sets mask by regular expression.

Parameters

$mask

Returns

Grido\Components\Filters\DateRange
public string
# getMask( )

Returns

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

Returns

Nette\Forms\Controls\TextInput

Overrides

Grido\Components\Filters\Date::getFormControl

Methods inherited from Grido\Components\Filters\Date

getDateFormatInput(), getDateFormatOutput(), setDateFormatInput()

Methods inherited from Grido\Components\Filters\Text

getSuggestionCallback(), getSuggestionColumn(), getSuggestionLimit(), setSuggestion(), setSuggestionCallback(), setSuggestionLimit()

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
# 'BETWEEN ? AND ?'
protected string $mask
# '/(.*)\s?-\s?(.*)/'
protected array $dateFormatOutput
# array('Y-m-d', 'Y-m-d G:i:s')

Properties inherited from Grido\Components\Filters\Date

$dateFormatInput, $formatValue

Properties inherited from Grido\Components\Filters\Text

$suggestion, $suggestionCallback, $suggestionColumn, $suggestionLimit

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 string $mask

Magic properties inherited from Grido\Components\Filters\Date

$dateFormatInput, $dateFormatOutput

Magic properties inherited from Grido\Components\Filters\Text

$suggestionCallback, $suggestionLimit

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