Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Schema\ChainableFilter Interface Reference
Inheritance diagram for SMW\Schema\ChainableFilter:
Inheritance graph
[legend]
Collaboration diagram for SMW\Schema\ChainableFilter:
Collaboration graph
[legend]

Public Member Functions

 getName ()
 
 setNodeFilter (SchemaFilter $nodeFilter)
 
- Public Member Functions inherited from SMW\Schema\SchemaFilter
 hasMatches ()
 
 getMatches ()
 
 addOption (string $key, $value)
 
 filter (iterable $comparators)
 

Additional Inherited Members

- Public Attributes inherited from SMW\Schema\SchemaFilter
const FILTER_CONDITION_NOT_REQUIRED = 'filter/condition/not_required'
 

Detailed Description

GNU GPL v2+

Since
3.2
Author
mwjames

Member Function Documentation

◆ getName()

SMW\Schema\ChainableFilter::getName ( )

Identifies the filter by name.

Since
3.2
Returns
string

Implemented in SMW\Schema\Filters\PropertyFilter, SMW\Schema\Filters\CategoryFilter, and SMW\Schema\Filters\NamespaceFilter.

◆ setNodeFilter()

SMW\Schema\ChainableFilter::setNodeFilter ( SchemaFilter  $nodeFilter)

Inject a filter as a node to build a decision tree by chaining together different filters so that each "root" returns matches for next node to continue to restrict the match pool.

Since
3.2
Parameters
SchemaFilter$nodeFilter

The documentation for this interface was generated from the following file:

About | General disclaimer | Privacy policy