SMWStringCondition Class Reference
[SMWStore]

Small data container class for describing filtering conditions on the string label of some entity. More...

List of all members.

Public Member Functions

 __construct ($string, $condition)

Public Attributes

const STRCOND_PRE = 0
const STRCOND_POST = 1
const STRCOND_MID = 2
 $string
 String to match.
 $condition
 Condition.


Detailed Description

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.

Author:
Markus Krötzsch

Definition at line 29 of file SMW_Store.php.


Constructor & Destructor Documentation

SMWStringCondition::__construct ( string,
condition 
)

Definition at line 46 of file SMW_Store.php.

References $condition, and $string.


Member Data Documentation

SMWStringCondition::$string

String to match.

Definition at line 37 of file SMW_Store.php.

Referenced by __construct().

SMWStringCondition::$condition

Condition.

One of STRCOND_PRE (string matches prefix), STRCOND_POST (string matches postfix), STRCOND_MID (string matches to some inner part).

Definition at line 44 of file SMW_Store.php.

Referenced by __construct().


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

Generated on Sun Mar 18 07:15:45 2012 for Semantic MediaWiki by  doxygen 1.5.6