QueryPath extensions should call the QueryPath::ExtensionRegistry::extend()
function to register their extension classes. The QueryPath library then
uses this information to determine what QueryPath extensions should be loaded and
executed.
Extensions are attached to a Query object.
To enable an extension (the easy way), use QueryPath::enable().
This class provides lower-level interaction with the extension
mechanism.
getExtensions()
public static method
Given a Query object, this will return
an associative array of extension names to (new) instances.
Generally, this is intended to be used internally.
public static getExtensions ( querypath\Query $qp ) : array |
$qp |
querypath\Query |
The Query into which the extensions should be registered. |
return |
array |
An associative array of classnames to instances. |