GNU GPL v2+
- Since
- 3.1
- Author
- mwjames
◆ __construct()
SMW\Property\Constraint\ConstraintErrorFinder::__construct |
( |
Store |
$store | ) |
|
◆ findConstraintErrors()
SMW\Property\Constraint\ConstraintErrorFinder::findConstraintErrors |
( |
DIWikiPage |
$subject | ) |
|
- Since
- 3.1
- Parameters
-
- Returns
- []
This method avoids access to Store::getSemanticData
in order to optimize the query and produce something like:
SELECT t0.o_id AS v0, t4.o_hash AS v2, t4.o_blob AS v3 FROM smw_di_wikipage
AS t0 INNER JOIN smw_object_ids
AS p ON p_id=t1.smw_id INNER JOIN smw_object_ids
AS t2 ON o_id=t2.smw_id INNER JOIN smw_di_blob
AS t3 ON t3.s_id=t2.smw_id INNER JOIN smw_di_blob
AS t4 ON t4.s_id=t2.smw_id WHERE (t0.s_id='660') AND (t0.p_id='511') AND (t1.smw_iw!=':smw') AND (t1.smw_iw!=':smw-delete') AND (t3.p_id='3354') AND (t3.o_hash='constraint') AND (t4.p_id='515')
The documentation for this class was generated from the following file:
- ConstraintErrorFinder.php