Свойство | Type | Description | |
---|---|---|---|
$column | array | ||
$condition | string | ||
$control | |||
$formatValue | string | ||
$optional | mixed | ||
$where | callable | ||
$wrapperPrototype | Nette\Utils\Html |
Méthode | Description | ||
---|---|---|---|
__construct ( |
|||
__getCondition ( mixed $value ) : Grido\Components\Filters\Condition | boolean | |||
changeValue ( string $value ) : string | Value representation in URI. | ||
getColumn ( ) : array | |||
getCondition ( ) : string | |||
getControl ( ) : |
|||
getWrapperPrototype ( ) : Nette\Utils\Html | Returns wrapper prototype ( | html tag). | |
setColumn ( string $column, string $operator = Condition::OPERATOR_OR ) : |
Map to database column. | ||
setCondition ( $condition ) : |
Sets custom condition. | ||
setDefaultValue ( string $value ) : |
Sets default value. | ||
setFormatValue ( string $format ) : |
Sets custom format value. | ||
setWhere ( callable $callback ) : |
Sets custom "sql" where. |
Méthode | Description | |
---|---|---|
formatValue ( string $value ) : string | Format value for database. | |
getFormControl ( ) |
public __construct ( |
||
$grid | ||
$name | string | |
$label | string |
public __getCondition ( mixed $value ) : Grido\Components\Filters\Condition | boolean | ||
$value | mixed | |
Résultat | Grido\Components\Filters\Condition | boolean |
public changeValue ( string $value ) : string | ||
$value | string | |
Résultat | string |
protected formatValue ( string $value ) : string | ||
$value | string | |
Résultat | string |
public getControl ( ) : |
||
Résultat |
public getWrapperPrototype ( ) : Nette\Utils\Html | ||
Résultat | Nette\Utils\Html |
public setCondition ( $condition ) : |
||
$condition | ||
Résultat |
public setDefaultValue ( string $value ) : |
||
$value | string | |
Résultat |
public setFormatValue ( string $format ) : |
||
$format | string | for example: "%%value%" |
Résultat |
protected BaseControl,Nette\Forms\Controls $control | ||
Résultat |