You are here

class QueryPathOptions in QueryPath 6

Same name and namespace in other branches
  1. 7.3 QueryPath/QueryPath.php \QueryPathOptions
  2. 7.2 QueryPath/QueryPath.php \QueryPathOptions

Hierarchy

Expanded class hierarchy of QueryPathOptions

File

QueryPath/QueryPath.php, line 2186

View source
class QueryPathOptions {
  static $options = array();
  static function set($array) {
    self::$options = $array;
  }
  static function get() {
    return self::$options;
  }
  static function merge($array) {
    self::$options = $array + self::$options;
  }
  static function has($key) {
    return array_key_exists($key, self::$options);
  }

}

Members