Listing all the available query extenders

Public
</> CopyGet raw version
php
  1. define('DRUPAL_ROOT', getcwd());
  2. require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
  3. drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
  4.  
  5. foreach (get_declared_classes() as $class) {
  6. $parent_classes = class_parents($class);
  7. if (in_array('SelectQueryExtender', $parent_classes)) {
  8. print $class . "<br>";
  9. }
  10. }