Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct ( $string, $condition, $isOr=false, $isNot=false) | |
getHash () | |
Public Attributes | |
const | COND_PRE = 0 |
const | STRCOND_PRE = self::COND_PRE |
const | COND_POST = 1 |
const | STRCOND_POST = self::COND_POST |
const | COND_MID = 2 |
const | STRCOND_MID = self::COND_MID |
const | COND_EQ = 3 |
$string | |
$isOr | |
$isNot | |
$condition | |
Small data container class for describing filtering conditions on the string label of some entity. States that a given string should either be prefix, postfix, or some arbitrary part of labels.
GNU GPL v2+
SMW\StringCondition::__construct | ( | $string, | |
$condition, | |||
$isOr = false , |
|||
$isNot = false |
|||
) |
srting | $string | |
integer | $condition | |
boolean | $isOr |
SMW\StringCondition::getHash | ( | ) |
const SMW\StringCondition::COND_EQ = 3 |
String matches as equal
const SMW\StringCondition::COND_MID = 2 |
String matches to some inner part
const SMW\StringCondition::COND_POST = 1 |
String matches postfix
const SMW\StringCondition::COND_PRE = 0 |
String matches prefix