Located in File: /src/QueryPath/QueryPathExtension.php
QueryPath extensions should call the QueryPathExtensionRegistry::extend() function to register their extension classes. The QueryPath library then uses this information to determine what QueryPath extensions should be loaded and executed.
static $extensionRegistry = array() (line 93)
static $useRegistry = TRUE (line 88)
Static Method autoloadExtensions (line 181)
If extension autoloading is disabled, then QueryPath will not automatically load all registred extensions when a new QueryPath object is created using qp().
Static Method extend (line 98)
Static Method getExtensions (line 166)
Given a QueryPath object, this will return an associative array of extension names to (new) instances. Generally, this is intended to be used internally.
Static Method getMethodClass (line 150)
Given a method name, this will check all registered extension classes to see if any of them has the named method. If so, this will return the classname.
Note that if two extensions are registered that contain the same method name, the last one registred will be the only one recognized.
Static Method hasExtension (line 132)
Given a class name for a QueryPathExtension class, this will check to see if that class is registered. If so, it will return TRUE.
Static Method hasMethod (line 117)
This checks to see if the given method name belongs to one of the registered extensions. If it does, then this will return TRUE.