Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Query\Parser\TermParser Class Reference

Public Member Functions

 __construct (array $prefix_map=[])
 
 parse ( $term)
 

Detailed Description

The term parser uses a simplified string to build an #ask conform query string, for example:

A custom prefix map allows to create assignments between a custom prefix and a property set and hereby simplifies the search input process.

GNU GPL v2+

Since
3.0
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\Query\Parser\TermParser::__construct ( array  $prefix_map = [])
Since
3.0
Parameters
array$prefix_map

Member Function Documentation

◆ parse()

SMW\Query\Parser\TermParser::parse (   $term)
Parameters
string$term
Returns
string

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

About | General disclaimer | Privacy policy