You are here

public static function QueryPathExtensionRegistry::getExtensions in QueryPath 6

Same name and namespace in other branches
  1. 7.3 QueryPath/QueryPathExtension.php \QueryPathExtensionRegistry::getExtensions()
  2. 7.2 QueryPath/QueryPathExtension.php \QueryPathExtensionRegistry::getExtensions()
1 call to QueryPathExtensionRegistry::getExtensions()
QueryPath::__call in QueryPath/QueryPath.php

File

QueryPath/QueryPathExtension.php, line 44

Class

QueryPathExtensionRegistry

Code

public static function getExtensions(QueryPath $qp) {
  $extInstances = array();
  foreach (self::$extensionRegistry as $ext) {
    $extInstances[$ext] = new $ext($qp);
  }
  return $extInstances;
}