document tokens

This commit is contained in:
Sarah Hoffmann
2018-05-14 23:23:38 +02:00
parent 6a0361d0c6
commit 1f689bdaae
5 changed files with 14 additions and 4 deletions

View File

@@ -9,9 +9,13 @@ require_once(CONST_BasePath.'/lib/SpecialSearchOperator.php');
*/
class SpecialTerm
{
/// Database word id, if applicable.
public $iId;
/// Class (or OSM tag key) of the place to look for.
public $sClass;
/// Type (or OSM tag value) of the place to look for.
public $sType;
/// Relationship of the operator to the object (see Operator class).
public $iOperator;
public function __construct($iID, $sClass, $sType, $iOperator)