GNU GPL v2+
- Since
- 3.2
- Author
- mwjames
◆ addOption()
SMW\Schema\SchemaFilter::addOption |
( |
string |
$key, |
|
|
|
$value |
|
) |
| |
◆ filter()
SMW\Schema\SchemaFilter::filter |
( |
iterable |
$comparators | ) |
|
◆ getMatches()
SMW\Schema\SchemaFilter::getMatches |
( |
| ) |
|
◆ hasMatches()
SMW\Schema\SchemaFilter::hasMatches |
( |
| ) |
|
◆ FILTER_CONDITION_NOT_REQUIRED
const SMW\Schema\SchemaFilter::FILTER_CONDITION_NOT_REQUIRED = 'filter/condition/not_required' |
Indicates that a specific filter condition is not required to exists.
For example, in case NamespaceFilter
is marked with to be not required then both rule sets will be for inspection.
{
"if": {
"category": { "anyOf": [ "Foo", "Bar" ] }
}
*}
{
"if": {
"namespace": "NS_MAIN",
"category": { "anyOf": [ "Foo", "Bar" ] }
}
*}
The documentation for this interface was generated from the following file: