프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$column | array | ||
$condition | string | ||
$control | |||
$formatValue | string | ||
$optional | mixed | ||
$where | callable | ||
$wrapperPrototype | Nette\Utils\Html |
메소드 | 설명 | ||
---|---|---|---|
__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. |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | Grido\Components\Filters\Condition | boolean |
public changeValue ( string $value ) : string | ||
$value | string | |
리턴 | string |
protected formatValue ( string $value ) : string | ||
$value | string | |
리턴 | string |
public getWrapperPrototype ( ) : Nette\Utils\Html | ||
리턴 | Nette\Utils\Html |
public setCondition ( $condition ) : |
||
$condition | ||
리턴 |
public setDefaultValue ( string $value ) : |
||
$value | string | |
리턴 |
public setFormatValue ( string $format ) : |
||
$format | string | for example: "%%value%" |
리턴 |
protected BaseControl,Nette\Forms\Controls $control | ||
리턴 |