You are here

function qp in QueryPath 6

Same name and namespace in other branches
  1. 7.3 QueryPath/QueryPath.php \qp()
  2. 7.2 QueryPath/QueryPath.php \qp()
15 calls to qp()
htmlqp in QueryPath/QueryPath.php
qpcache_qp in qpcache/qpcache.module
Factory for creating a QueryPath object.
QPTPL::tpl in QueryPath/Extension/QPTPL.php
QPTPL::tplAll in QueryPath/Extension/QPTPL.php
QPTPL::tplArrayR in QueryPath/Extension/QPTPL.php

... See full list

3 string references to 'qp'
querypath_boot in ./querypath.module
Implementation of hook_boot(). Attempt to load the QueryPath library early in the boot cycle.
querypath_help in ./querypath.module
Implementation of hook_help().
querypath_requirements in ./querypath.install
Implementation of hook_requirements(). Checks to see if the QueryPath library has been installed.

File

QueryPath/QueryPath.php, line 19

Code

function qp($document = NULL, $string = NULL, $options = array()) {
  $qpClass = isset($options['QueryPath_class']) ? $options['QueryPath_class'] : 'QueryPath';
  $qp = new $qpClass($document, $string, $options);
  return $qp;
}