Version 3 #1

Manually merged
timw4mail merged 47 commits from develop into master 2020-04-23 18:39:27 -04:00
452 changed files with 7734 additions and 8109 deletions

4
.gitignore vendored
View File

@ -130,14 +130,13 @@ $RECYCLE.BIN/
test_config.json
index.html
tests/db_files/*
tests/db_files/*.db
build/api/*
build/coverage/*
build/logs/*
build/pdepend/*
build/phpdox/*
cache.properties
._*
tests/settings.json
.php_cs
coverage/*
@ -146,3 +145,4 @@ composer.lock
docs/phpdoc*
.project
all_tests
build/.phpunit.result.cache

View File

@ -1,26 +0,0 @@
before_script:
# Install dependencies
- bash build/docker_install.sh > /dev/null
services:
- mysql:latest
- postgres:latest
variables:
MYSQL_ROOT_PASSWORD: foo-bar-baz
MYSQL_DATABASE: test
MYSQL_USER: test
MYSQL_PASSWORD: test
POSTGRES_DB: test
POSTGRES_USER: test
POSTGRES_PASSWORD: test
test:7.1:
image: php:7.1
script:
- phpunit -c build --no-coverage
test:7.2:
image: php:7.2
script:
- phpunit -c build --no-coverage

View File

@ -1,17 +1,23 @@
sudo: false
dist: xenial
os: linux
arch: amd64
language: php
services:
- mysql
- postgresql
php:
- 7.1
- 7.2
- 7.4
- nightly
before_script:
- psql -c 'DROP DATABASE IF EXISTS test;' -U postgres
- psql -c 'create database test;' -U postgres
- mysql -e 'create database IF NOT EXISTS test;'
- composer install
- composer install --ignore-platform-reqs
script:
- mkdir -p build/logs
@ -20,9 +26,9 @@ script:
- cd ../
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
matrix:
jobs:
allow_failures:
- php: nightly

View File

@ -2,22 +2,20 @@
A query builder/database abstraction layer, using prepared statements for security.
[![Build Status](https://jenkins.timshomepage.net/buildStatus/icon?job=query)](https://jenkins.timshomepage.net/job/query/)
[![Code Coverage](https://scrutinizer-ci.com/g/aviat4ion/Query/badges/coverage.png?b=develop)](https://scrutinizer-ci.com/g/aviat4ion/Query/?branch=develop)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/aviat4ion/Query/badges/quality-score.png?b=develop)](https://scrutinizer-ci.com/g/aviat4ion/Query/?branch=develop)
[![Latest Stable Version](https://poser.pugx.org/aviat/query/v/stable.png)](https://packagist.org/packages/aviat/query)
[![Total Downloads](https://poser.pugx.org/aviat/query/downloads.png)](https://packagist.org/packages/aviat/query)
[![Latest Unstable Version](https://poser.pugx.org/aviat/query/v/unstable.png)](https://packagist.org/packages/aviat/query)
[![License](https://poser.pugx.org/aviat/query/license.png)](http://www.dbad-license.org/)
## Requirements
* PDO extensions for the databases you wish to use (unless it's Firebird, in which case, the interbase extension is required)
* Supported version of PHP (Older versions may work, but are not supported)
* PDO extensions for the databases you wish to use
* PHP 7.4 or later
## Databases Supported
* MySQL
* PostgreSQL
* MySQL 5+ / MariaDB
* PostgreSQL 8.4+
* SQLite
## Including Query in your application
@ -32,7 +30,7 @@ Create a connection array or object similar to this:
<?php
$params = array(
'type' => 'mysql', // mysql, pgsql, firebird, sqlite
'type' => 'mysql', // mysql, pgsql, sqlite
'host' => 'localhost', // address or socket
'user' => 'root',
'pass' => '',
@ -40,10 +38,10 @@ $params = array(
'database' => 'test_db',
// Only required for
// SQLite
// SQLite
'file' => '/path/to/db/file',
// Optional paramaters
// Optional parameters
'prefix' => 'tbl_', // Database table prefix
'alias' => 'old' // Connection name for the Query function
);
@ -78,8 +76,13 @@ Query('old')->query($sql);
```
### Running Queries
Query uses the same interface as CodeIgniter's [Query Builder](http://www.codeigniter.com/user_guide/database/query_builder.html) class. However, it does not implement the `update_batch` or caching methods. For specific query builder methods, see the [class documentation](https://gitdev.timshomepage.net/Query/docs/classes/Query_QueryBuilder.html#methods).
Underscored methods are also aliased to camel case methods.
Query is based on CodeIgniter's [Query Builder](http://www.codeigniter.com/user_guide/database/query_builder.html) class.
However, it has camelCased method names, and does not implement the caching methods.
For specific query builder methods, see the [class documentation](https://gitdev.timshomepage.net/Query/apiDocumentation/classes/Query_QueryBuilder.html#methods).
Other database methods not directly involved in building queries, are also available from the query builder object.
The methods available depend on the database, but common methods are documented
[here](https://gitdev.timshomepage.net/Query/apiDocumentation/classes/Query_Drivers_AbstractDriver.html#methods).
#### You can also run queries manually.
@ -97,7 +100,7 @@ An example of a moderately complex query:
$query = $db->select('id, key as k, val')
->from('table t')
->where('k >', 3)
->orWhere('id !=' 5)
->orWhere('id !=', 5)
->orderBy('val', 'DESC')
->limit(3, 1)
->get();
@ -114,8 +117,10 @@ ORDER BY "val" DESC
LIMIT 3 OFFSET 1
```
To retrieve the results of a query, use the PDO method [fetch](http://php.net/manual/en/pdostatement.fetch.php) and/or [fetchAll](http://php.net/manual/en/pdostatement.fetchall.php).
The query execution methods `get`, `getWhere`, `insert`,
`insertBatch`,`update`, and `delete` return a native [PDOStatement](http://php.net/manual/en/class.pdostatement.php) object.
To retrieve the results of a query, use the PDOStatement method [fetch](http://php.net/manual/en/pdostatement.fetch.php) and/or
[fetchAll](http://php.net/manual/en/pdostatement.fetchall.php).
```php
<?php

View File

@ -1,4 +1,7 @@
<?php declare(strict_types=1);
use Robo\Tasks;
if ( ! function_exists('glob_recursive'))
{
// Does not support flag GLOB_BRACE
@ -20,7 +23,7 @@ if ( ! function_exists('glob_recursive'))
*
* @see http://robo.li/
*/
class RoboFile extends \Robo\Tasks {
class RoboFile extends Tasks {
/**
* Directories used by analysis tools
@ -51,20 +54,20 @@ class RoboFile extends \Robo\Tasks {
/**
* Do static analysis tasks
*/
public function analyze()
public function analyze(): void
{
$this->prepare();
$this->lint();
$this->phploc(TRUE);
$this->phpcs(TRUE);
$this->dependencyReport();
$this->phpmd(TRUE);
$this->phpcpdReport();
}
/**
* Run all tests, generate coverage, generate docs, generate code statistics
*/
public function build()
public function build(): void
{
$this->analyze();
$this->coverage();
@ -74,11 +77,11 @@ class RoboFile extends \Robo\Tasks {
/**
* Cleanup temporary files
*/
public function clean()
public function clean(): void
{
// So the task doesn't complain,
// make any 'missing' dirs to cleanup
array_map(function ($dir) {
array_map(static function ($dir) {
if ( ! is_dir($dir))
{
`mkdir -p {$dir}`;
@ -92,7 +95,7 @@ class RoboFile extends \Robo\Tasks {
/**
* Run unit tests and generate coverage reports
*/
public function coverage()
public function coverage(): void
{
$this->_run(['phpdbg -qrr -- vendor/bin/phpunit -c build']);
}
@ -100,7 +103,7 @@ class RoboFile extends \Robo\Tasks {
/**
* Generate documentation with phpdox
*/
public function docs()
public function docs(): void
{
$this->_run(['vendor/bin/phpdox']);
}
@ -108,11 +111,11 @@ class RoboFile extends \Robo\Tasks {
/**
* Verify that source files are valid
*/
public function lint()
public function lint(): void
{
$files = $this->getAllSourceFiles();
$chunks = array_chunk($files, (int)`getconf _NPROCESSORS_ONLN`);
$chunks = array_chunk($files, (int)shell_exec('getconf _NPROCESSORS_ONLN'));
foreach($chunks as $chunk)
{
@ -125,7 +128,7 @@ class RoboFile extends \Robo\Tasks {
*
* @param bool $report - if true, generates reports instead of direct output
*/
public function phpcs($report = FALSE)
public function phpcs($report = FALSE): void
{
$dir = __DIR__;
@ -145,12 +148,36 @@ class RoboFile extends \Robo\Tasks {
$this->_run($cmd_parts);
}
public function phpmd($report = FALSE): void
{
$report_cmd_parts = [
'vendor/bin/phpmd',
'./src',
'xml',
'cleancode,codesize,controversial,design,naming,unusedcode',
'--exclude ParallelAPIRequest',
'--reportfile ./build/logs/phpmd.xml'
];
$normal_cmd_parts = [
'vendor/bin/phpmd',
'./src',
'ansi',
'cleancode,codesize,controversial,design,naming,unusedcode',
'--exclude ParallelAPIRequest'
];
$cmd_parts = ($report) ? $report_cmd_parts : $normal_cmd_parts;
$this->_run($cmd_parts);
}
/**
* Run the phploc tool
*
* @param bool $report - if true, generates reports instead of direct output
*/
public function phploc($report = FALSE)
public function phploc($report = FALSE): void
{
// Command for generating reports
$report_cmd_parts = [
@ -178,7 +205,7 @@ class RoboFile extends \Robo\Tasks {
/**
* Create temporary directories
*/
public function prepare()
public function prepare(): void
{
array_map([$this, '_mkdir'], $this->taskDirs);
}
@ -186,11 +213,11 @@ class RoboFile extends \Robo\Tasks {
/**
* Lint php files and run unit tests
*/
public function test()
public function test(): void
{
$this->lint();
$this->taskPhpUnit()
->configFile('phpunit.xml')
->configFile('build/phpunit.xml')
->run();
$this->_run(["php tests/index.php"]);
}
@ -198,7 +225,7 @@ class RoboFile extends \Robo\Tasks {
/**
* Watches for file updates, and automatically runs appropriate actions
*/
public function watch()
public function watch(): void
{
$this->taskWatch()
->monitor('composer.json', function() {
@ -213,27 +240,12 @@ class RoboFile extends \Robo\Tasks {
->run();
}
/**
* Create pdepend reports
*/
protected function dependencyReport()
{
$cmd_parts = [
'vendor/bin/pdepend',
'--jdepend-xml=build/logs/jdepend.xml',
'--jdepend-chart=build/pdepend/dependencies.svg',
'--overview-pyramid=build/pdepend/overview-pyramid.svg',
'src'
];
$this->_run($cmd_parts);
}
/**
* Get the total list of source files, including tests
*
* @return array
*/
protected function getAllSourceFiles()
protected function getAllSourceFiles(): array
{
$files = array_merge(
glob_recursive('build/*.php'),
@ -252,7 +264,7 @@ class RoboFile extends \Robo\Tasks {
*
* @param array $chunk
*/
protected function parallelLint(array $chunk)
protected function parallelLint(array $chunk): void
{
$task = $this->taskParallelExec()
->timeout(5)
@ -269,7 +281,7 @@ class RoboFile extends \Robo\Tasks {
/**
* Generate copy paste detector report
*/
protected function phpcpdReport()
protected function phpcpdReport(): void
{
$cmd_parts = [
'vendor/bin/phpcpd',
@ -286,8 +298,8 @@ class RoboFile extends \Robo\Tasks {
* @param array $cmd_parts - command arguments
* @param string $join_on - what to join the command arguments with
*/
protected function _run(array $cmd_parts, $join_on = ' ')
protected function _run(array $cmd_parts, $join_on = ' '): void
{
$this->taskExec(implode($join_on, $cmd_parts))->run();
}
}
}

View File

@ -41,6 +41,26 @@
</tr>
</thead>
<tbody>
<tr>
<td>
<a href="classes/BadFunctionCallException.html">BadFunctionCallException</a>
</td>
<td>
<span class="unavailable">No description available</span>
</td>
<td class="testresult-EMPTY">EMPTY
</td>
</tr>
<tr>
<td>
<a href="classes/BadMethodCallException.html">BadMethodCallException</a>
</td>
<td>
<span class="unavailable">No description available</span>
</td>
<td class="testresult-EMPTY">EMPTY
</td>
</tr>
<tr>
<td>
<a href="classes/Exception.html">Exception</a>
@ -97,17 +117,33 @@
<tbody>
<tr>
<td>
<a href="classes/Query_BadDBDriverException.html">BadDBDriverException</a>
<a href="classes/Query_ConnectionManager.html">ConnectionManager</a>
</td>
<td>Generic exception for bad drivers</td>
<td>Connection manager class to manage connections for the Query method</td>
<td class="testresult-EMPTY">EMPTY
</td>
</tr>
<tr>
<td>
<a href="classes/Query_ConnectionManager.html">ConnectionManager</a>
<a href="classes/Query_JoinType.html">JoinType</a>
</td>
<td>Connection manager class to manage connections for the Query method</td>
<td>'Enum' of join types</td>
<td class="testresult-EMPTY">EMPTY
</td>
</tr>
<tr>
<td>
<a href="classes/Query_LikeType.html">LikeType</a>
</td>
<td>'Enum' of join types</td>
<td class="testresult-EMPTY">EMPTY
</td>
</tr>
<tr>
<td>
<a href="classes/Query_MapType.html">MapType</a>
</td>
<td>'Enum' of query map types</td>
<td class="testresult-EMPTY">EMPTY
</td>
</tr>
@ -119,6 +155,16 @@
<td class="testresult-EMPTY">EMPTY
</td>
</tr>
<tr>
<td>
<a href="classes/Query_QueryBuilderBase.html">QueryBuilderBase</a>
</td>
<td>
<span class="unavailable">No description available</span>
</td>
<td class="testresult-EMPTY">EMPTY
</td>
</tr>
<tr>
<td>
<a href="classes/Query_QueryParser.html">QueryParser</a>
@ -127,6 +173,14 @@
<td class="testresult-EMPTY">EMPTY
</td>
</tr>
<tr>
<td>
<a href="classes/Query_QueryType.html">QueryType</a>
</td>
<td>'Enum' of query types</td>
<td class="testresult-EMPTY">EMPTY
</td>
</tr>
<tr>
<td>
<a href="classes/Query_State.html">State</a>
@ -290,9 +344,47 @@
</tbody>
</table>
</div>
<div class="container">
<h2 id="Query_Exception">\Query\Exception</h2>
<table class="styled">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th/>
</tr>
</thead>
<tbody>
<tr>
<td>
<a href="classes/Query_Exception_BadDBDriverException.html">BadDBDriverException</a>
</td>
<td>Generic exception for bad drivers</td>
<td class="testresult-EMPTY">EMPTY
</td>
</tr>
<tr>
<td>
<a href="classes/Query_Exception_NonExistentConnectionException.html">NonExistentConnectionException</a>
</td>
<td>Exception for missing database connection</td>
<td class="testresult-EMPTY">EMPTY
</td>
</tr>
<tr>
<td>
<a href="classes/Query_Exception_NotImplementedException.html">NotImplementedException</a>
</td>
<td>Exception for non-implemented method</td>
<td class="testresult-EMPTY">EMPTY
</td>
</tr>
</tbody>
</table>
</div>
</div>
<footer>
<span>Generated using phpDox 0.11.0-dev - Copyright (C) 2010 - 2018 by Arne Blankerts and Contributors</span>
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2020 by Arne Blankerts and Contributors</span>
</footer>
</body>
</html>

View File

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>phpDox - BadFunctionCallException</title>
<link rel="stylesheet" type="text/css" href="../css/style.css" media="screen"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>
<body>
<nav class="topnav">
<ul>
<li>
<div class="logo"><span>/**</span>phpDox</div>
</li>
<li class="separator">
<a href="../index.html">Overview</a>
</li>
<li class="separator">
<a href="../namespaces.html">Namespaces</a>
</li>
<li>
<a href="../interfaces.html">Interfaces</a>
</li>
<li>
<a href="../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../source/index.html">Source</a>
</li>
</ul>
</nav>
<div id="mainstage">
<div class="box">
<ul class="breadcrumb">
<li>
<a href="../index.html">Overview</a>
</li>
<li class="separator">
<a href="../classes.html">Classes</a>
</li>
<li class="separator">BadFunctionCallException</li>
</ul>
</div>
<nav class="box">
<ul>
<li>
<a href="#introduction">Introduction</a>
</li>
<li>
<a href="#synopsis">Synopsis</a>
</li>
<li>
<a href="#hierarchy">Hierarchy</a>
</li>
<li>
<a href="#methods">Methods</a>
</li>
</ul>
</nav>
<section>
<h1 id="introduction"><small>\</small>BadFunctionCallException</h1>
<h4/>
<p/>
<h2 id="synopsis">Synopsis</h2>
<div class="synopsis">class BadFunctionCallException
extends <a title="LogicException" href="../classes/LogicException.html">LogicException</a>
{<br/><ul class="none"><li>// methods</li><li>public final string <a title="BadFunctionCallException" href="../classes/BadFunctionCallException/getMessage.html">getMessage</a>()
</li><li>public final Throwable <a title="BadFunctionCallException" href="../classes/BadFunctionCallException/getPrevious.html">getPrevious</a>()
</li><li>public final mixed <a title="BadFunctionCallException" href="../classes/BadFunctionCallException/getCode.html">getCode</a>()
</li><li>public final string <a title="BadFunctionCallException" href="../classes/BadFunctionCallException/getFile.html">getFile</a>()
</li><li>public final int <a title="BadFunctionCallException" href="../classes/BadFunctionCallException/getLine.html">getLine</a>()
</li><li>public final array <a title="BadFunctionCallException" href="../classes/BadFunctionCallException/getTrace.html">getTrace</a>()
</li><li>public final string <a title="BadFunctionCallException" href="../classes/BadFunctionCallException/getTraceAsString.html">getTraceAsString</a>()
</li><li>public string <a title="BadFunctionCallException" href="../classes/BadFunctionCallException/__toString.html">__toString</a>()
</li><li> final void <a title="BadFunctionCallException" href="../classes/BadFunctionCallException/__clone.html">__clone</a>()
</li></ul>
}<br/></div>
<h2 id="hierarchy">Hierarchy</h2>
<div class="styled">
<h4>Extends</h4>
<ul>
<li>
<a title="LogicException" href="../classes/LogicException.html">LogicException</a>
</li>
</ul>
</div>
<h2 id="methods">Methods</h2>
<div class="styled">
<h4>public</h4>
<ul>
<li id="__toString">
<a title="BadFunctionCallException" href="../classes/BadFunctionCallException/__toString.html">__toString()</a>
</li>
<li id="getCode">
<a title="BadFunctionCallException" href="../classes/BadFunctionCallException/getCode.html">getCode()</a>
</li>
<li id="getFile">
<a title="BadFunctionCallException" href="../classes/BadFunctionCallException/getFile.html">getFile()</a>
</li>
<li id="getLine">
<a title="BadFunctionCallException" href="../classes/BadFunctionCallException/getLine.html">getLine()</a>
</li>
<li id="getMessage">
<a title="BadFunctionCallException" href="../classes/BadFunctionCallException/getMessage.html">getMessage()</a>
</li>
<li id="getPrevious">
<a title="BadFunctionCallException" href="../classes/BadFunctionCallException/getPrevious.html">getPrevious()</a>
</li>
<li id="getTrace">
<a title="BadFunctionCallException" href="../classes/BadFunctionCallException/getTrace.html">getTrace()</a>
</li>
<li id="getTraceAsString">
<a title="BadFunctionCallException" href="../classes/BadFunctionCallException/getTraceAsString.html">getTraceAsString()</a>
</li>
</ul>
</div>
</section>
</div>
<footer>
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2020 by Arne Blankerts and Contributors</span>
</footer>
</body>
</html>

View File

@ -2,7 +2,7 @@
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>phpDox - Query\State::getHavingMap</title>
<title>phpDox - BadFunctionCallException::__clone</title>
<link rel="stylesheet" type="text/css" href="../../css/style.css" media="screen"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>
@ -39,12 +39,12 @@
<a href="../../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../../classes.html#Query">Query</a>
<a href="../../classes.html#"/>
</li>
<li class="separator">
<a title="Query\State" href="../../classes/Query_State.html">State</a>
<a title="BadFunctionCallException" href="../../classes/BadFunctionCallException.html">BadFunctionCallException</a>
</li>
<li class="separator">getHavingMap</li>
<li class="separator">__clone</li>
</ul>
</div>
<nav class="box">
@ -58,30 +58,27 @@
<li>
<a href="#return">Return</a>
</li>
<li>
<a href="../../source/State.php.html#line413">Source</a>
</li>
</ul>
</nav>
<section>
<h1><small>Query\State::</small>getHavingMap</h1>
<h1><small>BadFunctionCallException::</small>__clone</h1>
<h4/>
<p/>
<ul/>
<h2 id="signature">Signature</h2>
<div class="styled synopsis">
<code>public function getHavingMap()
<code> function __clone()
</code>
</div>
<h2 id="return">Returns</h2>
<dl class="styled">
<dt>array</dt>
<dt>void</dt>
<dd/>
</dl>
</section>
</div>
<footer>
<span>Generated using phpDox 0.11.0-dev - Copyright (C) 2010 - 2018 by Arne Blankerts and Contributors</span>
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2020 by Arne Blankerts and Contributors</span>
</footer>
</body>
</html>

View File

@ -2,7 +2,7 @@
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>phpDox - Query\State::getSetString</title>
<title>phpDox - BadFunctionCallException::__toString</title>
<link rel="stylesheet" type="text/css" href="../../css/style.css" media="screen"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>
@ -39,12 +39,12 @@
<a href="../../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../../classes.html#Query">Query</a>
<a href="../../classes.html#"/>
</li>
<li class="separator">
<a title="Query\State" href="../../classes/Query_State.html">State</a>
<a title="BadFunctionCallException" href="../../classes/BadFunctionCallException.html">BadFunctionCallException</a>
</li>
<li class="separator">getSetString</li>
<li class="separator">__toString</li>
</ul>
</div>
<nav class="box">
@ -58,19 +58,16 @@
<li>
<a href="#return">Return</a>
</li>
<li>
<a href="../../source/State.php.html#line176">Source</a>
</li>
</ul>
</nav>
<section>
<h1><small>Query\State::</small>getSetString</h1>
<h1><small>BadFunctionCallException::</small>__toString</h1>
<h4/>
<p/>
<ul/>
<h2 id="signature">Signature</h2>
<div class="styled synopsis">
<code>public function getSetString()
<code>public function __toString()
</code>
</div>
<h2 id="return">Returns</h2>
@ -81,7 +78,7 @@
</section>
</div>
<footer>
<span>Generated using phpDox 0.11.0-dev - Copyright (C) 2010 - 2018 by Arne Blankerts and Contributors</span>
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2020 by Arne Blankerts and Contributors</span>
</footer>
</body>
</html>

View File

@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>phpDox - BadFunctionCallException::getCode</title>
<link rel="stylesheet" type="text/css" href="../../css/style.css" media="screen"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>
<body>
<nav class="topnav">
<ul>
<li>
<div class="logo"><span>/**</span>phpDox</div>
</li>
<li class="separator">
<a href="../../index.html">Overview</a>
</li>
<li class="separator">
<a href="../../namespaces.html">Namespaces</a>
</li>
<li>
<a href="../../interfaces.html">Interfaces</a>
</li>
<li>
<a href="../../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../../source/index.html">Source</a>
</li>
</ul>
</nav>
<div id="mainstage">
<div class="box">
<ul class="breadcrumb">
<li>
<a href="../../index.html">Overview</a>
</li>
<li class="separator">
<a href="../../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../../classes.html#"/>
</li>
<li class="separator">
<a title="BadFunctionCallException" href="../../classes/BadFunctionCallException.html">BadFunctionCallException</a>
</li>
<li class="separator">getCode</li>
</ul>
</div>
<nav class="box">
<ul>
<li>
<a href="#introduction">Introduction</a>
</li>
<li>
<a href="#synopsis">Synopsis</a>
</li>
<li>
<a href="#return">Return</a>
</li>
</ul>
</nav>
<section>
<h1><small>BadFunctionCallException::</small>getCode</h1>
<h4/>
<p/>
<ul/>
<h2 id="signature">Signature</h2>
<div class="styled synopsis">
<code>public function getCode()
</code>
</div>
<h2 id="return">Returns</h2>
<dl class="styled">
<dt>mixed</dt>
<dd/>
</dl>
</section>
</div>
<footer>
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2020 by Arne Blankerts and Contributors</span>
</footer>
</body>
</html>

View File

@ -2,7 +2,7 @@
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>phpDox - Query\State::getFromString</title>
<title>phpDox - BadFunctionCallException::getFile</title>
<link rel="stylesheet" type="text/css" href="../../css/style.css" media="screen"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>
@ -39,12 +39,12 @@
<a href="../../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../../classes.html#Query">Query</a>
<a href="../../classes.html#"/>
</li>
<li class="separator">
<a title="Query\State" href="../../classes/Query_State.html">State</a>
<a title="BadFunctionCallException" href="../../classes/BadFunctionCallException.html">BadFunctionCallException</a>
</li>
<li class="separator">getFromString</li>
<li class="separator">getFile</li>
</ul>
</div>
<nav class="box">
@ -58,19 +58,16 @@
<li>
<a href="#return">Return</a>
</li>
<li>
<a href="../../source/State.php.html#line158">Source</a>
</li>
</ul>
</nav>
<section>
<h1><small>Query\State::</small>getFromString</h1>
<h1><small>BadFunctionCallException::</small>getFile</h1>
<h4/>
<p/>
<ul/>
<h2 id="signature">Signature</h2>
<div class="styled synopsis">
<code>public function getFromString()
<code>public function getFile()
</code>
</div>
<h2 id="return">Returns</h2>
@ -81,7 +78,7 @@
</section>
</div>
<footer>
<span>Generated using phpDox 0.11.0-dev - Copyright (C) 2010 - 2018 by Arne Blankerts and Contributors</span>
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2020 by Arne Blankerts and Contributors</span>
</footer>
</body>
</html>

View File

@ -2,7 +2,7 @@
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>phpDox - Query\State::getLimit</title>
<title>phpDox - BadFunctionCallException::getLine</title>
<link rel="stylesheet" type="text/css" href="../../css/style.css" media="screen"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>
@ -39,12 +39,12 @@
<a href="../../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../../classes.html#Query">Query</a>
<a href="../../classes.html#"/>
</li>
<li class="separator">
<a title="Query\State" href="../../classes/Query_State.html">State</a>
<a title="BadFunctionCallException" href="../../classes/BadFunctionCallException.html">BadFunctionCallException</a>
</li>
<li class="separator">getLimit</li>
<li class="separator">getLine</li>
</ul>
</div>
<nav class="box">
@ -58,19 +58,16 @@
<li>
<a href="#return">Return</a>
</li>
<li>
<a href="../../source/State.php.html#line351">Source</a>
</li>
</ul>
</nav>
<section>
<h1><small>Query\State::</small>getLimit</h1>
<h1><small>BadFunctionCallException::</small>getLine</h1>
<h4/>
<p/>
<ul/>
<h2 id="signature">Signature</h2>
<div class="styled synopsis">
<code>public function getLimit()
<code>public function getLine()
</code>
</div>
<h2 id="return">Returns</h2>
@ -81,7 +78,7 @@
</section>
</div>
<footer>
<span>Generated using phpDox 0.11.0-dev - Copyright (C) 2010 - 2018 by Arne Blankerts and Contributors</span>
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2020 by Arne Blankerts and Contributors</span>
</footer>
</body>
</html>

View File

@ -2,7 +2,7 @@
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>phpDox - Query\State::getOrderString</title>
<title>phpDox - BadFunctionCallException::getMessage</title>
<link rel="stylesheet" type="text/css" href="../../css/style.css" media="screen"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>
@ -39,12 +39,12 @@
<a href="../../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../../classes.html#Query">Query</a>
<a href="../../classes.html#"/>
</li>
<li class="separator">
<a title="Query\State" href="../../classes/Query_State.html">State</a>
<a title="BadFunctionCallException" href="../../classes/BadFunctionCallException.html">BadFunctionCallException</a>
</li>
<li class="separator">getOrderString</li>
<li class="separator">getMessage</li>
</ul>
</div>
<nav class="box">
@ -58,19 +58,16 @@
<li>
<a href="#return">Return</a>
</li>
<li>
<a href="../../source/State.php.html#line194">Source</a>
</li>
</ul>
</nav>
<section>
<h1><small>Query\State::</small>getOrderString</h1>
<h1><small>BadFunctionCallException::</small>getMessage</h1>
<h4/>
<p/>
<ul/>
<h2 id="signature">Signature</h2>
<div class="styled synopsis">
<code>public function getOrderString()
<code>public function getMessage()
</code>
</div>
<h2 id="return">Returns</h2>
@ -81,7 +78,7 @@
</section>
</div>
<footer>
<span>Generated using phpDox 0.11.0-dev - Copyright (C) 2010 - 2018 by Arne Blankerts and Contributors</span>
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2020 by Arne Blankerts and Contributors</span>
</footer>
</body>
</html>

View File

@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>phpDox - BadFunctionCallException::getPrevious</title>
<link rel="stylesheet" type="text/css" href="../../css/style.css" media="screen"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>
<body>
<nav class="topnav">
<ul>
<li>
<div class="logo"><span>/**</span>phpDox</div>
</li>
<li class="separator">
<a href="../../index.html">Overview</a>
</li>
<li class="separator">
<a href="../../namespaces.html">Namespaces</a>
</li>
<li>
<a href="../../interfaces.html">Interfaces</a>
</li>
<li>
<a href="../../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../../source/index.html">Source</a>
</li>
</ul>
</nav>
<div id="mainstage">
<div class="box">
<ul class="breadcrumb">
<li>
<a href="../../index.html">Overview</a>
</li>
<li class="separator">
<a href="../../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../../classes.html#"/>
</li>
<li class="separator">
<a title="BadFunctionCallException" href="../../classes/BadFunctionCallException.html">BadFunctionCallException</a>
</li>
<li class="separator">getPrevious</li>
</ul>
</div>
<nav class="box">
<ul>
<li>
<a href="#introduction">Introduction</a>
</li>
<li>
<a href="#synopsis">Synopsis</a>
</li>
<li>
<a href="#return">Return</a>
</li>
</ul>
</nav>
<section>
<h1><small>BadFunctionCallException::</small>getPrevious</h1>
<h4/>
<p/>
<ul/>
<h2 id="signature">Signature</h2>
<div class="styled synopsis">
<code>public function getPrevious()
</code>
</div>
<h2 id="return">Returns</h2>
<dl class="styled">
<dt>Throwable</dt>
<dd/>
</dl>
</section>
</div>
<footer>
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2020 by Arne Blankerts and Contributors</span>
</footer>
</body>
</html>

View File

@ -2,7 +2,7 @@
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>phpDox - Query\State::getValues</title>
<title>phpDox - BadFunctionCallException::getTrace</title>
<link rel="stylesheet" type="text/css" href="../../css/style.css" media="screen"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>
@ -39,12 +39,12 @@
<a href="../../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../../classes.html#Query">Query</a>
<a href="../../classes.html#"/>
</li>
<li class="separator">
<a title="Query\State" href="../../classes/Query_State.html">State</a>
<a title="BadFunctionCallException" href="../../classes/BadFunctionCallException.html">BadFunctionCallException</a>
</li>
<li class="separator">getValues</li>
<li class="separator">getTrace</li>
</ul>
</div>
<nav class="box">
@ -58,19 +58,16 @@
<li>
<a href="#return">Return</a>
</li>
<li>
<a href="../../source/State.php.html#line305">Source</a>
</li>
</ul>
</nav>
<section>
<h1><small>Query\State::</small>getValues</h1>
<h1><small>BadFunctionCallException::</small>getTrace</h1>
<h4/>
<p/>
<ul/>
<h2 id="signature">Signature</h2>
<div class="styled synopsis">
<code>public function getValues()
<code>public function getTrace()
</code>
</div>
<h2 id="return">Returns</h2>
@ -81,7 +78,7 @@
</section>
</div>
<footer>
<span>Generated using phpDox 0.11.0-dev - Copyright (C) 2010 - 2018 by Arne Blankerts and Contributors</span>
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2020 by Arne Blankerts and Contributors</span>
</footer>
</body>
</html>

View File

@ -2,7 +2,7 @@
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>phpDox - Query\State::getGroupString</title>
<title>phpDox - BadFunctionCallException::getTraceAsString</title>
<link rel="stylesheet" type="text/css" href="../../css/style.css" media="screen"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>
@ -39,12 +39,12 @@
<a href="../../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../../classes.html#Query">Query</a>
<a href="../../classes.html#"/>
</li>
<li class="separator">
<a title="Query\State" href="../../classes/Query_State.html">State</a>
<a title="BadFunctionCallException" href="../../classes/BadFunctionCallException.html">BadFunctionCallException</a>
</li>
<li class="separator">getGroupString</li>
<li class="separator">getTraceAsString</li>
</ul>
</div>
<nav class="box">
@ -58,19 +58,16 @@
<li>
<a href="#return">Return</a>
</li>
<li>
<a href="../../source/State.php.html#line212">Source</a>
</li>
</ul>
</nav>
<section>
<h1><small>Query\State::</small>getGroupString</h1>
<h1><small>BadFunctionCallException::</small>getTraceAsString</h1>
<h4/>
<p/>
<ul/>
<h2 id="signature">Signature</h2>
<div class="styled synopsis">
<code>public function getGroupString()
<code>public function getTraceAsString()
</code>
</div>
<h2 id="return">Returns</h2>
@ -81,7 +78,7 @@
</section>
</div>
<footer>
<span>Generated using phpDox 0.11.0-dev - Copyright (C) 2010 - 2018 by Arne Blankerts and Contributors</span>
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2020 by Arne Blankerts and Contributors</span>
</footer>
</body>
</html>

View File

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>phpDox - BadMethodCallException</title>
<link rel="stylesheet" type="text/css" href="../css/style.css" media="screen"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>
<body>
<nav class="topnav">
<ul>
<li>
<div class="logo"><span>/**</span>phpDox</div>
</li>
<li class="separator">
<a href="../index.html">Overview</a>
</li>
<li class="separator">
<a href="../namespaces.html">Namespaces</a>
</li>
<li>
<a href="../interfaces.html">Interfaces</a>
</li>