Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct (Store $store) | |
setCheckDependencies ( $checkDependencies) | |
canCheckDependencies () | |
getCheckedDependencies () | |
hasArchaicDependencies (DIWikiPage $subject) | |
GNU GPL v2+
SMW\SQLStore\QueryDependency\DependencyLinksValidator::__construct | ( | Store | $store | ) |
Store | $store |
SMW\SQLStore\QueryDependency\DependencyLinksValidator::canCheckDependencies | ( | ) |
SMW\SQLStore\QueryDependency\DependencyLinksValidator::getCheckedDependencies | ( | ) |
SMW\SQLStore\QueryDependency\DependencyLinksValidator::hasArchaicDependencies | ( | DIWikiPage | $subject | ) |
The question to be answered by this method is whether any embedded query for subject X contains dependencies (those entities that are part of a query either as result subject, property, condition, or printrequest) that were updated recently or not . "Updated recently" refers to those entities that have a more recent smw_touched
than the query that holds the reference.
Subject X -> contains Query Y (last touched 12:00) -> contains result subject Foo (last touched 12:05) -> since Foo is "younger" it could contain new/altered assignments (e.g. display title changed, sortkey altered, was deleted etc.) -> represents a likelihood of being outdated therefore it is categorized as a archaic dependency to X/Y
DIWikiPage | $subject |
SMW\SQLStore\QueryDependency\DependencyLinksValidator::setCheckDependencies | ( | $checkDependencies | ) |
boolean | $checkDependencies |