SilverStripe\CKANRegistry\Forms\ResultConditionsField
A ResultConditionsField renders a list of "must have" and "must not have" text conditions which are then used to determine whether a column is displayed to frontend users.
Synopsis
class ResultConditionsField
extends TextField
{
- // constants
- const MATCH_TYPE_MUST = 1;
- const MATCH_TYPE_MUST_NOT = 0;
- const MATCH_TYPE_DEFAULT = self::MATCH_TYPE_MUST;
- // members
- protected string $schemaComponent = 'ResultConditions';
- // methods
- public void __construct()
- public void Type()
- public void performReadonlyTransformation()
- public void getSchemaDataDefaults()
- public static array getMatchOptions()
Hierarchy
Extends
- SilverStripe\Forms\TextField
Constants
Name | Value |
---|---|
MATCH_TYPE_MUST | 1 |
MATCH_TYPE_MUST_NOT | 0 |
MATCH_TYPE_DEFAULT | self::MATCH_TYPE_MUST |
Members
protected
- $schemaComponent
Methods
public
- __construct()
- Type()
- getMatchOptions() — Get a list of options for filtering with a human readable (translated) label
- getSchemaDataDefaults()
- performReadonlyTransformation()