Semantic MediaWiki and related extensions
|
Public Member Functions | |
hasMissingDependency () | |
getDependencyError () | |
Interface for result printers that require some dependency to be fully functional.
GNU GPL v2+
SMW\Query\ResultPrinterDependency::getDependencyError | ( | ) |
Returns a desriptive error message in case of an unfulfilled dependency contract to help users to understand as to why the result printer doesn't return any results.
SMW\Query\ResultPrinterDependency::hasMissingDependency | ( | ) |
For result printers that implement this interface, return whether the dependency contract is fulfilled or is missing something and would impair the functionality of the result printer.
This function will be called before any query execution ensuring that no system resources are depleted while the printer is missing required dependencies.