Compare commits
199 Commits
Author | SHA1 | Date | |
---|---|---|---|
433448fd8d | |||
c6f77b9da1 | |||
527d3833cd | |||
2fbccaedbd | |||
2d80d8ea15 | |||
282935d9f8 | |||
cf2255ce87 | |||
94d1cbb09b | |||
1bfbcf2ffe | |||
973e92e99f | |||
|
d80f26859e | ||
|
b0ecaa87e4 | ||
18dd997961 | |||
eee88ddc7c | |||
|
03f8fe30d0 | ||
|
3013242106 | ||
69c27e2415 | |||
4c8cd18060 | |||
a174a6747f | |||
d69655be02 | |||
8678913cd0 | |||
0766efcd2e | |||
2aadc3a8db | |||
9c3dc58bef | |||
5af43f6363 | |||
60a75ebbbf | |||
4eb234db70 | |||
4201a7c42c | |||
519b39e75e | |||
15de3b8dde | |||
18165b2dc3 | |||
2821a2d4e1 | |||
c67fabd1f7 | |||
2620df1589 | |||
ab5a3c04d0 | |||
77df254a0c | |||
54a6054728 | |||
39569ccb96 | |||
89ef2ae103 | |||
098798ca5a | |||
37c84e1b17 | |||
337ae26402 | |||
2bf8897918 | |||
78705bf796 | |||
a5dab73828 | |||
83373700d3 | |||
675e6eff66 | |||
834c4e39df | |||
8013a9fc61 | |||
4326602d17 | |||
168d444f8a | |||
6a36a85ac0 | |||
41394cb661 | |||
09b6610eb1 | |||
2839e6ad6e | |||
327c30f359 | |||
f15ea8ebb8 | |||
fe7b0d698a | |||
aa6216ca37 | |||
57565f6bfc | |||
8d119eb9ee | |||
8e13b80a3a | |||
2c358533a8 | |||
33bb440bd2 | |||
6a3db6581a | |||
a2d5092b5e | |||
3067976cb1 | |||
56c929088a | |||
f5aaa59f8d | |||
1bb1b5f7e4 | |||
dca1e38f60 | |||
83b499e246 | |||
74b0ec3026 | |||
172eb3f6eb | |||
faace71844 | |||
73e4c35163 | |||
f967aaf96e | |||
2a5b623edc | |||
16e50c3277 | |||
608b25207a | |||
1d583bcc23 | |||
516ddcd76d | |||
908b9f39cd | |||
e4ca039b3d | |||
8401cceb0d | |||
91eb8123d1 | |||
0df1b43af8 | |||
01f90d2224 | |||
682a706130 | |||
af19936f01 | |||
86280d6193 | |||
6193aae800 | |||
89150ceafc | |||
1eb146bb67 | |||
80d27d9bfe | |||
4df07b6c72 | |||
369ca6eb04 | |||
c735c27559 | |||
f0373e468e | |||
fa645bd7ab | |||
443526a6a8 | |||
e1703d0947 | |||
059ab60af5 | |||
1118631c58 | |||
b8d4768b1b | |||
111dce92d2 | |||
d17ef1656c | |||
6740aaef79 | |||
3eb4d889f9 | |||
ca601623ba | |||
2db7ad182d | |||
24f3b1d701 | |||
bb382131cc | |||
559c76f8d2 | |||
eef3a30ad0 | |||
8b38d5e24f | |||
abb558ac01 | |||
a6131924f7 | |||
97eccfd706 | |||
6e1f28724e | |||
ac867c903a | |||
757b83797f | |||
ae9dc46a17 | |||
f0704ed35e | |||
a7df1a0d0b | |||
06ba85ca6a | |||
3d296be011 | |||
cb04a9bb95 | |||
0d13d8e078 | |||
bcfb0f2be8 | |||
d5f7e4274d | |||
c60e768f4e | |||
6cda9a984a | |||
fd23039512 | |||
7c48eecb1a | |||
4814f5f787 | |||
25136dd85f | |||
2e13112961 | |||
b02c9a3ff1 | |||
c0674d5faa | |||
|
61112ffc03 | ||
|
35e338c9ad | ||
e62f5771a5 | |||
c64d693563 | |||
2613a1c8a4 | |||
|
57b0e5e2a3 | ||
|
8d65af5c4a | ||
3246b548ea | |||
45c29c6d3a | |||
a1c3b9e7db | |||
1e2a7ee566 | |||
499c7df005 | |||
fd98c4b3b8 | |||
b5a141ffc7 | |||
39cd2ecff8 | |||
ee0b98cf28 | |||
a27d639b13 | |||
d55a244f1a | |||
e6ac4a70ad | |||
2a8664b92d | |||
6fa773480b | |||
d5c8212dd0 | |||
8898902973 | |||
de727dbc3c | |||
02ed11e0af | |||
e890efb4ab | |||
044a33e1e4 | |||
ae3d068efe | |||
03dfe9d35a | |||
1232450cc4 | |||
e35669aa70 | |||
7aeb0eaef6 | |||
c08d741505 | |||
0fdd1ab4c0 | |||
4b46cfed93 | |||
83d20179f9 | |||
f4a517594e | |||
97ceb94e3c | |||
e1f0f57e5a | |||
3e58c5c6ff | |||
cc48fff43f | |||
11755c3770 | |||
1073a92e31 | |||
555865bdb7 | |||
056e8bf6d9 | |||
225017adee | |||
8669fcc4be | |||
|
d89f34b177 | ||
|
f3769ba372 | ||
8511c6a445 | |||
aeab1a31ec | |||
86d3e0204d | |||
7dbae40d36 | |||
cd7f904889 | |||
3d310be266 | |||
b4118ce591 | |||
28f5cb2934 | |||
6b20982f61 | |||
bfc3ea33ca |
20
.editorconfig
Normal file
20
.editorconfig
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# EditorConfig is awesome: http://EditorConfig.org
|
||||||
|
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
# Unix-style newlines with a newline ending every file
|
||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = false
|
||||||
|
charset = utf-8
|
||||||
|
indent_style = tab
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.{cpp,c,h,hpp,cxx}]
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
# Yaml files
|
||||||
|
[*.{yml,yaml}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
149
.gitignore
vendored
149
.gitignore
vendored
@ -1,12 +1,153 @@
|
|||||||
|
|
||||||
|
# Created by https://www.gitignore.io/api/linux,macos,windows,jetbrains+all
|
||||||
|
|
||||||
|
### JetBrains+all ###
|
||||||
|
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
|
||||||
|
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
||||||
|
|
||||||
|
# User-specific stuff:
|
||||||
|
.idea/**/workspace.xml
|
||||||
|
.idea/**/tasks.xml
|
||||||
|
.idea/dictionaries
|
||||||
|
|
||||||
|
# Sensitive or high-churn files:
|
||||||
|
.idea/**/dataSources/
|
||||||
|
.idea/**/dataSources.ids
|
||||||
|
.idea/**/dataSources.xml
|
||||||
|
.idea/**/dataSources.local.xml
|
||||||
|
.idea/**/sqlDataSources.xml
|
||||||
|
.idea/**/dynamic.xml
|
||||||
|
.idea/**/uiDesigner.xml
|
||||||
|
|
||||||
|
# Gradle:
|
||||||
|
.idea/**/gradle.xml
|
||||||
|
.idea/**/libraries
|
||||||
|
|
||||||
|
# CMake
|
||||||
|
cmake-build-debug/
|
||||||
|
|
||||||
|
# Mongo Explorer plugin:
|
||||||
|
.idea/**/mongoSettings.xml
|
||||||
|
|
||||||
|
## File-based project format:
|
||||||
|
*.iws
|
||||||
|
|
||||||
|
## Plugin-specific files:
|
||||||
|
|
||||||
|
# IntelliJ
|
||||||
|
/out/
|
||||||
|
|
||||||
|
# mpeltonen/sbt-idea plugin
|
||||||
|
.idea_modules/
|
||||||
|
|
||||||
|
# JIRA plugin
|
||||||
|
atlassian-ide-plugin.xml
|
||||||
|
|
||||||
|
# Cursive Clojure plugin
|
||||||
|
.idea/replstate.xml
|
||||||
|
|
||||||
|
# Ruby plugin and RubyMine
|
||||||
|
/.rakeTasks
|
||||||
|
|
||||||
|
# Crashlytics plugin (for Android Studio and IntelliJ)
|
||||||
|
com_crashlytics_export_strings.xml
|
||||||
|
crashlytics.properties
|
||||||
|
crashlytics-build.properties
|
||||||
|
fabric.properties
|
||||||
|
|
||||||
|
### JetBrains+all Patch ###
|
||||||
|
# Ignores the whole idea folder
|
||||||
|
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360
|
||||||
|
|
||||||
|
.idea/
|
||||||
|
|
||||||
|
### Linux ###
|
||||||
|
*~
|
||||||
|
|
||||||
|
# temporary files which can be created if a process still has a handle open of a deleted file
|
||||||
|
.fuse_hidden*
|
||||||
|
|
||||||
|
# KDE directory preferences
|
||||||
|
.directory
|
||||||
|
|
||||||
|
# Linux trash folder which might appear on any partition or disk
|
||||||
|
.Trash-*
|
||||||
|
|
||||||
|
# .nfs files are created when an open file is removed but is still being accessed
|
||||||
|
.nfs*
|
||||||
|
|
||||||
|
### macOS ###
|
||||||
|
*.DS_Store
|
||||||
|
.AppleDouble
|
||||||
|
.LSOverride
|
||||||
|
|
||||||
|
# Icon must end with two \r
|
||||||
|
Icon
|
||||||
|
|
||||||
|
# Thumbnails
|
||||||
|
._*
|
||||||
|
|
||||||
|
# Files that might appear in the root of a volume
|
||||||
|
.DocumentRevisions-V100
|
||||||
|
.fseventsd
|
||||||
|
.Spotlight-V100
|
||||||
|
.TemporaryItems
|
||||||
|
.Trashes
|
||||||
|
.VolumeIcon.icns
|
||||||
|
.com.apple.timemachine.donotpresent
|
||||||
|
|
||||||
|
# Directories potentially created on remote AFP share
|
||||||
|
.AppleDB
|
||||||
|
.AppleDesktop
|
||||||
|
Network Trash Folder
|
||||||
|
Temporary Items
|
||||||
|
.apdisk
|
||||||
|
|
||||||
|
### Windows ###
|
||||||
|
# Windows thumbnail cache files
|
||||||
|
Thumbs.db
|
||||||
|
ehthumbs.db
|
||||||
|
ehthumbs_vista.db
|
||||||
|
|
||||||
|
# Folder config file
|
||||||
|
Desktop.ini
|
||||||
|
|
||||||
|
# Recycle Bin used on file shares
|
||||||
|
$RECYCLE.BIN/
|
||||||
|
|
||||||
|
# Windows Installer files
|
||||||
|
*.cab
|
||||||
|
*.msi
|
||||||
|
*.msm
|
||||||
|
*.msp
|
||||||
|
|
||||||
|
# Windows shortcuts
|
||||||
|
*.lnk
|
||||||
|
|
||||||
|
|
||||||
|
# End of https://www.gitignore.io/api/linux,macos,windows,jetbrains+all
|
||||||
|
|
||||||
|
|
||||||
test_config.json
|
test_config.json
|
||||||
index.html
|
index.html
|
||||||
tests/db_files/*
|
tests/db_files/*.db
|
||||||
._*
|
build/api/*
|
||||||
|
build/cache
|
||||||
|
build/coverage/*
|
||||||
|
build/logs/*
|
||||||
|
build/pdepend/*
|
||||||
|
build/phpdox/*
|
||||||
|
cache.properties
|
||||||
tests/settings.json
|
tests/settings.json
|
||||||
.php_cs
|
.php_cs
|
||||||
|
.phpdoc
|
||||||
coverage/*
|
coverage/*
|
||||||
vendor/*
|
vendor
|
||||||
composer.lock
|
composer.lock
|
||||||
docs/phpdoc*
|
docs/phpdoc*
|
||||||
.project
|
.project
|
||||||
all_tests
|
all_tests
|
||||||
|
build/.phpunit.result.cache
|
||||||
|
.phpunit.cache
|
||||||
|
.php-cs-fixer.cache
|
||||||
|
tools/phpDocumentor
|
||||||
|
4
.phive/phars.xml
Normal file
4
.phive/phars.xml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<phive xmlns="https://phar.io/phive">
|
||||||
|
<phar name="phpdocumentor" version="^3.3.1" installed="3.3.1" location="./tools/phpDocumentor" copy="false"/>
|
||||||
|
</phive>
|
524
.php-cs-fixer.dist.php
Normal file
524
.php-cs-fixer.dist.php
Normal file
@ -0,0 +1,524 @@
|
|||||||
|
<?php declare(strict_types=1);
|
||||||
|
|
||||||
|
use Nexus\CsConfig\Factory;
|
||||||
|
use PhpCsFixer\{Config, Finder};
|
||||||
|
|
||||||
|
$finder = Finder::create()
|
||||||
|
->in([
|
||||||
|
__DIR__ . '/src',
|
||||||
|
__DIR__ . '/tests',
|
||||||
|
__DIR__ . '/tools',
|
||||||
|
])
|
||||||
|
->exclude([
|
||||||
|
'vendor',
|
||||||
|
]);
|
||||||
|
|
||||||
|
return (new Config())
|
||||||
|
->setRiskyAllowed(TRUE)
|
||||||
|
->setFinder($finder)
|
||||||
|
->setIndent(' ')
|
||||||
|
->setRules([
|
||||||
|
'align_multiline_comment' => false,
|
||||||
|
'array_indentation' => true,
|
||||||
|
'array_push' => true,
|
||||||
|
'array_syntax' => ['syntax' => 'short'],
|
||||||
|
'assign_null_coalescing_to_coalesce_equal' => true,
|
||||||
|
'backtick_to_shell_exec' => true,
|
||||||
|
'binary_operator_spaces' => [
|
||||||
|
'default' => 'single_space',
|
||||||
|
'operators' => [
|
||||||
|
'=' => NULL,
|
||||||
|
'&' => NULL,
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'blank_line_after_namespace' => true,
|
||||||
|
'blank_line_after_opening_tag' => false,
|
||||||
|
'blank_line_before_statement' => [
|
||||||
|
'statements' => [
|
||||||
|
// 'case',
|
||||||
|
'continue',
|
||||||
|
'declare',
|
||||||
|
'default',
|
||||||
|
'do',
|
||||||
|
'exit',
|
||||||
|
'for',
|
||||||
|
'foreach',
|
||||||
|
'goto',
|
||||||
|
'return',
|
||||||
|
'switch',
|
||||||
|
'throw',
|
||||||
|
'try',
|
||||||
|
'while',
|
||||||
|
'yield',
|
||||||
|
'yield_from',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'braces' => [
|
||||||
|
'allow_single_line_anonymous_class_with_empty_body' => true,
|
||||||
|
'allow_single_line_closure' => true,
|
||||||
|
'position_after_anonymous_constructs' => 'same',
|
||||||
|
'position_after_control_structures' => 'next',
|
||||||
|
'position_after_functions_and_oop_constructs' => 'next',
|
||||||
|
],
|
||||||
|
'cast_spaces' => ['space' => 'single'],
|
||||||
|
'class_attributes_separation' => [
|
||||||
|
'elements' => [
|
||||||
|
'const' => 'none',
|
||||||
|
'property' => 'none',
|
||||||
|
'method' => 'one',
|
||||||
|
'trait_import' => 'none',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'class_definition' => [
|
||||||
|
'multi_line_extends_each_single_line' => true,
|
||||||
|
'single_item_single_line' => true,
|
||||||
|
'single_line' => true,
|
||||||
|
'space_before_parenthesis' => true,
|
||||||
|
],
|
||||||
|
'class_reference_name_casing' => true,
|
||||||
|
'clean_namespace' => true,
|
||||||
|
'combine_consecutive_issets' => true,
|
||||||
|
'combine_consecutive_unsets' => true,
|
||||||
|
'combine_nested_dirname' => true,
|
||||||
|
'comment_to_phpdoc' => [
|
||||||
|
'ignored_tags' => [
|
||||||
|
'todo',
|
||||||
|
'codeCoverageIgnore',
|
||||||
|
'codeCoverageIgnoreStart',
|
||||||
|
'codeCoverageIgnoreEnd',
|
||||||
|
'phpstan-ignore-line',
|
||||||
|
'phpstan-ignore-next-line',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'compact_nullable_typehint' => true,
|
||||||
|
'concat_space' => ['spacing' => 'one'],
|
||||||
|
'constant_case' => ['case' => 'upper'],
|
||||||
|
'control_structure_continuation_position' => ['position' => 'next_line'],
|
||||||
|
'date_time_immutable' => false,
|
||||||
|
'declare_equal_normalize' => ['space' => 'none'],
|
||||||
|
'declare_parentheses' => true,
|
||||||
|
'declare_strict_types' => true,
|
||||||
|
'dir_constant' => true,
|
||||||
|
'doctrine_annotation_array_assignment' => false,
|
||||||
|
'doctrine_annotation_braces' => false,
|
||||||
|
'doctrine_annotation_indentation' => false,
|
||||||
|
'doctrine_annotation_spaces' => false,
|
||||||
|
'echo_tag_syntax' => [
|
||||||
|
'format' => 'short',
|
||||||
|
'long_function' => 'echo',
|
||||||
|
'shorten_simple_statements_only' => false,
|
||||||
|
],
|
||||||
|
'elseif' => true,
|
||||||
|
'empty_loop_body' => ['style' => 'braces'],
|
||||||
|
'empty_loop_condition' => ['style' => 'while'],
|
||||||
|
'encoding' => true,
|
||||||
|
'error_suppression' => [
|
||||||
|
'mute_deprecation_error' => true,
|
||||||
|
'noise_remaining_usages' => false,
|
||||||
|
'noise_remaining_usages_exclude' => [],
|
||||||
|
],
|
||||||
|
'escape_implicit_backslashes' => [
|
||||||
|
'double_quoted' => false,
|
||||||
|
'heredoc_syntax' => false,
|
||||||
|
'single_quoted' => false,
|
||||||
|
],
|
||||||
|
'explicit_indirect_variable' => false,
|
||||||
|
'explicit_string_variable' => false,
|
||||||
|
'final_class' => false,
|
||||||
|
'final_internal_class' => [
|
||||||
|
'annotation_exclude' => ['@no-final'],
|
||||||
|
'annotation_include' => ['@internal'],
|
||||||
|
'consider_absent_docblock_as_internal_class' => false,
|
||||||
|
],
|
||||||
|
'final_public_method_for_abstract_class' => false,
|
||||||
|
'fopen_flag_order' => true,
|
||||||
|
'fopen_flags' => ['b_mode' => true],
|
||||||
|
'full_opening_tag' => true,
|
||||||
|
'fully_qualified_strict_types' => true,
|
||||||
|
'function_declaration' => ['closure_function_spacing' => 'one'],
|
||||||
|
'function_to_constant' => [
|
||||||
|
'functions' => [
|
||||||
|
'get_called_class',
|
||||||
|
'get_class',
|
||||||
|
'get_class_this',
|
||||||
|
'php_sapi_name',
|
||||||
|
'phpversion',
|
||||||
|
'pi',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'function_typehint_space' => true,
|
||||||
|
'general_phpdoc_annotation_remove' => false,
|
||||||
|
'general_phpdoc_tag_rename' => false,
|
||||||
|
'get_class_to_class_keyword' => false,
|
||||||
|
'global_namespace_import' => [
|
||||||
|
'import_constants' => true,
|
||||||
|
'import_functions' => true,
|
||||||
|
'import_classes' => true,
|
||||||
|
],
|
||||||
|
'group_import' => true,
|
||||||
|
'header_comment' => false, // false by default
|
||||||
|
// 'heredoc_indentation' => ['indentation' => 'start_plus_one'],
|
||||||
|
'heredoc_to_nowdoc' => true,
|
||||||
|
'implode_call' => true,
|
||||||
|
'include' => true,
|
||||||
|
'increment_style' => ['style' => 'post'],
|
||||||
|
'indentation_type' => true,
|
||||||
|
'integer_literal_case' => true,
|
||||||
|
'is_null' => true,
|
||||||
|
'lambda_not_used_import' => true,
|
||||||
|
'line_ending' => true,
|
||||||
|
'linebreak_after_opening_tag' => false,
|
||||||
|
'list_syntax' => ['syntax' => 'short'],
|
||||||
|
'logical_operators' => true,
|
||||||
|
'lowercase_cast' => true,
|
||||||
|
'lowercase_keywords' => true,
|
||||||
|
'lowercase_static_reference' => true,
|
||||||
|
'magic_constant_casing' => true,
|
||||||
|
'magic_method_casing' => true,
|
||||||
|
'mb_str_functions' => false,
|
||||||
|
'method_argument_space' => [
|
||||||
|
'after_heredoc' => false,
|
||||||
|
'keep_multiple_spaces_after_comma' => false,
|
||||||
|
'on_multiline' => 'ensure_fully_multiline',
|
||||||
|
],
|
||||||
|
'method_chaining_indentation' => true,
|
||||||
|
'modernize_strpos' => false, // requires 8.0+
|
||||||
|
'modernize_types_casting' => true,
|
||||||
|
'multiline_comment_opening_closing' => true,
|
||||||
|
'multiline_whitespace_before_semicolons' => ['strategy' => 'no_multi_line'],
|
||||||
|
'native_constant_invocation' => false,
|
||||||
|
'native_function_casing' => true,
|
||||||
|
'native_function_invocation' => false,
|
||||||
|
'native_function_type_declaration_casing' => true,
|
||||||
|
'new_with_braces' => false,
|
||||||
|
'no_alias_functions' => ['sets' => ['@all']],
|
||||||
|
'no_alias_language_construct_call' => true,
|
||||||
|
'no_alternative_syntax' => ['fix_non_monolithic_code' => false],
|
||||||
|
'no_binary_string' => true,
|
||||||
|
'no_blank_lines_after_class_opening' => true,
|
||||||
|
'no_blank_lines_after_phpdoc' => true,
|
||||||
|
'no_blank_lines_before_namespace' => false, // conflicts with `single_blank_line_before_namespace`
|
||||||
|
'no_break_comment' => ['comment_text' => 'no break'],
|
||||||
|
'no_closing_tag' => true,
|
||||||
|
'no_empty_comment' => true,
|
||||||
|
'no_empty_phpdoc' => true,
|
||||||
|
'no_empty_statement' => true,
|
||||||
|
'no_extra_blank_lines' => ['tokens' => ['extra']],
|
||||||
|
'no_homoglyph_names' => true,
|
||||||
|
'no_leading_import_slash' => true,
|
||||||
|
'no_leading_namespace_whitespace' => true,
|
||||||
|
'no_mixed_echo_print' => ['use' => 'echo'],
|
||||||
|
'no_multiline_whitespace_around_double_arrow' => true,
|
||||||
|
'no_null_property_initialization' => true,
|
||||||
|
'no_short_bool_cast' => true,
|
||||||
|
'no_singleline_whitespace_before_semicolons' => true,
|
||||||
|
'no_space_around_double_colon' => true,
|
||||||
|
'no_spaces_after_function_name' => true,
|
||||||
|
'no_spaces_around_offset' => ['positions' => ['inside', 'outside']],
|
||||||
|
'no_spaces_inside_parenthesis' => true,
|
||||||
|
'no_superfluous_elseif' => true,
|
||||||
|
'no_superfluous_phpdoc_tags' => [
|
||||||
|
'allow_mixed' => true,
|
||||||
|
'allow_unused_params' => true,
|
||||||
|
'remove_inheritdoc' => false,
|
||||||
|
],
|
||||||
|
'no_trailing_comma_in_singleline' => true,
|
||||||
|
'no_trailing_whitespace' => true,
|
||||||
|
'no_trailing_whitespace_in_comment' => true,
|
||||||
|
'no_trailing_whitespace_in_string' => true,
|
||||||
|
'no_unneeded_control_parentheses' => [
|
||||||
|
'statements' => [
|
||||||
|
'break',
|
||||||
|
'clone',
|
||||||
|
'continue',
|
||||||
|
'echo_print',
|
||||||
|
'return',
|
||||||
|
'switch_case',
|
||||||
|
'yield',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'no_unneeded_curly_braces' => ['namespaces' => true],
|
||||||
|
'no_unneeded_final_method' => ['private_methods' => true],
|
||||||
|
'no_unneeded_import_alias' => true,
|
||||||
|
'no_unreachable_default_argument_value' => true,
|
||||||
|
'no_unset_cast' => true,
|
||||||
|
'no_unset_on_property' => false,
|
||||||
|
'no_unused_imports' => true,
|
||||||
|
'no_useless_else' => true,
|
||||||
|
'no_useless_return' => true,
|
||||||
|
'no_useless_sprintf' => true,
|
||||||
|
'no_whitespace_before_comma_in_array' => ['after_heredoc' => true],
|
||||||
|
'no_whitespace_in_blank_line' => true,
|
||||||
|
'non_printable_character' => ['use_escape_sequences_in_strings' => true],
|
||||||
|
'normalize_index_brace' => true,
|
||||||
|
'not_operator_with_space' => true,
|
||||||
|
'not_operator_with_successor_space' => true,
|
||||||
|
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true],
|
||||||
|
'object_operator_without_whitespace' => true,
|
||||||
|
'operator_linebreak' => ['only_booleans' => true, 'position' => 'beginning'],
|
||||||
|
'ordered_class_elements' => [
|
||||||
|
'order' => [
|
||||||
|
'use_trait',
|
||||||
|
'case',
|
||||||
|
'constant_public',
|
||||||
|
'constant_protected',
|
||||||
|
'constant_private',
|
||||||
|
'property_public',
|
||||||
|
'property_protected',
|
||||||
|
'property_private',
|
||||||
|
'construct',
|
||||||
|
'destruct',
|
||||||
|
'magic',
|
||||||
|
],
|
||||||
|
'sort_algorithm' => 'none',
|
||||||
|
],
|
||||||
|
'ordered_imports' => [
|
||||||
|
'sort_algorithm' => 'alpha',
|
||||||
|
'imports_order' => ['class', 'function', 'const'],
|
||||||
|
],
|
||||||
|
'ordered_interfaces' => false,
|
||||||
|
'ordered_traits' => false,
|
||||||
|
'php_unit_construct' => [
|
||||||
|
'assertions' => [
|
||||||
|
'assertSame',
|
||||||
|
'assertEquals',
|
||||||
|
'assertNotEquals',
|
||||||
|
'assertNotSame',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'php_unit_dedicate_assert' => ['target' => 'newest'],
|
||||||
|
'php_unit_dedicate_assert_internal_type' => ['target' => 'newest'],
|
||||||
|
'php_unit_expectation' => ['target' => 'newest'],
|
||||||
|
'php_unit_fqcn_annotation' => true,
|
||||||
|
'php_unit_internal_class' => ['types' => ['final']],
|
||||||
|
'php_unit_method_casing' => ['case' => 'camel_case'],
|
||||||
|
'php_unit_mock' => ['target' => 'newest'],
|
||||||
|
'php_unit_mock_short_will_return' => true,
|
||||||
|
'php_unit_namespaced' => ['target' => 'newest'],
|
||||||
|
'php_unit_no_expectation_annotation' => [
|
||||||
|
'target' => 'newest',
|
||||||
|
'use_class_const' => true,
|
||||||
|
],
|
||||||
|
'php_unit_set_up_tear_down_visibility' => true,
|
||||||
|
'php_unit_size_class' => false,
|
||||||
|
// 'php_unit_strict' => [
|
||||||
|
// 'assertions' => [
|
||||||
|
// 'assertAttributeEquals',
|
||||||
|
// 'assertAttributeNotEquals',
|
||||||
|
// 'assertEquals',
|
||||||
|
// 'assertNotEquals',
|
||||||
|
// ],
|
||||||
|
// ],
|
||||||
|
'php_unit_test_annotation' => ['style' => 'prefix'],
|
||||||
|
'php_unit_test_case_static_method_calls' => [
|
||||||
|
'call_type' => 'this',
|
||||||
|
'methods' => [],
|
||||||
|
],
|
||||||
|
'php_unit_test_class_requires_covers' => false,
|
||||||
|
'phpdoc_add_missing_param_annotation' => ['only_untyped' => true],
|
||||||
|
'phpdoc_align' => [
|
||||||
|
'align' => 'left'
|
||||||
|
],
|
||||||
|
'phpdoc_annotation_without_dot' => false,
|
||||||
|
'phpdoc_indent' => true,
|
||||||
|
'phpdoc_inline_tag_normalizer' => [
|
||||||
|
'tags' => [
|
||||||
|
'example',
|
||||||
|
'id',
|
||||||
|
'internal',
|
||||||
|
'inheritdoc',
|
||||||
|
'inheritdocs',
|
||||||
|
'link',
|
||||||
|
'source',
|
||||||
|
'toc',
|
||||||
|
'tutorial',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'phpdoc_line_span' => [
|
||||||
|
'const' => 'multi',
|
||||||
|
'method' => 'multi',
|
||||||
|
'property' => 'multi',
|
||||||
|
],
|
||||||
|
'phpdoc_no_access' => true,
|
||||||
|
'phpdoc_no_empty_return' => false,
|
||||||
|
'phpdoc_no_package' => false,
|
||||||
|
'phpdoc_no_useless_inheritdoc' => true,
|
||||||
|
'phpdoc_order' => true,
|
||||||
|
'phpdoc_order_by_value' => [
|
||||||
|
'annotations' => [
|
||||||
|
'author',
|
||||||
|
'covers',
|
||||||
|
'coversNothing',
|
||||||
|
'dataProvider',
|
||||||
|
'depends',
|
||||||
|
'group',
|
||||||
|
'internal',
|
||||||
|
'method',
|
||||||
|
'property',
|
||||||
|
'property-read',
|
||||||
|
'property-write',
|
||||||
|
'requires',
|
||||||
|
'throws',
|
||||||
|
'uses',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'phpdoc_return_self_reference' => [
|
||||||
|
'replacements' => [
|
||||||
|
'this' => '$this',
|
||||||
|
'@this' => '$this',
|
||||||
|
'$self' => 'self',
|
||||||
|
'@self' => 'self',
|
||||||
|
'$static' => 'static',
|
||||||
|
'@static' => 'static',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'phpdoc_scalar' => [
|
||||||
|
'types' => [
|
||||||
|
'boolean',
|
||||||
|
'callback',
|
||||||
|
'double',
|
||||||
|
'integer',
|
||||||
|
'real',
|
||||||
|
'str',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'phpdoc_separation' => false,
|
||||||
|
'phpdoc_single_line_var_spacing' => true,
|
||||||
|
'phpdoc_summary' => false,
|
||||||
|
'phpdoc_tag_casing' => ['tags' => ['inheritDoc']],
|
||||||
|
'phpdoc_tag_type' => ['tags' => ['inheritDoc' => 'inline']],
|
||||||
|
'phpdoc_to_comment' => false,
|
||||||
|
'phpdoc_to_param_type' => false,
|
||||||
|
'phpdoc_to_property_type' => false,
|
||||||
|
'phpdoc_to_return_type' => false,
|
||||||
|
'phpdoc_trim' => true,
|
||||||
|
'phpdoc_trim_consecutive_blank_line_separation' => true,
|
||||||
|
'phpdoc_types' => ['groups' => ['simple', 'alias', 'meta']],
|
||||||
|
'phpdoc_types_order' => [
|
||||||
|
'null_adjustment' => 'always_last',
|
||||||
|
'sort_algorithm' => 'alpha',
|
||||||
|
],
|
||||||
|
'phpdoc_var_annotation_correct_order' => true,
|
||||||
|
'phpdoc_var_without_name' => true,
|
||||||
|
'pow_to_exponentiation' => true,
|
||||||
|
'protected_to_private' => true,
|
||||||
|
'psr_autoloading' => ['dir' => null],
|
||||||
|
'random_api_migration' => [
|
||||||
|
'replacements' => [
|
||||||
|
'getrandmax' => 'mt_getrandmax',
|
||||||
|
'rand' => 'mt_rand',
|
||||||
|
'srand' => 'mt_srand',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'regular_callable_call' => true,
|
||||||
|
'return_assignment' => true,
|
||||||
|
'return_type_declaration' => ['space_before' => 'none'],
|
||||||
|
'self_accessor' => false,
|
||||||
|
'self_static_accessor' => true,
|
||||||
|
'semicolon_after_instruction' => false,
|
||||||
|
'set_type_to_cast' => true,
|
||||||
|
'short_scalar_cast' => true,
|
||||||
|
'simple_to_complex_string_variable' => true,
|
||||||
|
'simplified_if_return' => true,
|
||||||
|
'simplified_null_return' => false,
|
||||||
|
'single_blank_line_at_eof' => true,
|
||||||
|
'single_blank_line_before_namespace' => true,
|
||||||
|
'single_class_element_per_statement' => ['elements' => ['const', 'property']],
|
||||||
|
'single_import_per_statement' => false,
|
||||||
|
'single_line_after_imports' => true,
|
||||||
|
'single_line_comment_style' => ['comment_types' => ['asterisk', 'hash']],
|
||||||
|
'single_line_throw' => false,
|
||||||
|
'single_quote' => ['strings_containing_single_quote_chars' => false],
|
||||||
|
'single_space_after_construct' => [
|
||||||
|
'constructs' => [
|
||||||
|
'abstract',
|
||||||
|
'as',
|
||||||
|
'attribute',
|
||||||
|
'break',
|
||||||
|
'case',
|
||||||
|
'catch',
|
||||||
|
'class',
|
||||||
|
'clone',
|
||||||
|
'comment',
|
||||||
|
'const',
|
||||||
|
'const_import',
|
||||||
|
'continue',
|
||||||
|
'do',
|
||||||
|
'echo',
|
||||||
|
'else',
|
||||||
|
'elseif',
|
||||||
|
'extends',
|
||||||
|
'final',
|
||||||
|
'finally',
|
||||||
|
'for',
|
||||||
|
'foreach',
|
||||||
|
'function',
|
||||||
|
'function_import',
|
||||||
|
'global',
|
||||||
|
'goto',
|
||||||
|
'if',
|
||||||
|
'implements',
|
||||||
|
'include',
|
||||||
|
'include_once',
|
||||||
|
'instanceof',
|
||||||
|
'insteadof',
|
||||||
|
'interface',
|
||||||
|
'match',
|
||||||
|
'named_argument',
|
||||||
|
'new',
|
||||||
|
'open_tag_with_echo',
|
||||||
|
'php_doc',
|
||||||
|
'php_open',
|
||||||
|
'print',
|
||||||
|
'private',
|
||||||
|
'protected',
|
||||||
|
'public',
|
||||||
|
'require',
|
||||||
|
'require_once',
|
||||||
|
'return',
|
||||||
|
'static',
|
||||||
|
'throw',
|
||||||
|
'trait',
|
||||||
|
'try',
|
||||||
|
'use',
|
||||||
|
'use_lambda',
|
||||||
|
'use_trait',
|
||||||
|
'var',
|
||||||
|
'while',
|
||||||
|
'yield',
|
||||||
|
'yield_from',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'single_trait_insert_per_statement' => true,
|
||||||
|
'space_after_semicolon' => ['remove_in_empty_for_expressions' => true],
|
||||||
|
'standardize_increment' => true,
|
||||||
|
'standardize_not_equals' => true,
|
||||||
|
'static_lambda' => true,
|
||||||
|
'strict_comparison' => true,
|
||||||
|
'strict_param' => true,
|
||||||
|
'string_length_to_empty' => true,
|
||||||
|
'string_line_ending' => true,
|
||||||
|
'switch_case_semicolon_to_colon' => true,
|
||||||
|
'switch_case_space' => true,
|
||||||
|
'switch_continue_to_break' => true,
|
||||||
|
'ternary_operator_spaces' => true,
|
||||||
|
'ternary_to_elvis_operator' => true,
|
||||||
|
'ternary_to_null_coalescing' => true,
|
||||||
|
'trailing_comma_in_multiline' => [
|
||||||
|
'after_heredoc' => true,
|
||||||
|
'elements' => ['arrays'],
|
||||||
|
],
|
||||||
|
'trim_array_spaces' => true,
|
||||||
|
'types_spaces' => ['space' => 'none'],
|
||||||
|
'unary_operator_spaces' => false,
|
||||||
|
'use_arrow_functions' => true,
|
||||||
|
'visibility_required' => ['elements' => ['const', 'method', 'property']],
|
||||||
|
'void_return' => false, // changes method signature
|
||||||
|
'whitespace_after_comma_in_array' => true,
|
||||||
|
'yoda_style' => [
|
||||||
|
'equal' => false,
|
||||||
|
'identical' => null,
|
||||||
|
'less_and_greater' => false,
|
||||||
|
'always_move_variable' => false,
|
||||||
|
],
|
||||||
|
]);
|
@ -1,25 +0,0 @@
|
|||||||
imports:
|
|
||||||
- php
|
|
||||||
|
|
||||||
tools:
|
|
||||||
external_code_coverage:
|
|
||||||
timeout: 1000
|
|
||||||
# PHP
|
|
||||||
|
|
||||||
# Don't like PSR standards, not going to get messages for them!
|
|
||||||
php_code_sniffer: false
|
|
||||||
|
|
||||||
php_sim: true
|
|
||||||
# Can't be used with similarity analyzer
|
|
||||||
php_cpd: false
|
|
||||||
|
|
||||||
php_mess_detector: true
|
|
||||||
php_pdepend: true
|
|
||||||
php_loc: true
|
|
||||||
php_analyzer:
|
|
||||||
config:
|
|
||||||
metrics_lack_of_cohesion_methods:
|
|
||||||
enabled: true
|
|
||||||
doc_comment_fixes:
|
|
||||||
enabled: true
|
|
||||||
php_hhvm: true
|
|
22
.travis.yml
22
.travis.yml
@ -1,22 +0,0 @@
|
|||||||
language: php
|
|
||||||
|
|
||||||
php:
|
|
||||||
- 5.3
|
|
||||||
- 5.4
|
|
||||||
- 5.5
|
|
||||||
- 5.6
|
|
||||||
- hhvm
|
|
||||||
- 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;'
|
|
||||||
|
|
||||||
script:
|
|
||||||
- mkdir -p build/logs
|
|
||||||
- cd tests && phpunit --coverage-clover build/logs/clover.xml
|
|
||||||
|
|
||||||
after_script:
|
|
||||||
- wget https://scrutinizer-ci.com/ocular.phar
|
|
||||||
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
|
|
@ -1,10 +1,10 @@
|
|||||||
#Contributing
|
# Contributing
|
||||||
|
|
||||||
Please submit pull requests to [timw4mail/Query](https://github.com/timw4mail/Query), but other issues to [aviat4ion/Query](https://github.com/aviat4ion/Query)
|
Please submit pull requests and issues to [aviat4ion/Query](https://git.timshomepage.net/aviat4ion/Query)
|
||||||
|
|
||||||
###Pull Requests
|
### Pull Requests
|
||||||
* All pull requests should have accompanying tests following the structure / makeup of the `/tests` folder
|
* All pull requests should have accompanying tests following the structure / makeup of the `/tests` folder
|
||||||
* Pull requests should reference the issue number on [aviat4ion/Query](https://github.com/aviat4ion/Query), if applicable.
|
* Pull requests should reference the issue number on [aviat4ion/Query](https://git.timshomepage.net/aviat4ion/Query), if applicable.
|
||||||
* Pull requests must follow project style:
|
* Pull requests must follow project style:
|
||||||
1. Follow [CodeIgniter Style](http://codeigniter.com/user_guide/general/styleguide.html)
|
1. Follow [CodeIgniter Style](http://codeigniter.com/user_guide/general/styleguide.html)
|
||||||
2. Use tabs for indentation, and do not align arrays or other multiple line statements.
|
2. Use tabs for indentation, and do not align arrays or other multiple line statements.
|
9
LICENSE.md
Normal file
9
LICENSE.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2016 Timothy J. Warren
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@ -1,623 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* Query
|
|
||||||
*
|
|
||||||
* Free Query Builder / Database Abstraction Layer
|
|
||||||
*
|
|
||||||
* @package Query
|
|
||||||
* @author Timothy J. Warren
|
|
||||||
* @copyright Copyright (c) 2012 - 2014
|
|
||||||
* @link https://github.com/aviat4ion/Query
|
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
|
||||||
*/
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
namespace Query;
|
|
||||||
use \Query\Driver\Driver_Interface;
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Abstract Class for internal implementation methods of the Query Builder
|
|
||||||
* @package Query
|
|
||||||
*/
|
|
||||||
abstract class Abstract_Query_Builder {
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
// ! Constants
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
const KEY = 0;
|
|
||||||
const VALUE = 1;
|
|
||||||
const BOTH = 2;
|
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
// ! SQL Clause Strings
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Compiled 'select' clause
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
protected $select_string = '';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Compiled 'from' clause
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
protected $from_string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Compiled arguments for insert / update
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
protected $set_string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Order by clause
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
protected $order_string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Group by clause
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
protected $group_string;
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
// ! SQL Clause Arrays
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Keys for insert/update statement
|
|
||||||
* @var array
|
|
||||||
*/
|
|
||||||
protected $set_array_keys = array();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Key/val pairs for order by clause
|
|
||||||
* @var array
|
|
||||||
*/
|
|
||||||
protected $order_array = array();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Key/val pairs for group by clause
|
|
||||||
* @var array
|
|
||||||
*/
|
|
||||||
protected $group_array = array();
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
// ! Other Class vars
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Values to apply to prepared statements
|
|
||||||
* @var array
|
|
||||||
*/
|
|
||||||
protected $values = array();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Values to apply to where clauses in prepared statements
|
|
||||||
* @var array
|
|
||||||
*/
|
|
||||||
protected $where_values = array();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Value for limit string
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
protected $limit;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Value for offset in limit string
|
|
||||||
* @var int
|
|
||||||
*/
|
|
||||||
protected $offset;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Query component order mapping
|
|
||||||
* for complex select queries
|
|
||||||
*
|
|
||||||
* Format:
|
|
||||||
* array(
|
|
||||||
* 'type' => 'where',
|
|
||||||
* 'conjunction' => ' AND ',
|
|
||||||
* 'string' => 'k=?'
|
|
||||||
* )
|
|
||||||
*
|
|
||||||
* @var array
|
|
||||||
*/
|
|
||||||
protected $query_map = array();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Map for having clause
|
|
||||||
* @var array
|
|
||||||
*/
|
|
||||||
protected $having_map;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Convenience property for connection management
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
public $conn_name = "";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* List of queries executed
|
|
||||||
* @var array
|
|
||||||
*/
|
|
||||||
public $queries;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Whether to do only an explain on the query
|
|
||||||
* @var bool
|
|
||||||
*/
|
|
||||||
protected $explain;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The current database driver
|
|
||||||
* @var Driver_Interface
|
|
||||||
*/
|
|
||||||
public $db;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Query parser class instance
|
|
||||||
* @var Query_Parser
|
|
||||||
*/
|
|
||||||
protected $parser;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Alias to driver util class
|
|
||||||
* @var \Query\Driver\Abstract_Util
|
|
||||||
*/
|
|
||||||
public $util;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Alias to driver sql class
|
|
||||||
* @var \Query\Driver\SQL_Interface
|
|
||||||
*/
|
|
||||||
public $sql;
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
// Methods
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set values in the class, with either an array or key value pair
|
|
||||||
*
|
|
||||||
* @param array $var
|
|
||||||
* @param mixed $key
|
|
||||||
* @param mixed $val
|
|
||||||
* @param int $val_type
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
protected function _mixed_set(&$var, $key, $val=NULL, $val_type=self::BOTH)
|
|
||||||
{
|
|
||||||
$arg = (is_scalar($key) && is_scalar($val))
|
|
||||||
? array($key => $val)
|
|
||||||
: $key;
|
|
||||||
|
|
||||||
foreach($arg as $k => $v)
|
|
||||||
{
|
|
||||||
if (in_array($val_type, array(self::KEY, self::VALUE)))
|
|
||||||
{
|
|
||||||
$var[] = ($val_type === self::KEY)
|
|
||||||
? $k
|
|
||||||
: $v;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$var[$k] = $v;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return $var;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Method to simplify select_ methods
|
|
||||||
*
|
|
||||||
* @param string $field
|
|
||||||
* @param string|bool $as
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
protected function _select($field, $as = FALSE)
|
|
||||||
{
|
|
||||||
// Escape the identifiers
|
|
||||||
$field = $this->db->quote_ident($field);
|
|
||||||
|
|
||||||
$as = ($as !== FALSE)
|
|
||||||
? $this->db->quote_ident($as)
|
|
||||||
: $field;
|
|
||||||
|
|
||||||
return "({$field}) AS {$as} ";
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Helper function for returning sql strings
|
|
||||||
*
|
|
||||||
* @param string $type
|
|
||||||
* @param string $table
|
|
||||||
* @param bool $reset
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
protected function _get_compile($type, $table, $reset)
|
|
||||||
{
|
|
||||||
$sql = $this->_compile($type, $table);
|
|
||||||
|
|
||||||
// Reset the query builder for the next query
|
|
||||||
if ($reset) $this->reset_query();
|
|
||||||
|
|
||||||
return $sql;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Simplify 'like' methods
|
|
||||||
*
|
|
||||||
* @param string $field
|
|
||||||
* @param mixed $val
|
|
||||||
* @param string $pos
|
|
||||||
* @param string $like
|
|
||||||
* @param string $conj
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
protected function _like($field, $val, $pos, $like='LIKE', $conj='AND')
|
|
||||||
{
|
|
||||||
$field = $this->db->quote_ident($field);
|
|
||||||
|
|
||||||
// Add the like string into the order map
|
|
||||||
$like = $field. " {$like} ?";
|
|
||||||
|
|
||||||
if ($pos == 'before')
|
|
||||||
{
|
|
||||||
$val = "%{$val}";
|
|
||||||
}
|
|
||||||
elseif ($pos == 'after')
|
|
||||||
{
|
|
||||||
$val = "{$val}%";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$val = "%{$val}%";
|
|
||||||
}
|
|
||||||
|
|
||||||
$conj = (empty($this->query_map)) ? ' WHERE ' : " {$conj} ";
|
|
||||||
$this->_append_map($conj, $like, 'like');
|
|
||||||
|
|
||||||
// Add to the values array
|
|
||||||
$this->where_values[] = $val;
|
|
||||||
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Simplify building having clauses
|
|
||||||
*
|
|
||||||
* @param mixed $key
|
|
||||||
* @param mixed $val
|
|
||||||
* @param string $conj
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
protected function _having($key, $val=array(), $conj='AND')
|
|
||||||
{
|
|
||||||
$where = $this->_where($key, $val);
|
|
||||||
|
|
||||||
// Create key/value placeholders
|
|
||||||
foreach($where as $f => $val)
|
|
||||||
{
|
|
||||||
// Split each key by spaces, in case there
|
|
||||||
// is an operator such as >, <, !=, etc.
|
|
||||||
$f_array = explode(' ', trim($f));
|
|
||||||
|
|
||||||
$item = $this->db->quote_ident($f_array[0]);
|
|
||||||
|
|
||||||
// Simple key value, or an operator
|
|
||||||
$item .= (count($f_array) === 1) ? '=?' : " {$f_array[1]} ?";
|
|
||||||
|
|
||||||
// Put in the having map
|
|
||||||
$this->having_map[] = array(
|
|
||||||
'conjunction' => ( ! empty($this->having_map)) ? " {$conj} " : ' HAVING ',
|
|
||||||
'string' => $item
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Do all the repeditive stuff for where/having type methods
|
|
||||||
*
|
|
||||||
* @param mixed $key
|
|
||||||
* @param mixed $val
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
protected function _where($key, $val=array())
|
|
||||||
{
|
|
||||||
$where = array();
|
|
||||||
$this->_mixed_set($where, $key, $val, self::BOTH);
|
|
||||||
$this->_mixed_set($this->where_values, $key, $val, self::VALUE);
|
|
||||||
return $where;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Simplify generating where string
|
|
||||||
*
|
|
||||||
* @param mixed $key
|
|
||||||
* @param mixed $val
|
|
||||||
* @param string $defaultConj
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
protected function _where_string($key, $val=array(), $defaultConj='AND')
|
|
||||||
{
|
|
||||||
// Create key/value placeholders
|
|
||||||
foreach($this->_where($key, $val) as $f => $val)
|
|
||||||
{
|
|
||||||
// Split each key by spaces, in case there
|
|
||||||
// is an operator such as >, <, !=, etc.
|
|
||||||
$f_array = explode(' ', trim($f));
|
|
||||||
|
|
||||||
$item = $this->db->quote_ident($f_array[0]);
|
|
||||||
|
|
||||||
// Simple key value, or an operator
|
|
||||||
$item .= (count($f_array) === 1) ? '=?' : " {$f_array[1]} ?";
|
|
||||||
$last_item = end($this->query_map);
|
|
||||||
|
|
||||||
// Determine the correct conjunction
|
|
||||||
$conjunctionList = array_pluck($this->query_map, 'conjunction');
|
|
||||||
if (empty($this->query_map) || ( ! regex_in_array($conjunctionList, "/^ ?\n?WHERE/i")))
|
|
||||||
{
|
|
||||||
$conj = "\nWHERE ";
|
|
||||||
}
|
|
||||||
elseif ($last_item['type'] === 'group_start')
|
|
||||||
{
|
|
||||||
$conj = '';
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$conj = " {$defaultConj} ";
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->_append_map($conj, $item, 'where');
|
|
||||||
}
|
|
||||||
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Simplify where_in methods
|
|
||||||
*
|
|
||||||
* @param mixed $key
|
|
||||||
* @param mixed $val
|
|
||||||
* @param string $in - The (not) in fragment
|
|
||||||
* @param string $conj - The where in conjunction
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
protected function _where_in($key, $val=array(), $in='IN', $conj='AND')
|
|
||||||
{
|
|
||||||
$key = $this->db->quote_ident($key);
|
|
||||||
$params = array_fill(0, count($val), '?');
|
|
||||||
|
|
||||||
foreach($val as $v)
|
|
||||||
{
|
|
||||||
$this->where_values[] = $v;
|
|
||||||
}
|
|
||||||
|
|
||||||
$conjunction = ( ! empty($this->query_map)) ? " {$conj} " : ' WHERE ';
|
|
||||||
$str = $key . " {$in} (".implode(',', $params).') ';
|
|
||||||
|
|
||||||
$this->_append_map($conjunction, $str, 'where_in');
|
|
||||||
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Executes the compiled query
|
|
||||||
*
|
|
||||||
* @param string $type
|
|
||||||
* @param string $table
|
|
||||||
* @param string $sql
|
|
||||||
* @param array|null $vals
|
|
||||||
* @return \PDOStatement
|
|
||||||
*/
|
|
||||||
protected function _run($type, $table, $sql=NULL, $vals=NULL)
|
|
||||||
{
|
|
||||||
if (is_null($sql))
|
|
||||||
{
|
|
||||||
$sql = $this->_compile($type, $table);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (is_null($vals))
|
|
||||||
{
|
|
||||||
$vals = array_merge($this->values, (array) $this->where_values);
|
|
||||||
}
|
|
||||||
|
|
||||||
$start_time = microtime(TRUE);
|
|
||||||
|
|
||||||
$res = (empty($vals))
|
|
||||||
? $this->db->query($sql)
|
|
||||||
: $this->db->prepare_execute($sql, $vals);
|
|
||||||
|
|
||||||
$end_time = microtime(TRUE);
|
|
||||||
$total_time = number_format($end_time - $start_time, 5);
|
|
||||||
|
|
||||||
// Add this query to the list of executed queries
|
|
||||||
$this->_append_query($vals, $sql, $total_time);
|
|
||||||
|
|
||||||
// Reset class state for next query
|
|
||||||
$this->reset_query();
|
|
||||||
|
|
||||||
return $res;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Add an additional set of mapping pairs to a internal map
|
|
||||||
*
|
|
||||||
* @param string $conjunction
|
|
||||||
* @param string $string
|
|
||||||
* @param string $type
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
protected function _append_map($conjunction = '', $string = '', $type = '')
|
|
||||||
{
|
|
||||||
array_push($this->query_map, array(
|
|
||||||
'type' => $type,
|
|
||||||
'conjunction' => $conjunction,
|
|
||||||
'string' => $string
|
|
||||||
));
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Convert the prepared statement into readable sql
|
|
||||||
*
|
|
||||||
* @param array $vals
|
|
||||||
* @param string $sql
|
|
||||||
* @param string $total_time
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
protected function _append_query($vals, $sql, $total_time)
|
|
||||||
{
|
|
||||||
$evals = (is_array($vals)) ? $vals : array();
|
|
||||||
$esql = str_replace('?', "%s", $sql);
|
|
||||||
|
|
||||||
// Quote string values
|
|
||||||
foreach($evals as &$v)
|
|
||||||
{
|
|
||||||
$v = ( ! is_numeric($v)) ? htmlentities($this->db->quote($v), ENT_NOQUOTES, 'utf-8') : $v;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Add the query onto the array of values to pass
|
|
||||||
// as arguments to sprintf
|
|
||||||
array_unshift($evals, $esql);
|
|
||||||
|
|
||||||
// Add the interpreted query to the list of executed queries
|
|
||||||
$this->queries[] = array(
|
|
||||||
'time' => $total_time,
|
|
||||||
'sql' => call_user_func_array('sprintf', $evals),
|
|
||||||
);
|
|
||||||
|
|
||||||
$this->queries['total_time'] += $total_time;
|
|
||||||
|
|
||||||
// Set the last query to get rowcounts properly
|
|
||||||
$this->db->last_query = $sql;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sub-method for generating sql strings
|
|
||||||
*
|
|
||||||
* @param string $type
|
|
||||||
* @param string $table
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
protected function _compile_type($type='', $table='')
|
|
||||||
{
|
|
||||||
if ($type === 'insert')
|
|
||||||
{
|
|
||||||
$param_count = count($this->set_array_keys);
|
|
||||||
$params = array_fill(0, $param_count, '?');
|
|
||||||
$sql = "INSERT INTO {$table} ("
|
|
||||||
. implode(',', $this->set_array_keys)
|
|
||||||
. ")\nVALUES (".implode(',', $params).')';
|
|
||||||
}
|
|
||||||
elseif ($type === 'update')
|
|
||||||
{
|
|
||||||
$sql = "UPDATE {$table}\nSET {$this->set_string}";
|
|
||||||
}
|
|
||||||
elseif ($type === 'delete')
|
|
||||||
{
|
|
||||||
$sql = "DELETE FROM {$table}";
|
|
||||||
}
|
|
||||||
else // GET queries
|
|
||||||
{
|
|
||||||
$sql = "SELECT * \nFROM {$this->from_string}";
|
|
||||||
|
|
||||||
// Set the select string
|
|
||||||
if ( ! empty($this->select_string))
|
|
||||||
{
|
|
||||||
// Replace the star with the selected fields
|
|
||||||
$sql = str_replace('*', $this->select_string, $sql);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return $sql;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* String together the sql statements for sending to the db
|
|
||||||
*
|
|
||||||
* @param string $type
|
|
||||||
* @param string $table
|
|
||||||
* @return $string
|
|
||||||
*/
|
|
||||||
protected function _compile($type='', $table='')
|
|
||||||
{
|
|
||||||
// Get the base clause for the query
|
|
||||||
$sql = $this->_compile_type($type, $this->db->quote_table($table));
|
|
||||||
|
|
||||||
$clauses = array(
|
|
||||||
'query_map',
|
|
||||||
'group_string',
|
|
||||||
'order_string',
|
|
||||||
'having_map',
|
|
||||||
);
|
|
||||||
|
|
||||||
// Set each type of subclause
|
|
||||||
foreach($clauses as $clause)
|
|
||||||
{
|
|
||||||
$param = $this->$clause;
|
|
||||||
if (is_array($param))
|
|
||||||
{
|
|
||||||
foreach($param as $q)
|
|
||||||
{
|
|
||||||
$sql .= $q['conjunction'] . $q['string'];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$sql .= $param;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the limit via the class variables
|
|
||||||
if (is_numeric($this->limit))
|
|
||||||
{
|
|
||||||
$sql = $this->sql->limit($sql, $this->limit, $this->offset);
|
|
||||||
}
|
|
||||||
|
|
||||||
// See if the query plan, rather than the
|
|
||||||
// query data should be returned
|
|
||||||
if ($this->explain === TRUE)
|
|
||||||
{
|
|
||||||
$sql = $this->sql->explain($sql);
|
|
||||||
}
|
|
||||||
|
|
||||||
return $sql;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// End of abstract_query_builder.php
|
|
@ -1,26 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* Query
|
|
||||||
*
|
|
||||||
* Free Query Builder / Database Abstraction Layer
|
|
||||||
*
|
|
||||||
* @package Query
|
|
||||||
* @author Timothy J. Warren
|
|
||||||
* @copyright Copyright (c) 2012 - 2014
|
|
||||||
* @link https://github.com/aviat4ion/Query
|
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
|
||||||
*/
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
namespace Query;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Generic exception for bad drivers
|
|
||||||
*
|
|
||||||
* @package Query
|
|
||||||
* @subpackage Core
|
|
||||||
*/
|
|
||||||
class BadDBDriverException extends \InvalidArgumentException {}
|
|
||||||
|
|
||||||
// End of BadDBDriverException.php
|
|
@ -1,234 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* Query
|
|
||||||
*
|
|
||||||
* Free Query Builder / Database Abstraction Layer
|
|
||||||
*
|
|
||||||
* @package Query
|
|
||||||
* @author Timothy J. Warren
|
|
||||||
* @copyright Copyright (c) 2012 - 2014
|
|
||||||
* @link https://github.com/aviat4ion/Query
|
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
|
||||||
*/
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
namespace Query;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Connection manager class to manage connections for the
|
|
||||||
* Query method
|
|
||||||
*
|
|
||||||
* @package Query
|
|
||||||
* @subpackage Core
|
|
||||||
*/
|
|
||||||
final class Connection_Manager {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Map of named database connections
|
|
||||||
* @var array
|
|
||||||
*/
|
|
||||||
private $connections = array();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Class instance variable
|
|
||||||
* @var Connection_Manager
|
|
||||||
*/
|
|
||||||
private static $instance = null;
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Private constructor to prevent multiple instances
|
|
||||||
* @codeCoverageIgnore
|
|
||||||
*/
|
|
||||||
private function __construct() {}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Private clone method to prevent cloning
|
|
||||||
* @codeCoverageIgnore
|
|
||||||
*/
|
|
||||||
private function __clone() {}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Make sure serialize/deserialize doesn't work
|
|
||||||
* @codeCoverageIgnore
|
|
||||||
* @throws \DomainException
|
|
||||||
*/
|
|
||||||
private function __wakeup()
|
|
||||||
{
|
|
||||||
throw new \DomainException("Can't unserialize singleton");
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return a connection manager instance
|
|
||||||
*
|
|
||||||
* @staticvar null $instance
|
|
||||||
* @return Connection_Manager
|
|
||||||
*/
|
|
||||||
public static function get_instance()
|
|
||||||
{
|
|
||||||
// @codeCoverageIgnoreStart
|
|
||||||
if (self::$instance === null)
|
|
||||||
{
|
|
||||||
self::$instance = new self();
|
|
||||||
}
|
|
||||||
// @codeCoverageIgnoreEnd
|
|
||||||
|
|
||||||
return self::$instance;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the connection specified by the name given
|
|
||||||
*
|
|
||||||
* @param string|array|object $name
|
|
||||||
* @return Query_Builder
|
|
||||||
* @throws \InvalidArgumentException
|
|
||||||
*/
|
|
||||||
public function get_connection($name = '')
|
|
||||||
{
|
|
||||||
// If the parameter is a string, use it as an array index
|
|
||||||
if (is_scalar($name) && isset($this->connections[$name]))
|
|
||||||
{
|
|
||||||
return $this->connections[$name];
|
|
||||||
}
|
|
||||||
elseif (empty($name) && ! empty($this->connections)) // Otherwise, return the last one
|
|
||||||
{
|
|
||||||
return end($this->connections);
|
|
||||||
}
|
|
||||||
|
|
||||||
// You should actually connect before trying to get a connection...
|
|
||||||
throw new \InvalidArgumentException("The specified connection does not exist");
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Parse the passed parameters and return a connection
|
|
||||||
*
|
|
||||||
* @param \stdClass $params
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function connect(\stdClass $params)
|
|
||||||
{
|
|
||||||
list($dsn, $dbtype, $params, $options) = $this->parse_params($params);
|
|
||||||
|
|
||||||
$driver = "\\Query\\Driver\\{$dbtype}";
|
|
||||||
|
|
||||||
// Create the database connection
|
|
||||||
$db = ( ! empty($params->user))
|
|
||||||
? new $driver($dsn, $params->user, $params->pass, $options)
|
|
||||||
: new $driver($dsn, '', '', $options);
|
|
||||||
|
|
||||||
// Set the table prefix, if it exists
|
|
||||||
if (isset($params->prefix))
|
|
||||||
{
|
|
||||||
$db->table_prefix = $params->prefix;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Create Query Builder object
|
|
||||||
$conn = new Query_Builder($db, new Query_Parser($db));
|
|
||||||
|
|
||||||
|
|
||||||
// Save it for later
|
|
||||||
if (isset($params->alias))
|
|
||||||
{
|
|
||||||
$this->connections[$params->alias] = $conn;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$this->connections[] = $conn;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $conn;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Parses params into a dsn and option array
|
|
||||||
*
|
|
||||||
* @param \stdClass $params
|
|
||||||
* @return array
|
|
||||||
* @throws BadDBDriverException
|
|
||||||
*/
|
|
||||||
private function parse_params(\stdClass $params)
|
|
||||||
{
|
|
||||||
$params->type = strtolower($params->type);
|
|
||||||
$dbtype = ($params->type !== 'postgresql') ? $params->type : 'pgsql';
|
|
||||||
|
|
||||||
// Make sure the class exists
|
|
||||||
if ( ! class_exists("Query\\Driver\\{$dbtype}"))
|
|
||||||
{
|
|
||||||
throw new BadDBDriverException('Database driver does not exist, or is not supported');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set additional PDO options
|
|
||||||
$options = array();
|
|
||||||
|
|
||||||
if (isset($params->options))
|
|
||||||
{
|
|
||||||
$options = (array) $params->options;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Create the dsn for the database to connect to
|
|
||||||
$dsn = $this->create_dsn($dbtype, $params);
|
|
||||||
|
|
||||||
return array($dsn, $dbtype, $params, $options);
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create the dsn from the db type and params
|
|
||||||
*
|
|
||||||
* @param string $dbtype
|
|
||||||
* @param \stdClass $params
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
private function create_dsn($dbtype, \stdClass $params)
|
|
||||||
{
|
|
||||||
if ($dbtype === 'firebird') $dsn = "{$params->host}:{$params->file}";
|
|
||||||
elseif ($dbtype === 'sqlite') $dsn = $params->file;
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$dsn = strtolower($dbtype) . ':';
|
|
||||||
|
|
||||||
if ( ! empty($params->database))
|
|
||||||
{
|
|
||||||
$dsn .= "dbname={$params->database}";
|
|
||||||
}
|
|
||||||
|
|
||||||
$skip = array(
|
|
||||||
'name' => 'name',
|
|
||||||
'pass' => 'pass',
|
|
||||||
'user' => 'user',
|
|
||||||
'file' => 'file',
|
|
||||||
'type' => 'type',
|
|
||||||
'prefix' => 'prefix',
|
|
||||||
'options' => 'options',
|
|
||||||
'database' => 'database',
|
|
||||||
'alias' => 'alias'
|
|
||||||
);
|
|
||||||
|
|
||||||
foreach($params as $key => $val)
|
|
||||||
{
|
|
||||||
if ( ! isset($skip[$key]))
|
|
||||||
{
|
|
||||||
$dsn .= ";{$key}={$val}";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return $dsn;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// End of connection_manager.php
|
|
@ -1,630 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* Query
|
|
||||||
*
|
|
||||||
* Free Query Builder / Database Abstraction Layer
|
|
||||||
*
|
|
||||||
* @package Query
|
|
||||||
* @author Timothy J. Warren
|
|
||||||
* @copyright Copyright (c) 2012 - 2014
|
|
||||||
* @link https://github.com/aviat4ion/Query
|
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
|
||||||
*/
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
namespace Query\Driver;
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Base Database class
|
|
||||||
*
|
|
||||||
* Extends PDO to simplify cross-database issues
|
|
||||||
*
|
|
||||||
* @package Query
|
|
||||||
* @subpackage Drivers
|
|
||||||
*/
|
|
||||||
abstract class Abstract_Driver extends \PDO implements Driver_Interface {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Reference to the last executed query
|
|
||||||
* @var \PDOStatement
|
|
||||||
*/
|
|
||||||
protected $statement;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Character to escape identifiers
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
protected $escape_char = '"';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Reference to sql class
|
|
||||||
* @var SQL\SQL_Interface
|
|
||||||
*/
|
|
||||||
public $sql;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Reference to util class
|
|
||||||
* @var Util\Abstract_Util
|
|
||||||
*/
|
|
||||||
public $util;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last query executed
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
public $last_query;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Prefix to apply to table names
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
public $table_prefix = '';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Whether the driver supports 'TRUNCATE'
|
|
||||||
* @var bool
|
|
||||||
*/
|
|
||||||
protected $has_truncate = TRUE;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* PDO constructor wrapper
|
|
||||||
*
|
|
||||||
* @param string $dsn
|
|
||||||
* @param string $username
|
|
||||||
* @param string $password
|
|
||||||
* @param array $driver_options
|
|
||||||
*/
|
|
||||||
public function __construct($dsn, $username=NULL, $password=NULL, array $driver_options=array())
|
|
||||||
{
|
|
||||||
// Set PDO to display errors as exceptions, and apply driver options
|
|
||||||
$driver_options[\PDO::ATTR_ERRMODE] = \PDO::ERRMODE_EXCEPTION;
|
|
||||||
parent::__construct($dsn, $username, $password, $driver_options);
|
|
||||||
|
|
||||||
$this->_load_sub_classes();
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Loads the subclasses for the driver
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
protected function _load_sub_classes()
|
|
||||||
{
|
|
||||||
// Load the sql and util class for the driver
|
|
||||||
$this_class = get_class($this);
|
|
||||||
$ns_array = explode("\\", $this_class);
|
|
||||||
$base_class = array_pop($ns_array);
|
|
||||||
$namespace = implode('\\', $ns_array);
|
|
||||||
$sql_class = "{$namespace}\\SQL\\{$base_class}_SQL";
|
|
||||||
$util_class = "{$namespace}\\Util\\{$base_class}_Util";
|
|
||||||
|
|
||||||
$this->sql = new $sql_class();
|
|
||||||
$this->util = new $util_class($this);
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Allow invoke to work on table object
|
|
||||||
*
|
|
||||||
* @codeCoverageIgnore
|
|
||||||
* @param string $name
|
|
||||||
* @param array $args
|
|
||||||
* @return mixed
|
|
||||||
*/
|
|
||||||
public function __call($name, $args = array())
|
|
||||||
{
|
|
||||||
if (
|
|
||||||
isset($this->$name)
|
|
||||||
&& is_object($this->$name)
|
|
||||||
&& method_exists($this->$name, '__invoke')
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return call_user_func_array(array($this->$name, '__invoke'), $args);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
// ! Concrete functions that can be overridden in child classes
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the SQL class for the current driver
|
|
||||||
*
|
|
||||||
* @return SQL\SQL_Interface
|
|
||||||
*/
|
|
||||||
public function get_sql()
|
|
||||||
{
|
|
||||||
return $this->sql;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the Util class for the current driver
|
|
||||||
*
|
|
||||||
* @return Util\Abstract_Util
|
|
||||||
*/
|
|
||||||
public function get_util()
|
|
||||||
{
|
|
||||||
return $this->util;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Simplifies prepared statements for database queries
|
|
||||||
*
|
|
||||||
* @param string $sql
|
|
||||||
* @param array $data
|
|
||||||
* @return \PDOStatement | FALSE
|
|
||||||
* @throws \InvalidArgumentException
|
|
||||||
*/
|
|
||||||
public function prepare_query($sql, $data)
|
|
||||||
{
|
|
||||||
// Prepare the sql, save the statement for easy access later
|
|
||||||
$this->statement = $this->prepare($sql);
|
|
||||||
|
|
||||||
if( ! (is_array($data) || is_object($data)))
|
|
||||||
{
|
|
||||||
throw new \InvalidArgumentException("Invalid data argument");
|
|
||||||
}
|
|
||||||
|
|
||||||
// Bind the parameters
|
|
||||||
foreach($data as $k => $value)
|
|
||||||
{
|
|
||||||
// Parameters are 1-based, the data is 0-based
|
|
||||||
// So, if the key is numeric, add 1
|
|
||||||
if(is_numeric($k)) $k++;
|
|
||||||
$this->statement->bindValue($k, $value);
|
|
||||||
}
|
|
||||||
|
|
||||||
return $this->statement;
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create and execute a prepared statement with the provided parameters
|
|
||||||
*
|
|
||||||
* @param string $sql
|
|
||||||
* @param array $params
|
|
||||||
* @return \PDOStatement
|
|
||||||
*/
|
|
||||||
public function prepare_execute($sql, $params)
|
|
||||||
{
|
|
||||||
$this->statement = $this->prepare_query($sql, $params);
|
|
||||||
$this->statement->execute();
|
|
||||||
|
|
||||||
return $this->statement;
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns number of rows affected by an INSERT, UPDATE, DELETE type query
|
|
||||||
*
|
|
||||||
* @return int
|
|
||||||
*/
|
|
||||||
public function affected_rows()
|
|
||||||
{
|
|
||||||
// Return number of rows affected
|
|
||||||
return $this->statement->rowCount();
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Prefixes a table if it is not already prefixed
|
|
||||||
* @param string $table
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function prefix_table($table)
|
|
||||||
{
|
|
||||||
// Add the prefix to the table name
|
|
||||||
// before quoting it
|
|
||||||
if ( ! empty($this->table_prefix))
|
|
||||||
{
|
|
||||||
// Split identifier by period, will split into:
|
|
||||||
// database.schema.table OR
|
|
||||||
// schema.table OR
|
|
||||||
// database.table OR
|
|
||||||
// table
|
|
||||||
$idents = explode('.', $table);
|
|
||||||
$segments = count($idents);
|
|
||||||
|
|
||||||
// Quote the last item, and add the database prefix
|
|
||||||
$idents[$segments - 1] = $this->_prefix(end($idents));
|
|
||||||
|
|
||||||
// Rejoin
|
|
||||||
$table = implode('.', $idents);
|
|
||||||
}
|
|
||||||
|
|
||||||
return $table;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Quote database table name, and set prefix
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function quote_table($table)
|
|
||||||
{
|
|
||||||
$table = $this->prefix_table($table);
|
|
||||||
|
|
||||||
// Finally, quote the table
|
|
||||||
return $this->quote_ident($table);
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Surrounds the string with the databases identifier escape characters
|
|
||||||
*
|
|
||||||
* @param mixed $ident
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function quote_ident($ident)
|
|
||||||
{
|
|
||||||
if (is_array($ident))
|
|
||||||
{
|
|
||||||
return array_map(array($this, __METHOD__), $ident);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Handle comma-separated identifiers
|
|
||||||
if (strpos($ident, ',') !== FALSE)
|
|
||||||
{
|
|
||||||
$parts = array_map('mb_trim', explode(',', $ident));
|
|
||||||
$parts = array_map(array($this, __METHOD__), $parts);
|
|
||||||
$ident = implode(',', $parts);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Split each identifier by the period
|
|
||||||
$hiers = explode('.', $ident);
|
|
||||||
$hiers = array_map('mb_trim', $hiers);
|
|
||||||
|
|
||||||
// Re-compile the string
|
|
||||||
$raw = implode('.', array_map(array($this, '_quote'), $hiers));
|
|
||||||
|
|
||||||
// Fix functions
|
|
||||||
$funcs = array();
|
|
||||||
preg_match_all("#{$this->escape_char}([a-zA-Z0-9_]+(\((.*?)\))){$this->escape_char}#iu", $raw, $funcs, PREG_SET_ORDER);
|
|
||||||
foreach($funcs as $f)
|
|
||||||
{
|
|
||||||
// Unquote the function
|
|
||||||
$raw = str_replace($f[0], $f[1], $raw);
|
|
||||||
|
|
||||||
// Quote the inside identifiers
|
|
||||||
$raw = str_replace($f[3], $this->quote_ident($f[3]), $raw);
|
|
||||||
}
|
|
||||||
|
|
||||||
return $raw;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return schemas for databases that list them
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_schemas()
|
|
||||||
{
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return list of tables for the current database
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_tables()
|
|
||||||
{
|
|
||||||
$tables = $this->driver_query('table_list');
|
|
||||||
natsort($tables);
|
|
||||||
return $tables;
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return list of dbs for the current connection, if possible
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_dbs()
|
|
||||||
{
|
|
||||||
return $this->driver_query('db_list');
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return list of views for the current database
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_views()
|
|
||||||
{
|
|
||||||
$views = $this->driver_query('view_list');
|
|
||||||
sort($views);
|
|
||||||
return $views;
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return list of sequences for the current database, if they exist
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_sequences()
|
|
||||||
{
|
|
||||||
return $this->driver_query('sequence_list');
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return list of functions for the current database
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_functions()
|
|
||||||
{
|
|
||||||
return $this->driver_query('function_list', FALSE);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return list of stored procedures for the current database
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_procedures()
|
|
||||||
{
|
|
||||||
return $this->driver_query('procedure_list', FALSE);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return list of triggers for the current database
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_triggers()
|
|
||||||
{
|
|
||||||
return $this->driver_query('trigger_list', FALSE);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieves an array of non-user-created tables for
|
|
||||||
* the connection/database
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_system_tables()
|
|
||||||
{
|
|
||||||
return $this->driver_query('system_table_list');
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieve column information for the current database table
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_columns($table)
|
|
||||||
{
|
|
||||||
return $this->driver_query($this->get_sql()->column_list($this->prefix_table($table)), FALSE);
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieve foreign keys for the table
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_fks($table)
|
|
||||||
{
|
|
||||||
return $this->driver_query($this->get_sql()->fk_list($table), FALSE);
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieve indexes for the table
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_indexes($table)
|
|
||||||
{
|
|
||||||
return $this->driver_query($this->get_sql()->index_list($this->prefix_table($table)), FALSE);
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieve list of data types for the database
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_types()
|
|
||||||
{
|
|
||||||
return $this->driver_query('type_list', FALSE);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Method to simplify retrieving db results for meta-data queries
|
|
||||||
*
|
|
||||||
* @param string|array|null $query
|
|
||||||
* @param bool $filtered_index
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function driver_query($query, $filtered_index=TRUE)
|
|
||||||
{
|
|
||||||
// Call the appropriate method, if it exists
|
|
||||||
if (is_string($query) && method_exists($this->sql, $query))
|
|
||||||
{
|
|
||||||
$query = $this->get_sql()->$query();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Return if the values are returned instead of a query,
|
|
||||||
// or if the query doesn't apply to the driver
|
|
||||||
if ( ! is_string($query)) return $query;
|
|
||||||
|
|
||||||
// Run the query!
|
|
||||||
$res = $this->query($query);
|
|
||||||
|
|
||||||
$flag = ($filtered_index) ? \PDO::FETCH_NUM : \PDO::FETCH_ASSOC;
|
|
||||||
$all = $res->fetchAll($flag);
|
|
||||||
|
|
||||||
return ($filtered_index) ? \db_filter($all, 0) : $all;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return the number of rows returned for a SELECT query
|
|
||||||
*
|
|
||||||
* @see http://us3.php.net/manual/en/pdostatement.rowcount.php#87110
|
|
||||||
* @return int
|
|
||||||
*/
|
|
||||||
public function num_rows()
|
|
||||||
{
|
|
||||||
$regex = '/^SELECT\s+(?:ALL\s+|DISTINCT\s+)?(?:.*?)\s+FROM\s+(.*)$/i';
|
|
||||||
$output = array();
|
|
||||||
|
|
||||||
if (preg_match($regex, $this->last_query, $output) > 0)
|
|
||||||
{
|
|
||||||
$stmt = $this->query("SELECT COUNT(*) FROM {$output[1]}");
|
|
||||||
return (int) $stmt->fetchColumn();
|
|
||||||
}
|
|
||||||
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create sql for batch insert
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @param array $data
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function insert_batch($table, $data=array())
|
|
||||||
{
|
|
||||||
$first_row = current($data);
|
|
||||||
if ( ! is_array($first_row)) return NULL;
|
|
||||||
|
|
||||||
// Values for insertion
|
|
||||||
$vals = array();
|
|
||||||
foreach($data as $group)
|
|
||||||
{
|
|
||||||
$vals = array_merge($vals, array_values($group));
|
|
||||||
}
|
|
||||||
$table = $this->quote_table($table);
|
|
||||||
$fields = array_keys($first_row);
|
|
||||||
|
|
||||||
$sql = "INSERT INTO {$table} ("
|
|
||||||
. implode(',', $this->quote_ident($fields))
|
|
||||||
. ") VALUES ";
|
|
||||||
|
|
||||||
// Create the placeholder groups
|
|
||||||
$params = array_fill(0, count($fields), '?');
|
|
||||||
$param_string = "(" . implode(',', $params) . ")";
|
|
||||||
$param_list = array_fill(0, count($data), $param_string);
|
|
||||||
|
|
||||||
// Append the placeholder groups to the query
|
|
||||||
$sql .= implode(',', $param_list);
|
|
||||||
|
|
||||||
return array($sql, $vals);
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Helper method for quote_ident
|
|
||||||
*
|
|
||||||
* @param mixed $str
|
|
||||||
* @return mixed
|
|
||||||
*/
|
|
||||||
public function _quote($str)
|
|
||||||
{
|
|
||||||
// Check that the current value is a string,
|
|
||||||
// and is not already quoted before quoting
|
|
||||||
// that value, otherwise, return the original value
|
|
||||||
return (
|
|
||||||
is_string($str)
|
|
||||||
&& strpos($str, $this->escape_char) !== 0
|
|
||||||
&& strrpos($str, $this->escape_char) !== 0
|
|
||||||
)
|
|
||||||
? "{$this->escape_char}{$str}{$this->escape_char}"
|
|
||||||
: $str;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets the table prefix on the passed string
|
|
||||||
*
|
|
||||||
* @param string $str
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
protected function _prefix($str)
|
|
||||||
{
|
|
||||||
// Don't prefix an already prefixed table
|
|
||||||
if (strpos($str, $this->table_prefix) !== FALSE)
|
|
||||||
{
|
|
||||||
return $str;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $this->table_prefix.$str;
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Empty the passed table
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @return \PDOStatement
|
|
||||||
*/
|
|
||||||
public function truncate($table)
|
|
||||||
{
|
|
||||||
$sql = ($this->has_truncate)
|
|
||||||
? 'TRUNCATE '
|
|
||||||
: 'DELETE FROM ';
|
|
||||||
|
|
||||||
$sql .= $this->quote_table($table);
|
|
||||||
|
|
||||||
$this->statement = $this->query($sql);
|
|
||||||
return $this->statement;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
// End of db_pdo.php
|
|
@ -1,274 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* Query
|
|
||||||
*
|
|
||||||
* Free Query Builder / Database Abstraction Layer
|
|
||||||
*
|
|
||||||
* @package Query
|
|
||||||
* @author Timothy J. Warren
|
|
||||||
* @copyright Copyright (c) 2012 - 2014
|
|
||||||
* @link https://github.com/aviat4ion/Query
|
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
|
||||||
*/
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
namespace Query\Driver;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* PDO Interface to implement for database drivers
|
|
||||||
*
|
|
||||||
* @package Query
|
|
||||||
* @subpackage Drivers
|
|
||||||
*/
|
|
||||||
interface Driver_Interface {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor/Connection method
|
|
||||||
*
|
|
||||||
* @param string $dsn
|
|
||||||
* @param string $username
|
|
||||||
* @param string $password
|
|
||||||
* @param array $driver_options
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function __construct($dsn, $username=NULL, $password=NULL, array $driver_options = array());
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Simplifies prepared statements for database queries
|
|
||||||
*
|
|
||||||
* @param string $sql
|
|
||||||
* @param array $data
|
|
||||||
* @return \PDOStatement | FALSE
|
|
||||||
* @throws \InvalidArgumentException
|
|
||||||
*/
|
|
||||||
public function prepare_query($sql, $data);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Begin a transaction
|
|
||||||
*
|
|
||||||
* @return bool
|
|
||||||
*/
|
|
||||||
public function beginTransaction();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Commit a transaction
|
|
||||||
*
|
|
||||||
* @return bool
|
|
||||||
*/
|
|
||||||
public function commit();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return the current error code
|
|
||||||
*
|
|
||||||
* @return mixed
|
|
||||||
*/
|
|
||||||
public function errorCode();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return information about the current error
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function errorInfo();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Execute an SQL statement and return the number of affected rows
|
|
||||||
*
|
|
||||||
* @param string $statement
|
|
||||||
* @return int
|
|
||||||
*/
|
|
||||||
public function exec($statement);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get a connection attribute for the current db driver
|
|
||||||
*
|
|
||||||
* @param int $attribute
|
|
||||||
* @return mixed
|
|
||||||
*/
|
|
||||||
public function getAttribute($attribute);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rollback a transaction
|
|
||||||
*
|
|
||||||
* @return bool
|
|
||||||
*/
|
|
||||||
public function rollback();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set a connection attribute
|
|
||||||
* @param int $attribute
|
|
||||||
* @param mixed $value
|
|
||||||
* @return bool
|
|
||||||
*/
|
|
||||||
public function setAttribute($attribute, $value);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieve column information for the current database table
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_columns($table);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieve list of data types for the database
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_types();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieve indexes for the table
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_indexes($table);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieve foreign keys for the table
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_fks($table);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return list of tables for the current database
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_tables();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieves an array of non-user-created tables for
|
|
||||||
* the connection/database
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_system_tables();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return list of dbs for the current connection, if possible
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_dbs();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return list of views for the current database
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_views();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return list of sequences for the current database, if they exist
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_sequences();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return list of functions for the current database
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_functions();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return list of stored procedures for the current database
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_procedures();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return list of triggers for the current database
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function get_triggers();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Surrounds the string with the databases identifier escape characters
|
|
||||||
*
|
|
||||||
* @param mixed $ident
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function quote_ident($ident);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Quote database table name, and set prefix
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function quote_table($table);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create and execute a prepared statement with the provided parameters
|
|
||||||
*
|
|
||||||
* @param string $sql
|
|
||||||
* @param array $params
|
|
||||||
* @return \PDOStatement
|
|
||||||
*/
|
|
||||||
public function prepare_execute($sql, $params);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the SQL class for the current driver
|
|
||||||
*
|
|
||||||
* @return SQL\SQL_Interface
|
|
||||||
*/
|
|
||||||
public function get_sql();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the Util class for the current driver
|
|
||||||
*
|
|
||||||
* @return Util\Abstract_Util
|
|
||||||
*/
|
|
||||||
public function get_util();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Method to simplify retrieving db results for meta-data queries
|
|
||||||
*
|
|
||||||
* @param string|array|null $query
|
|
||||||
* @param bool $filtered_index
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function driver_query($query, $filtered_index=TRUE);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns number of rows affected by an INSERT, UPDATE, DELETE type query
|
|
||||||
*
|
|
||||||
* @return int
|
|
||||||
*/
|
|
||||||
public function affected_rows();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return the number of rows returned for a SELECT query
|
|
||||||
* @see http://us3.php.net/manual/en/pdostatement.rowcount.php#87110
|
|
||||||
*
|
|
||||||
* @return int
|
|
||||||
*/
|
|
||||||
public function num_rows();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Prefixes a table if it is not already prefixed
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function prefix_table($table);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create sql for batch insert
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @param array $data
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function insert_batch($table, $data=array());
|
|
||||||
}
|
|
||||||
// End of driver_interface.php
|
|
@ -1,46 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* Query
|
|
||||||
*
|
|
||||||
* Free Query Builder / Database Abstraction Layer
|
|
||||||
*
|
|
||||||
* @author Timothy J. Warren
|
|
||||||
* @copyright Copyright (c) 2012 - 2014
|
|
||||||
* @link https://github.com/aviat4ion/Query
|
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
|
||||||
* @package Query
|
|
||||||
*/
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
namespace Query\Driver\SQL;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* parent for database manipulation subclasses
|
|
||||||
*
|
|
||||||
* @package Query
|
|
||||||
* @subpackage Drivers
|
|
||||||
*/
|
|
||||||
abstract class Abstract_SQL implements SQL_Interface {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Limit clause
|
|
||||||
*
|
|
||||||
* @param string $sql
|
|
||||||
* @param int $limit
|
|
||||||
* @param int|bool $offset
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function limit($sql, $limit, $offset=FALSE)
|
|
||||||
{
|
|
||||||
$sql .= "\nLIMIT {$limit}";
|
|
||||||
|
|
||||||
if (is_numeric($offset))
|
|
||||||
{
|
|
||||||
$sql .= " OFFSET {$offset}";
|
|
||||||
}
|
|
||||||
|
|
||||||
return $sql;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// End of abstract_sql.php
|
|
@ -1,141 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* Query
|
|
||||||
*
|
|
||||||
* Free Query Builder / Database Abstraction Layer
|
|
||||||
*
|
|
||||||
* @author Timothy J. Warren
|
|
||||||
* @copyright Copyright (c) 2012 - 2014
|
|
||||||
* @link https://github.com/aviat4ion/Query
|
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
|
||||||
* @package Query
|
|
||||||
*/
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
namespace Query\Driver\SQL;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* parent for database manipulation subclasses
|
|
||||||
*
|
|
||||||
* @package Query
|
|
||||||
* @subpackage Drivers
|
|
||||||
*/
|
|
||||||
interface SQL_Interface {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get database specific sql for limit clause
|
|
||||||
*
|
|
||||||
* @param string $sql
|
|
||||||
* @param int $limit
|
|
||||||
* @param int|bool $offset
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function limit($sql, $limit, $offset=FALSE);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Modify the query to get the query plan
|
|
||||||
*
|
|
||||||
* @param string $sql
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function explain($sql);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the sql for random ordering
|
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function random();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns sql to list other databases
|
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function db_list();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns sql to list tables
|
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function table_list();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns sql to list system tables
|
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function system_table_list();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns sql to list views
|
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function view_list();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns sql to list triggers
|
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function trigger_list();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return sql to list functions
|
|
||||||
*
|
|
||||||
* @return NULL
|
|
||||||
*/
|
|
||||||
public function function_list();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return sql to list stored procedures
|
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function procedure_list();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return sql to list sequences
|
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function sequence_list();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return sql to list database field types
|
|
||||||
*
|
|
||||||
* @return string|array
|
|
||||||
*/
|
|
||||||
public function type_list();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get information about the columns in the
|
|
||||||
* specified table
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function column_list($table);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the list of foreign keys for the current
|
|
||||||
* table
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function fk_list($table);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the list of indexes for the current table
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function index_list($table);
|
|
||||||
|
|
||||||
}
|
|
||||||
// End of sql_interface.php
|
|
@ -1,140 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* Query
|
|
||||||
*
|
|
||||||
* Free Query Builder / Database Abstraction Layer
|
|
||||||
*
|
|
||||||
* @package Query
|
|
||||||
* @author Timothy J. Warren
|
|
||||||
* @copyright Copyright (c) 2012 - 2014
|
|
||||||
* @link https://github.com/aviat4ion/Query
|
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
|
||||||
*/
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
namespace Query\Driver\Util;
|
|
||||||
use Query\Driver\Driver_Interface;
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Abstract class defining database / table creation methods
|
|
||||||
*
|
|
||||||
* @package Query
|
|
||||||
* @subpackage Drivers
|
|
||||||
* @method string quote_ident(string $sql)
|
|
||||||
* @method string quote_table(string $sql)
|
|
||||||
*/
|
|
||||||
abstract class Abstract_Util {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Reference to the current connection object
|
|
||||||
*/
|
|
||||||
private $conn;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Save a reference to the connection object for later use
|
|
||||||
*
|
|
||||||
* @param Driver_Interface $conn
|
|
||||||
*/
|
|
||||||
public function __construct(Driver_Interface $conn)
|
|
||||||
{
|
|
||||||
$this->conn = $conn;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the driver object for the current connection
|
|
||||||
*
|
|
||||||
* @return Driver_Interface
|
|
||||||
*/
|
|
||||||
public function get_driver()
|
|
||||||
{
|
|
||||||
return $this->conn;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Convenience public function to generate sql for creating a db table
|
|
||||||
*
|
|
||||||
* @param string $name
|
|
||||||
* @param array $fields
|
|
||||||
* @param array $constraints
|
|
||||||
* @param bool $if_not_exists
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function create_table($name, $fields, array $constraints=array(), $if_not_exists=TRUE)
|
|
||||||
{
|
|
||||||
$exists_str = ($if_not_exists) ? ' IF NOT EXISTS ' : ' ';
|
|
||||||
|
|
||||||
// Reorganize into an array indexed with column information
|
|
||||||
// Eg $column_array[$colname] = array(
|
|
||||||
// 'type' => ...,
|
|
||||||
// 'constraint' => ...,
|
|
||||||
// 'index' => ...,
|
|
||||||
// )
|
|
||||||
$column_array = \array_zipper(array(
|
|
||||||
'type' => $fields,
|
|
||||||
'constraint' => $constraints
|
|
||||||
));
|
|
||||||
|
|
||||||
// Join column definitions together
|
|
||||||
$columns = array();
|
|
||||||
foreach($column_array as $n => $props)
|
|
||||||
{
|
|
||||||
$str = $this->get_driver()->quote_ident($n);
|
|
||||||
$str .= (isset($props['type'])) ? " {$props['type']}" : "";
|
|
||||||
$str .= (isset($props['constraint'])) ? " {$props['constraint']}" : "";
|
|
||||||
|
|
||||||
$columns[] = $str;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Generate the sql for the creation of the table
|
|
||||||
$sql = 'CREATE TABLE'.$exists_str.$this->get_driver()->quote_table($name).' (';
|
|
||||||
$sql .= implode(', ', $columns);
|
|
||||||
$sql .= ')';
|
|
||||||
|
|
||||||
return $sql;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Drop the selected table
|
|
||||||
*
|
|
||||||
* @param string $name
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function delete_table($name)
|
|
||||||
{
|
|
||||||
return 'DROP TABLE IF EXISTS '.$this->get_driver()->quote_table($name);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
// ! Abstract Methods
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return an SQL file with the database table structure
|
|
||||||
*
|
|
||||||
* @abstract
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
abstract public function backup_structure();
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return an SQL file with the database data as insert statements
|
|
||||||
*
|
|
||||||
* @abstract
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
abstract public function backup_data();
|
|
||||||
|
|
||||||
}
|
|
||||||
// End of abstract_util.php
|
|
File diff suppressed because it is too large
Load Diff
@ -1,503 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* Query
|
|
||||||
*
|
|
||||||
* Free Query Builder / Database Abstraction Layer
|
|
||||||
*
|
|
||||||
* @package Query
|
|
||||||
* @author Timothy J. Warren
|
|
||||||
* @copyright Copyright (c) 2012 - 2014
|
|
||||||
* @link https://github.com/aviat4ion/Query
|
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
|
||||||
*/
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
namespace Query;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Interface defining the Query Builder class
|
|
||||||
*
|
|
||||||
* @package Query
|
|
||||||
* @subpackage Query_Builder
|
|
||||||
*/
|
|
||||||
interface Query_Builder_Interface {
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
// ! Select Queries
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Specifies rows to select in a query
|
|
||||||
*
|
|
||||||
* @param string $fields
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function select($fields);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Selects the maximum value of a field from a query
|
|
||||||
*
|
|
||||||
* @param string $field
|
|
||||||
* @param string|bool $as
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function select_max($field, $as=FALSE);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Selects the minimum value of a field from a query
|
|
||||||
*
|
|
||||||
* @param string $field
|
|
||||||
* @param string|bool $as
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function select_min($field, $as=FALSE);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Selects the average value of a field from a query
|
|
||||||
*
|
|
||||||
* @param string $field
|
|
||||||
* @param string|bool $as
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function select_avg($field, $as=FALSE);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Selects the sum of a field from a query
|
|
||||||
*
|
|
||||||
* @param string $field
|
|
||||||
* @param string|bool $as
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function select_sum($field, $as=FALSE);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Adds the 'distinct' keyword to a query
|
|
||||||
*
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function distinct();
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Shows the query plan for the query
|
|
||||||
*
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function explain();
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Specify the database table to select from
|
|
||||||
*
|
|
||||||
* @param string $tblname
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function from($tblname);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
// ! 'Like' methods
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a Like clause in the sql statement
|
|
||||||
*
|
|
||||||
* @param string $field
|
|
||||||
* @param mixed $val
|
|
||||||
* @param string $pos
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function like($field, $val, $pos='both');
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Generates an OR Like clause
|
|
||||||
*
|
|
||||||
* @param string $field
|
|
||||||
* @param mixed $val
|
|
||||||
* @param string $pos
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function or_like($field, $val, $pos='both');
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Generates a NOT LIKE clause
|
|
||||||
*
|
|
||||||
* @param string $field
|
|
||||||
* @param mixed $val
|
|
||||||
* @param string $pos
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function not_like($field, $val, $pos='both');
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Generates a OR NOT LIKE clause
|
|
||||||
*
|
|
||||||
* @param string $field
|
|
||||||
* @param mixed $val
|
|
||||||
* @param string $pos
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function or_not_like($field, $val, $pos='both');
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
// ! Having methods
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Generates a 'Having' clause
|
|
||||||
*
|
|
||||||
* @param mixed $key
|
|
||||||
* @param mixed $val
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function having($key, $val=array());
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Generates a 'Having' clause prefixed with 'OR'
|
|
||||||
*
|
|
||||||
* @param mixed $key
|
|
||||||
* @param mixed $val
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function or_having($key, $val=array());
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
// ! 'Where' methods
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Specify condition(s) in the where clause of a query
|
|
||||||
* Note: this function works with key / value, or a
|
|
||||||
* passed array with key / value pairs
|
|
||||||
*
|
|
||||||
* @param mixed $key
|
|
||||||
* @param mixed $val
|
|
||||||
* @param bool $escape
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function where($key, $val=array(), $escape = NULL);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Where clause prefixed with "OR"
|
|
||||||
*
|
|
||||||
* @param string $key
|
|
||||||
* @param mixed $val
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function or_where($key, $val=array());
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Where clause with 'IN' statement
|
|
||||||
*
|
|
||||||
* @param mixed $field
|
|
||||||
* @param mixed $val
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function where_in($field, $val=array());
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Where in statement prefixed with "or"
|
|
||||||
*
|
|
||||||
* @param string $field
|
|
||||||
* @param mixed $val
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function or_where_in($field, $val=array());
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WHERE NOT IN (FOO) clause
|
|
||||||
*
|
|
||||||
* @param string $field
|
|
||||||
* @param mixed $val
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function where_not_in($field, $val=array());
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* OR WHERE NOT IN (FOO) clause
|
|
||||||
*
|
|
||||||
* @param string $field
|
|
||||||
* @param mixed $val
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function or_where_not_in($field, $val=array());
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
// ! Other Query Modifier methods
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets values for inserts / updates / deletes
|
|
||||||
*
|
|
||||||
* @param mixed $key
|
|
||||||
* @param mixed $val
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function set($key, $val = NULL);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a join phrase in a compiled query
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @param string $condition
|
|
||||||
* @param string $type
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function join($table, $condition, $type='');
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Group the results by the selected field(s)
|
|
||||||
*
|
|
||||||
* @param mixed $field
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function group_by($field);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Order the results by the selected field(s)
|
|
||||||
*
|
|
||||||
* @param string $field
|
|
||||||
* @param string $type
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function order_by($field, $type="");
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set a limit on the current sql statement
|
|
||||||
*
|
|
||||||
* @param int $limit
|
|
||||||
* @param int|bool $offset
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function limit($limit, $offset=FALSE);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
// ! Query Grouping Methods
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Adds a paren to the current query for query grouping
|
|
||||||
*
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function group_start();
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Adds a paren to the current query for query grouping,
|
|
||||||
* prefixed with 'OR'
|
|
||||||
*
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function or_group_start();
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Adds a paren to the current query for query grouping,
|
|
||||||
* prefixed with 'OR NOT'
|
|
||||||
*
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function or_not_group_start();
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Ends a query group
|
|
||||||
*
|
|
||||||
* @return Query_Builder
|
|
||||||
*/
|
|
||||||
public function group_end();
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
// ! Query execution methods
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Select and retrieve all records from the current table, and/or
|
|
||||||
* execute current compiled query
|
|
||||||
*
|
|
||||||
* @param $table
|
|
||||||
* @param int|bool $limit
|
|
||||||
* @param int|bool $offset
|
|
||||||
* @return \PDOStatement
|
|
||||||
*/
|
|
||||||
public function get($table='', $limit=FALSE, $offset=FALSE);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Convience method for get() with a where clause
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @param array $where
|
|
||||||
* @param int|bool $limit
|
|
||||||
* @param int|bool $offset
|
|
||||||
* @return \PDOStatement
|
|
||||||
*/
|
|
||||||
public function get_where($table, $where=array(), $limit=FALSE, $offset=FALSE);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieve the number of rows in the selected table
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @return int
|
|
||||||
*/
|
|
||||||
public function count_all($table);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieve the number of results for the generated query - used
|
|
||||||
* in place of the get() method
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @return int
|
|
||||||
*/
|
|
||||||
public function count_all_results($table='');
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates an insert clause, and executes it
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @param mixed $data
|
|
||||||
* @return \PDOStatement
|
|
||||||
*/
|
|
||||||
public function insert($table, $data=array());
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates and executes a batch insertion query
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @param array $data
|
|
||||||
* @return \PDOStatement|null
|
|
||||||
*/
|
|
||||||
public function insert_batch($table, $data=array());
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates an update clause, and executes it
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @param mixed $data
|
|
||||||
* @return \PDOStatement
|
|
||||||
*/
|
|
||||||
public function update($table, $data=array());
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Deletes data from a table
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @param mixed $where
|
|
||||||
* @return \PDOStatement
|
|
||||||
*/
|
|
||||||
public function delete($table, $where='');
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
// ! SQL Returning Methods
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the generated 'select' sql query
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @param bool $reset
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function get_compiled_select($table='', $reset=TRUE);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the generated 'insert' sql query
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @param bool $reset
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function get_compiled_insert($table, $reset=TRUE);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the generated 'update' sql query
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @param bool $reset
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function get_compiled_update($table='', $reset=TRUE);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the generated 'delete' sql query
|
|
||||||
*
|
|
||||||
* @param string $table
|
|
||||||
* @param bool $reset
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function get_compiled_delete($table="", $reset=TRUE);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
// ! Miscellaneous Methods
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Clear out the class variables, so the next query can be run
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function reset_query();
|
|
||||||
}
|
|
||||||
|
|
||||||
// End of query_builder_interface.php
|
|
@ -1,138 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* Query
|
|
||||||
*
|
|
||||||
* Free Query Builder / Database Abstraction Layer
|
|
||||||
*
|
|
||||||
* @package Query
|
|
||||||
* @author Timothy J. Warren
|
|
||||||
* @copyright Copyright (c) 2012 - 2014
|
|
||||||
* @link https://github.com/aviat4ion/Query
|
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
|
||||||
*/
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
namespace Query;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Utility Class to parse sql clauses for properly escaping identifiers
|
|
||||||
*
|
|
||||||
* @package Query
|
|
||||||
* @subpackage Query_Builder
|
|
||||||
*/
|
|
||||||
class Query_Parser {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* DB Driver
|
|
||||||
*
|
|
||||||
* @var \Query\Driver\Driver_Interface
|
|
||||||
*/
|
|
||||||
private $db;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Regex patterns for various syntax components
|
|
||||||
*
|
|
||||||
* @var array
|
|
||||||
*/
|
|
||||||
private $match_patterns = array(
|
|
||||||
'function' => '([a-zA-Z0-9_]+\((.*?)\))',
|
|
||||||
'identifier' => '([a-zA-Z0-9_-]+\.?)+',
|
|
||||||
'operator' => '=|AND|&&?|~|\|\|?|\^|/|>=?|<=?|-|%|OR|\+|NOT|\!=?|<>|XOR'
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Regex matches
|
|
||||||
*
|
|
||||||
* @var array
|
|
||||||
*/
|
|
||||||
public $matches = array(
|
|
||||||
'functions' => array(),
|
|
||||||
'identifiers' => array(),
|
|
||||||
'operators' => array(),
|
|
||||||
'combined' => array(),
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor/entry point into parser
|
|
||||||
*
|
|
||||||
* @param Driver\Driver_Interface $db
|
|
||||||
*/
|
|
||||||
public function __construct(Driver\Driver_Interface $db)
|
|
||||||
{
|
|
||||||
$this->db = $db;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Public parser method for setting the parse string
|
|
||||||
*
|
|
||||||
* @param string $sql
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
protected function parse_join($sql)
|
|
||||||
{
|
|
||||||
// Get sql clause components
|
|
||||||
preg_match_all('`'.$this->match_patterns['function'].'`', $sql, $this->matches['functions'], PREG_SET_ORDER);
|
|
||||||
preg_match_all('`'.$this->match_patterns['identifier'].'`', $sql, $this->matches['identifiers'], PREG_SET_ORDER);
|
|
||||||
preg_match_all('`'.$this->match_patterns['operator'].'`', $sql, $this->matches['operators'], PREG_SET_ORDER);
|
|
||||||
|
|
||||||
// Get everything at once for ordering
|
|
||||||
$full_pattern = '`'.$this->match_patterns['function'].'+|'.$this->match_patterns['identifier'].'|('.$this->match_patterns['operator'].')+`i';
|
|
||||||
preg_match_all($full_pattern, $sql, $this->matches['combined'], PREG_SET_ORDER);
|
|
||||||
|
|
||||||
// Go through the matches, and get the most relevant matches
|
|
||||||
$this->matches = array_map(array($this, 'filter_array'), $this->matches);
|
|
||||||
|
|
||||||
return $this->matches;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Compiles a join condition after parsing
|
|
||||||
*
|
|
||||||
* @param string $condition
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function compile_join($condition)
|
|
||||||
{
|
|
||||||
$parts = $this->parse_join($condition);
|
|
||||||
$count = count($parts['identifiers']);
|
|
||||||
|
|
||||||
// Go through and quote the identifiers
|
|
||||||
for($i=0; $i <= $count; $i++)
|
|
||||||
{
|
|
||||||
if (in_array($parts['combined'][$i], $parts['identifiers']) && ! is_numeric($parts['combined'][$i]))
|
|
||||||
{
|
|
||||||
$parts['combined'][$i] = $this->db->quote_ident($parts['combined'][$i]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return implode('', $parts['combined']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a more useful match array
|
|
||||||
*
|
|
||||||
* @param array $array
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
protected function filter_array($array)
|
|
||||||
{
|
|
||||||
$new_array = array();
|
|
||||||
|
|
||||||
foreach($array as $row)
|
|
||||||
{
|
|
||||||
$new_array[] = (is_array($row)) ? $row[0] : $row;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $new_array;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// End of query_parser.php
|
|
163
README.md
163
README.md
@ -1,55 +1,51 @@
|
|||||||
# Query
|
# Query
|
||||||
|
|
||||||
A query builder/database abstraction layer, using prepared queries for security.
|
A query builder/database abstraction layer, using prepared statements for security.
|
||||||
|
|
||||||
[![Build Status](https://secure.travis-ci.org/timw4mail/Query.png)](http://travis-ci.org/timw4mail/Query)
|
[![Latest Stable Version](https://poser.pugx.org/aviat/query/v/stable.png)](https://packagist.org/packages/aviat/query)
|
||||||
[![Code Coverage](https://scrutinizer-ci.com/g/timw4mail/Query/badges/coverage.png?s=a96df5417089f90250aeb59013a3964b1ff9b588)](https://scrutinizer-ci.com/g/timw4mail/Query/)
|
[![Total Downloads](https://poser.pugx.org/aviat/query/downloads.png)](https://packagist.org/packages/aviat/query)
|
||||||
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/timw4mail/Query/badges/quality-score.png?s=ce0f185067d7049cfe3f0aba2ca30ed56fb97b20)](https://scrutinizer-ci.com/g/timw4mail/Query/)
|
[![Latest Unstable Version](https://poser.pugx.org/aviat/query/v/unstable.png)](https://packagist.org/packages/aviat/query)
|
||||||
[![Latest Stable Version](https://poser.pugx.org/aviat4ion/query/v/stable.png)](https://packagist.org/packages/aviat4ion/query)
|
|
||||||
[![Total Downloads](https://poser.pugx.org/aviat4ion/query/downloads.png)](https://packagist.org/packages/aviat4ion/query)
|
|
||||||
[![Latest Unstable Version](https://poser.pugx.org/aviat4ion/query/v/unstable.png)](https://packagist.org/packages/aviat4ion/query)
|
|
||||||
[![License](https://poser.pugx.org/aviat4ion/query/license.png)](http://www.dbad-license.org/)
|
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
* Pdo extensions for the databases you wish to use (unless it's Firebird, in which case, the interbase extension is required)
|
* PDO extensions for the databases you wish to use
|
||||||
* PHP 5.3+
|
* PHP 8.1 or later
|
||||||
|
|
||||||
## Databases Supported
|
## Databases Supported
|
||||||
|
|
||||||
* Firebird (via interbase extension)
|
* MySQL 5+ / MariaDB
|
||||||
* MySQL
|
* PostgreSQL 8.4+
|
||||||
* PostgreSQL
|
|
||||||
* SQLite
|
* SQLite
|
||||||
|
|
||||||
## Including Query in your application
|
## Including Query in your application
|
||||||
|
|
||||||
To include Query in your PHP project, just include the `autoload.php` file. This will automatically load the classes that are supported by the current PHP installation.
|
* Install via composer and include `vendor/autoload.php`
|
||||||
|
|
||||||
|
|
||||||
## Connecting
|
## Connecting
|
||||||
|
|
||||||
Create a connection array or object similar to this:
|
Create a connection array or object similar to this:
|
||||||
|
|
||||||
<?php
|
```php
|
||||||
|
<?php
|
||||||
|
|
||||||
$params = array(
|
$params = array(
|
||||||
'type' => 'mysql',
|
'type' => 'mysql', // mysql, pgsql, sqlite
|
||||||
'host' => 'localhost',
|
'host' => 'localhost', // address or socket
|
||||||
'user' => 'root',
|
'user' => 'root',
|
||||||
'pass' => '',
|
'pass' => '',
|
||||||
'port' => '3306',
|
'port' => '3306',
|
||||||
'database' => 'test_db',
|
'database' => 'test_db',
|
||||||
|
|
||||||
// Only required
|
// Only required for
|
||||||
// SQLite or Firebird
|
// SQLite
|
||||||
'file' => '/path/to/db/file',
|
'file' => '/path/to/db/file',
|
||||||
|
|
||||||
// Optional paramaters
|
// Optional parameters
|
||||||
'prefix' => 'tbl_', // Database table prefix
|
'prefix' => 'tbl_', // Database table prefix
|
||||||
'alias' => 'old' // Connection name for the Query function
|
'alias' => 'old' // Connection name for the Query function
|
||||||
);
|
);
|
||||||
|
|
||||||
$db = Query($params);
|
$db = Query($params);
|
||||||
|
```
|
||||||
|
|
||||||
The parameters required depend on the database.
|
The parameters required depend on the database.
|
||||||
|
|
||||||
@ -57,27 +53,39 @@ The parameters required depend on the database.
|
|||||||
|
|
||||||
You can use the `Query()` function as a reference to the last connected database. E.g.
|
You can use the `Query()` function as a reference to the last connected database. E.g.
|
||||||
|
|
||||||
Query()->get('table_name');
|
```php
|
||||||
|
<?php
|
||||||
|
Query()->get('table_name');
|
||||||
|
|
||||||
or
|
// or
|
||||||
|
$result = Query()->query($sql);
|
||||||
$result = Query()->query($sql);
|
```
|
||||||
|
|
||||||
If the `alias` key is set in the parameters, you can refer to a specific database connection
|
If the `alias` key is set in the parameters, you can refer to a specific database connection
|
||||||
|
|
||||||
// Set the alias in the connection parameters
|
```php
|
||||||
$params['alias'] = 'old';
|
<?php
|
||||||
|
|
||||||
// Connect to the legacy database
|
// Set the alias in the connection parameters
|
||||||
Query('old')->query($sql);
|
$params['alias'] = 'old';
|
||||||
|
|
||||||
|
// Connect to the legacy database
|
||||||
|
Query('old')->query($sql);
|
||||||
|
```
|
||||||
|
|
||||||
### Running Queries
|
### Running Queries
|
||||||
Query uses the same interface as CodeIgniter's [Active Record class](http://ellislab.com/codeigniter/user-guide/database/active_record.html). However, it does not implement the `update_batch` or caching 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).
|
||||||
|
|
||||||
####You can also run queries manually.
|
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-QueryBuilder.html).
|
||||||
|
|
||||||
|
#### You can also run queries manually.
|
||||||
|
|
||||||
To run a prepared statement, call
|
To run a prepared statement, call
|
||||||
`$db->prepare_execute($sql, $params)`.
|
`$db->prepareExecute($sql, $params)`.
|
||||||
|
|
||||||
To run a plain query, `$db->query($sql)`
|
To run a plain query, `$db->query($sql)`
|
||||||
|
|
||||||
@ -85,46 +93,61 @@ To run a plain query, `$db->query($sql)`
|
|||||||
|
|
||||||
An example of a moderately complex query:
|
An example of a moderately complex query:
|
||||||
|
|
||||||
$query = $db->select('id, key as k, val')
|
```php
|
||||||
->from('table t')
|
<?php
|
||||||
->where('k >', 3)
|
$query = $db->select('id, key as k, val')
|
||||||
->or_where('id !=' 5)
|
->from('table t')
|
||||||
->order_by('val', 'DESC')
|
->where('k >', 3)
|
||||||
->limit(3, 1)
|
->orWhere('id !=', 5)
|
||||||
->get();
|
->orderBy('val', 'DESC')
|
||||||
|
->limit(3, 1)
|
||||||
|
->get();
|
||||||
|
```
|
||||||
|
|
||||||
This will generate a query similar to (with this being the output for a Postgres database):
|
This will generate a query similar to (with this being the output for a PostgreSQL database):
|
||||||
|
|
||||||
SELECT "id", "key" AS "k", "val"
|
```sql
|
||||||
FROM "table" "t"
|
SELECT "id", "key" AS "k", "val"
|
||||||
WHERE "k" > ?
|
FROM "table" "t"
|
||||||
OR "id" != ?
|
WHERE "k" > ?
|
||||||
ORDER BY "val" DESC
|
OR "id" != ?
|
||||||
LIMIT 3 OFFSET 1
|
ORDER BY "val" DESC
|
||||||
|
LIMIT 3 OFFSET 1
|
||||||
|
```
|
||||||
|
|
||||||
|
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).
|
||||||
|
|
||||||
To retreive 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).
|
```php
|
||||||
|
<?php
|
||||||
|
$query = $db->get('table_name');
|
||||||
|
|
||||||
$query = $db->get('table_name');
|
$results = $query->fetchAll(PDO::FETCH_ASSOC);
|
||||||
|
```
|
||||||
$results = $query->fetchAll(PDO::FETCH_ASSOC);
|
|
||||||
|
|
||||||
|
|
||||||
### Inserting / Updating
|
### Inserting / Updating
|
||||||
|
|
||||||
An example of an insert query:
|
An example of an insert query:
|
||||||
|
```php
|
||||||
$query = $db->set('foo', 'bar')
|
<?php
|
||||||
->set('foobar', 'baz')
|
$query = $db->set('foo', 'bar')
|
||||||
->where('foo !=', 'bar')
|
->set('foobar', 'baz')
|
||||||
->insert('table');
|
->where('foo !=', 'bar')
|
||||||
|
->insert('table');
|
||||||
|
```
|
||||||
|
|
||||||
An example of an update query:
|
An example of an update query:
|
||||||
|
|
||||||
$query = $db->set('foo', 'bar')
|
```php
|
||||||
->set('foobar', 'baz')
|
<?php
|
||||||
->where('foo !=', 'bar')
|
$query = $db->set('foo', 'bar')
|
||||||
->update('table');
|
->set('foobar', 'baz')
|
||||||
|
->where('foo !=', 'bar')
|
||||||
|
->update('table');
|
||||||
|
```
|
||||||
|
|
||||||
The `set` method can also take an array as a paramater, instead of setting individual values.
|
The `set` method can also take an array as a parameter, instead of setting individual values.
|
||||||
|
|
||||||
|
5
apiDocumentation/.htaccess
Normal file
5
apiDocumentation/.htaccess
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Fixes a vulnerability in CentOS: https://stackoverflow.com/questions/20533279/
|
||||||
|
<FilesMatch \.php\.txt$>
|
||||||
|
RemoveHandler .php
|
||||||
|
ForceType text/plain
|
||||||
|
</FilesMatch>
|
390
apiDocumentation/classes.html
Normal file
390
apiDocumentation/classes.html
Normal file
@ -0,0 +1,390 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
||||||
|
<head>
|
||||||
|
<title>phpDox - Overview</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">
|
||||||
|
<h1>Classes</h1>
|
||||||
|
<div class="container">
|
||||||
|
<h2 id="">\</h2>
|
||||||
|
<table class="styled">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th/>
|
||||||
|
</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>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span class="unavailable">No description available</span>
|
||||||
|
</td>
|
||||||
|
<td class="testresult-EMPTY">EMPTY
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="classes/InvalidArgumentException.html">InvalidArgumentException</a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span class="unavailable">No description available</span>
|
||||||
|
</td>
|
||||||
|
<td class="testresult-EMPTY">EMPTY
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="classes/LogicException.html">LogicException</a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span class="unavailable">No description available</span>
|
||||||
|
</td>
|
||||||
|
<td class="testresult-EMPTY">EMPTY
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="classes/PDO.html">PDO</a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span class="unavailable">No description available</span>
|
||||||
|
</td>
|
||||||
|
<td class="testresult-EMPTY">EMPTY
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="container">
|
||||||
|
<h2 id="Query">\Query</h2>
|
||||||
|
<table class="styled">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th/>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="classes/Query_ConnectionManager.html">ConnectionManager</a>
|
||||||
|
</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_JoinType.html">JoinType</a>
|
||||||
|
</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>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="classes/Query_QueryBuilder.html">QueryBuilder</a>
|
||||||
|
</td>
|
||||||
|
<td>Convenience class for creating sql queries</td>
|
||||||
|
<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>
|
||||||
|
</td>
|
||||||
|
<td>Utility Class to parse sql clauses for properly escaping identifiers</td>
|
||||||
|
<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>
|
||||||
|
</td>
|
||||||
|
<td>Query builder state</td>
|
||||||
|
<td class="testresult-EMPTY">EMPTY
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="container">
|
||||||
|
<h2 id="Query_Drivers">\Query\Drivers</h2>
|
||||||
|
<table class="styled">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th/>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="classes/Query_Drivers_AbstractDriver.html">AbstractDriver</a>
|
||||||
|
</td>
|
||||||
|
<td>Base Database class</td>
|
||||||
|
<td class="testresult-EMPTY">EMPTY
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="classes/Query_Drivers_AbstractSQL.html">AbstractSQL</a>
|
||||||
|
</td>
|
||||||
|
<td>Parent for database-specific syntax subclasses</td>
|
||||||
|
<td class="testresult-EMPTY">EMPTY
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="classes/Query_Drivers_AbstractUtil.html">AbstractUtil</a>
|
||||||
|
</td>
|
||||||
|
<td>Abstract class defining database / table creation methods</td>
|
||||||
|
<td class="testresult-EMPTY">EMPTY
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="container">
|
||||||
|
<h2 id="Query_Drivers_Mysql">\Query\Drivers\Mysql</h2>
|
||||||
|
<table class="styled">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th/>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="classes/Query_Drivers_Mysql_Driver.html">Driver</a>
|
||||||
|
</td>
|
||||||
|
<td>MySQL specific class</td>
|
||||||
|
<td class="testresult-EMPTY">EMPTY
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="classes/Query_Drivers_Mysql_SQL.html">SQL</a>
|
||||||
|
</td>
|
||||||
|
<td>MySQL specific SQL</td>
|
||||||
|
<td class="testresult-EMPTY">EMPTY
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="classes/Query_Drivers_Mysql_Util.html">Util</a>
|
||||||
|
</td>
|
||||||
|
<td>MySQL-specific backup, import and creation methods</td>
|
||||||
|
<td class="testresult-EMPTY">EMPTY
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="container">
|
||||||
|
<h2 id="Query_Drivers_Pgsql">\Query\Drivers\Pgsql</h2>
|
||||||
|
<table class="styled">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th/>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="classes/Query_Drivers_Pgsql_Driver.html">Driver</a>
|
||||||
|
</td>
|
||||||
|
<td>PostgreSQL specific class</td>
|
||||||
|
<td class="testresult-EMPTY">EMPTY
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="classes/Query_Drivers_Pgsql_SQL.html">SQL</a>
|
||||||
|
</td>
|
||||||
|
<td>PostgreSQL specific SQL</td>
|
||||||
|
<td class="testresult-EMPTY">EMPTY
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="classes/Query_Drivers_Pgsql_Util.html">Util</a>
|
||||||
|
</td>
|
||||||
|
<td>Postgres-specific backup, import and creation methods</td>
|
||||||
|
<td class="testresult-EMPTY">EMPTY
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="container">
|
||||||
|
<h2 id="Query_Drivers_Sqlite">\Query\Drivers\Sqlite</h2>
|
||||||
|
<table class="styled">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th/>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="classes/Query_Drivers_Sqlite_Driver.html">Driver</a>
|
||||||
|
</td>
|
||||||
|
<td>SQLite specific class</td>
|
||||||
|
<td class="testresult-EMPTY">EMPTY
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="classes/Query_Drivers_Sqlite_SQL.html">SQL</a>
|
||||||
|
</td>
|
||||||
|
<td>SQLite Specific SQL</td>
|
||||||
|
<td class="testresult-EMPTY">EMPTY
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="classes/Query_Drivers_Sqlite_Util.html">Util</a>
|
||||||
|
</td>
|
||||||
|
<td>SQLite-specific backup, import and creation methods</td>
|
||||||
|
<td class="testresult-EMPTY">EMPTY
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</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.12.0-dev - Copyright (C) 2010 - 2020 by Arne Blankerts and Contributors</span>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
144
apiDocumentation/classes.svg
Normal file
144
apiDocumentation/classes.svg
Normal file
@ -0,0 +1,144 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="957px" preserveAspectRatio="none" style="width:768px;height:957px;background:#FFFFFF;" version="1.1" viewBox="0 0 768 957" width="768px" zoomAndPan="magnify"><defs/><g><!--MD5=[de8aee2ea1552a39abc6c09322004344]
|
||||||
|
cluster Query--><g id="cluster_Query"><path d="M8.5,666 L57.5,666 A3.75,3.75 0 0 1 60,668.5 L67,688.2969 L484,688.2969 A2.5,2.5 0 0 1 486.5,690.7969 L486.5,947.5 A2.5,2.5 0 0 1 484,950 L8.5,950 A2.5,2.5 0 0 1 6,947.5 L6,668.5 A2.5,2.5 0 0 1 8.5,666 " fill="none" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:1.5;" x1="6" x2="67" y1="688.2969" y2="688.2969"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="48" x="10" y="680.9951">Query</text></g><!--MD5=[faa6c4461fbe9f1ba1173379b02ef62b]
|
||||||
|
cluster Query\\Drivers--><g id="cluster_Query\\Drivers"><path d="M33,290 L144,290 A3.75,3.75 0 0 1 146.5,292.5 L153.5,312.2969 L488.5,312.2969 A2.5,2.5 0 0 1 491,314.7969 L491,504.5 A2.5,2.5 0 0 1 488.5,507 L33,507 A2.5,2.5 0 0 1 30.5,504.5 L30.5,292.5 A2.5,2.5 0 0 1 33,290 " fill="none" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:1.5;" x1="30.5" x2="153.5" y1="312.2969" y2="312.2969"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="110" x="34.5" y="304.9951">Query\Drivers</text></g><!--MD5=[77083f9ff7e3ce640b8e1a48684cff38]
|
||||||
|
cluster Query\\Drivers\\Mysql--><g id="cluster_Query\\Drivers\\Mysql"><path d="M588,49 L749,49 A3.75,3.75 0 0 1 751.5,51.5 L758.5,71.2969 L759,71.2969 A2.5,2.5 0 0 1 761.5,73.7969 L761.5,263.5 A2.5,2.5 0 0 1 759,266 L588,266 A2.5,2.5 0 0 1 585.5,263.5 L585.5,51.5 A2.5,2.5 0 0 1 588,49 " fill="none" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:1.5;" x1="585.5" x2="758.5" y1="71.2969" y2="71.2969"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="160" x="589.5" y="63.9951">Query\Drivers\Mysql</text></g><!--MD5=[1b2268b25e6e28db7cafbb9bfa458ab0]
|
||||||
|
cluster Query\\Drivers\\Pgsql--><g id="cluster_Query\\Drivers\\Pgsql"><path d="M589,531 L748,531 A3.75,3.75 0 0 1 750.5,533.5 L757.5,553.2969 L758,553.2969 A2.5,2.5 0 0 1 760.5,555.7969 L760.5,745.5 A2.5,2.5 0 0 1 758,748 L589,748 A2.5,2.5 0 0 1 586.5,745.5 L586.5,533.5 A2.5,2.5 0 0 1 589,531 " fill="none" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:1.5;" x1="586.5" x2="757.5" y1="553.2969" y2="553.2969"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="158" x="590.5" y="545.9951">Query\Drivers\Pgsql</text></g><!--MD5=[f33975a936ca05dcb4c69d32c591892e]
|
||||||
|
cluster Query\\Drivers\\Sqlite--><g id="cluster_Query\\Drivers\\Sqlite"><path d="M589,290 L749,290 A3.75,3.75 0 0 1 751.5,292.5 L758.5,312.2969 L759,312.2969 A2.5,2.5 0 0 1 761.5,314.7969 L761.5,504.5 A2.5,2.5 0 0 1 759,507 L589,507 A2.5,2.5 0 0 1 586.5,504.5 L586.5,292.5 A2.5,2.5 0 0 1 589,290 " fill="none" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:1.5;" x1="586.5" x2="758.5" y1="312.2969" y2="312.2969"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="159" x="590.5" y="304.9951">Query\Drivers\Sqlite</text></g><!--MD5=[37e2176cde0790e7ef43d46f9ce7fd37]
|
||||||
|
cluster Query\\Exception--><g id="cluster_Query\\Exception"><path d="M265,6 L396,6 A3.75,3.75 0 0 1 398.5,8.5 L405.5,28.2969 L555,28.2969 A2.5,2.5 0 0 1 557.5,30.7969 L557.5,220.5 A2.5,2.5 0 0 1 555,223 L265,223 A2.5,2.5 0 0 1 262.5,220.5 L262.5,8.5 A2.5,2.5 0 0 1 265,6 " fill="none" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:1.5;" x1="262.5" x2="405.5" y1="28.2969" y2="28.2969"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="130" x="266.5" y="20.9951">Query\Exception</text></g><!--MD5=[ac964946d1b2e9b3b87da8f0f93b3bc0]
|
||||||
|
class Query\\ConnectionManager--><g id="elem_Query\\ConnectionManager"><rect codeLine="15" fill="#F1F1F1" height="32" id="Query\\ConnectionManager" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="172" x="27.5" y="768"/><ellipse cx="42.5" cy="784" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M45.4688,789.6406 Q44.8906,789.9375 44.25,790.0781 Q43.6094,790.2344 42.9063,790.2344 Q40.4063,790.2344 39.0781,788.5938 Q37.7656,786.9375 37.7656,783.8125 Q37.7656,780.6875 39.0781,779.0313 Q40.4063,777.375 42.9063,777.375 Q43.6094,777.375 44.25,777.5313 Q44.9063,777.6875 45.4688,777.9844 L45.4688,780.7031 Q44.8438,780.125 44.25,779.8594 Q43.6563,779.5781 43.0313,779.5781 Q41.6875,779.5781 41,780.6563 Q40.3125,781.7188 40.3125,783.8125 Q40.3125,785.9063 41,786.9844 Q41.6875,788.0469 43.0313,788.0469 Q43.6563,788.0469 44.25,787.7813 Q44.8438,787.5 45.4688,786.9219 L45.4688,789.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="140" x="56.5" y="788.8467">ConnectionManager</text></g><!--MD5=[2229a5cb18b18acbcdabefae03256d11]
|
||||||
|
class Query\\QueryBuilder--><g id="elem_Query\\QueryBuilder"><rect codeLine="18" fill="#F1F1F1" height="32" id="Query\\QueryBuilder" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="121" x="349.5" y="868"/><ellipse cx="364.5" cy="884" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M367.4688,889.6406 Q366.8906,889.9375 366.25,890.0781 Q365.6094,890.2344 364.9063,890.2344 Q362.4063,890.2344 361.0781,888.5938 Q359.7656,886.9375 359.7656,883.8125 Q359.7656,880.6875 361.0781,879.0313 Q362.4063,877.375 364.9063,877.375 Q365.6094,877.375 366.25,877.5313 Q366.9063,877.6875 367.4688,877.9844 L367.4688,880.7031 Q366.8438,880.125 366.25,879.8594 Q365.6563,879.5781 365.0313,879.5781 Q363.6875,879.5781 363,880.6563 Q362.3125,881.7188 362.3125,883.8125 Q362.3125,885.9063 363,886.9844 Q363.6875,888.0469 365.0313,888.0469 Q365.6563,888.0469 366.25,887.7813 Q366.8438,887.5 367.4688,886.9219 L367.4688,889.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="89" x="378.5" y="888.8467">QueryBuilder</text></g><!--MD5=[c0f4f944355b11bba502d2473cc3d267]
|
||||||
|
class Query\\QueryBuilderBase--><g id="elem_Query\\QueryBuilderBase"><rect codeLine="21" fill="#F1F1F1" height="32" id="Query\\QueryBuilderBase" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="156" x="35.5" y="835"/><ellipse cx="50.5" cy="851" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M53.4688,856.6406 Q52.8906,856.9375 52.25,857.0781 Q51.6094,857.2344 50.9063,857.2344 Q48.4063,857.2344 47.0781,855.5938 Q45.7656,853.9375 45.7656,850.8125 Q45.7656,847.6875 47.0781,846.0313 Q48.4063,844.375 50.9063,844.375 Q51.6094,844.375 52.25,844.5313 Q52.9063,844.6875 53.4688,844.9844 L53.4688,847.7031 Q52.8438,847.125 52.25,846.8594 Q51.6563,846.5781 51.0313,846.5781 Q49.6875,846.5781 49,847.6563 Q48.3125,848.7188 48.3125,850.8125 Q48.3125,852.9063 49,853.9844 Q49.6875,855.0469 51.0313,855.0469 Q51.6563,855.0469 52.25,854.7813 Q52.8438,854.5 53.4688,853.9219 L53.4688,856.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="124" x="64.5" y="855.8467">QueryBuilderBase</text></g><!--MD5=[48e3e4d3e7a525514b593672e5ce05f1]
|
||||||
|
class Query\\QueryBuilderInterface--><g id="elem_Query\\QueryBuilderInterface"><rect codeLine="30" fill="#F1F1F1" height="32" id="Query\\QueryBuilderInterface" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="183" x="22" y="902"/><ellipse cx="37" cy="918" fill="#B4A7E5" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M32.9219,913.7656 L32.9219,911.6094 L40.3125,911.6094 L40.3125,913.7656 L37.8438,913.7656 L37.8438,921.8438 L40.3125,921.8438 L40.3125,924 L32.9219,924 L32.9219,921.8438 L35.3906,921.8438 L35.3906,913.7656 L32.9219,913.7656 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="151" x="51" y="922.8467">QueryBuilderInterface</text></g><!--MD5=[15cabfe0451bf12de58b9d4c81a3fb31]
|
||||||
|
class Query\\QueryParser--><g id="elem_Query\\QueryParser"><rect codeLine="24" fill="#F1F1F1" height="32" id="Query\\QueryParser" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="117" x="55" y="701"/><ellipse cx="70" cy="717" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M72.9688,722.6406 Q72.3906,722.9375 71.75,723.0781 Q71.1094,723.2344 70.4063,723.2344 Q67.9063,723.2344 66.5781,721.5938 Q65.2656,719.9375 65.2656,716.8125 Q65.2656,713.6875 66.5781,712.0313 Q67.9063,710.375 70.4063,710.375 Q71.1094,710.375 71.75,710.5313 Q72.4063,710.6875 72.9688,710.9844 L72.9688,713.7031 Q72.3438,713.125 71.75,712.8594 Q71.1563,712.5781 70.5313,712.5781 Q69.1875,712.5781 68.5,713.6563 Q67.8125,714.7188 67.8125,716.8125 Q67.8125,718.9063 68.5,719.9844 Q69.1875,721.0469 70.5313,721.0469 Q71.1563,721.0469 71.75,720.7813 Q72.3438,720.5 72.9688,719.9219 L72.9688,722.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="85" x="84" y="721.8467">QueryParser</text></g><!--MD5=[f528c1c2d9a94cb21857decefaec6ab8]
|
||||||
|
class Query\\State--><g id="elem_Query\\State"><rect codeLine="27" fill="#F1F1F1" height="32" id="Query\\State" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="68" x="376" y="768"/><ellipse cx="391" cy="784" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M393.9688,789.6406 Q393.3906,789.9375 392.75,790.0781 Q392.1094,790.2344 391.4063,790.2344 Q388.9063,790.2344 387.5781,788.5938 Q386.2656,786.9375 386.2656,783.8125 Q386.2656,780.6875 387.5781,779.0313 Q388.9063,777.375 391.4063,777.375 Q392.1094,777.375 392.75,777.5313 Q393.4063,777.6875 393.9688,777.9844 L393.9688,780.7031 Q393.3438,780.125 392.75,779.8594 Q392.1563,779.5781 391.5313,779.5781 Q390.1875,779.5781 389.5,780.6563 Q388.8125,781.7188 388.8125,783.8125 Q388.8125,785.9063 389.5,786.9844 Q390.1875,788.0469 391.5313,788.0469 Q392.1563,788.0469 392.75,787.7813 Q393.3438,787.5 393.9688,786.9219 L393.9688,789.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="36" x="405" y="788.8467">State</text></g><!--MD5=[a2140848b20beee47d094bfb43ff2427]
|
||||||
|
class Query\\Drivers\\AbstractDriver--><g id="elem_Query\\Drivers\\AbstractDriver"><rect codeLine="33" fill="#F1F1F1" height="32" id="Query\\Drivers\\AbstractDriver" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="130" x="345" y="325"/><ellipse cx="360" cy="341" fill="#A9DCDF" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M360.1094,336.3438 L358.9531,341.4219 L361.2813,341.4219 L360.1094,336.3438 Z M358.625,334.1094 L361.6094,334.1094 L364.9688,346.5 L362.5156,346.5 L361.75,343.4375 L358.4688,343.4375 L357.7188,346.5 L355.2813,346.5 L358.625,334.1094 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="98" x="374" y="345.8467">AbstractDriver</text></g><!--MD5=[a2028bdd976a8c5f4dff65ff9aa95ed8]
|
||||||
|
class Query\\Drivers\\DriverInterface--><g id="elem_Query\\Drivers\\DriverInterface"><rect codeLine="42" fill="#F1F1F1" height="32" id="Query\\Drivers\\DriverInterface" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="134" x="46.5" y="325"/><ellipse cx="61.5" cy="341" fill="#B4A7E5" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M57.4219,336.7656 L57.4219,334.6094 L64.8125,334.6094 L64.8125,336.7656 L62.3438,336.7656 L62.3438,344.8438 L64.8125,344.8438 L64.8125,347 L57.4219,347 L57.4219,344.8438 L59.8906,344.8438 L59.8906,336.7656 L57.4219,336.7656 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="102" x="75.5" y="345.8467">DriverInterface</text></g><!--MD5=[d6318ffc2f59d6d33e29571008c42de0]
|
||||||
|
class Query\\Drivers\\AbstractSQL--><g id="elem_Query\\Drivers\\AbstractSQL"><rect codeLine="36" fill="#F1F1F1" height="32" id="Query\\Drivers\\AbstractSQL" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="117" x="351.5" y="392"/><ellipse cx="366.5" cy="408" fill="#A9DCDF" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M366.6094,403.3438 L365.4531,408.4219 L367.7813,408.4219 L366.6094,403.3438 Z M365.125,401.1094 L368.1094,401.1094 L371.4688,413.5 L369.0156,413.5 L368.25,410.4375 L364.9688,410.4375 L364.2188,413.5 L361.7813,413.5 L365.125,401.1094 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="85" x="380.5" y="412.8467">AbstractSQL</text></g><!--MD5=[8442d483bddaad22c3d41cc2449bd8ca]
|
||||||
|
class Query\\Drivers\\SQLInterface--><g id="elem_Query\\Drivers\\SQLInterface"><rect codeLine="45" fill="#F1F1F1" height="32" id="Query\\Drivers\\SQLInterface" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="121" x="53" y="392"/><ellipse cx="68" cy="408" fill="#B4A7E5" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M63.9219,403.7656 L63.9219,401.6094 L71.3125,401.6094 L71.3125,403.7656 L68.8438,403.7656 L68.8438,411.8438 L71.3125,411.8438 L71.3125,414 L63.9219,414 L63.9219,411.8438 L66.3906,411.8438 L66.3906,403.7656 L63.9219,403.7656 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="89" x="82" y="412.8467">SQLInterface</text></g><!--MD5=[f9d4c530b8e5d9ec181f75485d68566e]
|
||||||
|
class Query\\Drivers\\AbstractUtil--><g id="elem_Query\\Drivers\\AbstractUtil"><rect codeLine="39" fill="#F1F1F1" height="32" id="Query\\Drivers\\AbstractUtil" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="110" x="58.5" y="459"/><ellipse cx="73.5" cy="475" fill="#A9DCDF" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M73.6094,470.3438 L72.4531,475.4219 L74.7813,475.4219 L73.6094,470.3438 Z M72.125,468.1094 L75.1094,468.1094 L78.4688,480.5 L76.0156,480.5 L75.25,477.4375 L71.9688,477.4375 L71.2188,480.5 L68.7813,480.5 L72.125,468.1094 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="78" x="87.5" y="479.8467">AbstractUtil</text></g><!--MD5=[d6483b02a3727d8defbd5f8b79d5a594]
|
||||||
|
class Query\\Drivers\\Mysql\\Driver--><g id="elem_Query\\Drivers\\Mysql\\Driver"><rect codeLine="48" fill="#F1F1F1" height="32" id="Query\\Drivers\\Mysql\\Driver" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="72" x="637.5" y="151"/><ellipse cx="652.5" cy="167" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M655.4688,172.6406 Q654.8906,172.9375 654.25,173.0781 Q653.6094,173.2344 652.9063,173.2344 Q650.4063,173.2344 649.0781,171.5938 Q647.7656,169.9375 647.7656,166.8125 Q647.7656,163.6875 649.0781,162.0313 Q650.4063,160.375 652.9063,160.375 Q653.6094,160.375 654.25,160.5313 Q654.9063,160.6875 655.4688,160.9844 L655.4688,163.7031 Q654.8438,163.125 654.25,162.8594 Q653.6563,162.5781 653.0313,162.5781 Q651.6875,162.5781 651,163.6563 Q650.3125,164.7188 650.3125,166.8125 Q650.3125,168.9063 651,169.9844 Q651.6875,171.0469 653.0313,171.0469 Q653.6563,171.0469 654.25,170.7813 Q654.8438,170.5 655.4688,169.9219 L655.4688,172.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="40" x="666.5" y="171.8467">Driver</text></g><!--MD5=[1a7cd9ee2d27501f578bcf2b0355ee00]
|
||||||
|
class Query\\Drivers\\Mysql\\SQL--><g id="elem_Query\\Drivers\\Mysql\\SQL"><rect codeLine="51" fill="#F1F1F1" height="32" id="Query\\Drivers\\Mysql\\SQL" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="59" x="644" y="218"/><ellipse cx="659" cy="234" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M661.9688,239.6406 Q661.3906,239.9375 660.75,240.0781 Q660.1094,240.2344 659.4063,240.2344 Q656.9063,240.2344 655.5781,238.5938 Q654.2656,236.9375 654.2656,233.8125 Q654.2656,230.6875 655.5781,229.0313 Q656.9063,227.375 659.4063,227.375 Q660.1094,227.375 660.75,227.5313 Q661.4063,227.6875 661.9688,227.9844 L661.9688,230.7031 Q661.3438,230.125 660.75,229.8594 Q660.1563,229.5781 659.5313,229.5781 Q658.1875,229.5781 657.5,230.6563 Q656.8125,231.7188 656.8125,233.8125 Q656.8125,235.9063 657.5,236.9844 Q658.1875,238.0469 659.5313,238.0469 Q660.1563,238.0469 660.75,237.7813 Q661.3438,237.5 661.9688,236.9219 L661.9688,239.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="27" x="673" y="238.8467">SQL</text></g><!--MD5=[1b75fee1e6397f64daa563006ed76641]
|
||||||
|
class Query\\Drivers\\Mysql\\Util--><g id="elem_Query\\Drivers\\Mysql\\Util"><rect codeLine="54" fill="#F1F1F1" height="32" id="Query\\Drivers\\Mysql\\Util" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="53" x="647" y="84"/><ellipse cx="662" cy="100" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M664.9688,105.6406 Q664.3906,105.9375 663.75,106.0781 Q663.1094,106.2344 662.4063,106.2344 Q659.9063,106.2344 658.5781,104.5938 Q657.2656,102.9375 657.2656,99.8125 Q657.2656,96.6875 658.5781,95.0313 Q659.9063,93.375 662.4063,93.375 Q663.1094,93.375 663.75,93.5313 Q664.4063,93.6875 664.9688,93.9844 L664.9688,96.7031 Q664.3438,96.125 663.75,95.8594 Q663.1563,95.5781 662.5313,95.5781 Q661.1875,95.5781 660.5,96.6563 Q659.8125,97.7188 659.8125,99.8125 Q659.8125,101.9063 660.5,102.9844 Q661.1875,104.0469 662.5313,104.0469 Q663.1563,104.0469 663.75,103.7813 Q664.3438,103.5 664.9688,102.9219 L664.9688,105.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="21" x="676" y="104.8467">Util</text></g><!--MD5=[f469a81d3b081ca3f074bddc6de5f469]
|
||||||
|
class Query\\Drivers\\Pgsql\\Driver--><g id="elem_Query\\Drivers\\Pgsql\\Driver"><rect codeLine="57" fill="#F1F1F1" height="32" id="Query\\Drivers\\Pgsql\\Driver" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="72" x="637.5" y="566"/><ellipse cx="652.5" cy="582" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M655.4688,587.6406 Q654.8906,587.9375 654.25,588.0781 Q653.6094,588.2344 652.9063,588.2344 Q650.4063,588.2344 649.0781,586.5938 Q647.7656,584.9375 647.7656,581.8125 Q647.7656,578.6875 649.0781,577.0313 Q650.4063,575.375 652.9063,575.375 Q653.6094,575.375 654.25,575.5313 Q654.9063,575.6875 655.4688,575.9844 L655.4688,578.7031 Q654.8438,578.125 654.25,577.8594 Q653.6563,577.5781 653.0313,577.5781 Q651.6875,577.5781 651,578.6563 Q650.3125,579.7188 650.3125,581.8125 Q650.3125,583.9063 651,584.9844 Q651.6875,586.0469 653.0313,586.0469 Q653.6563,586.0469 654.25,585.7813 Q654.8438,585.5 655.4688,584.9219 L655.4688,587.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="40" x="666.5" y="586.8467">Driver</text></g><!--MD5=[b4910f11981cd6eef5b4872f5c92372c]
|
||||||
|
class Query\\Drivers\\Pgsql\\SQL--><g id="elem_Query\\Drivers\\Pgsql\\SQL"><rect codeLine="60" fill="#F1F1F1" height="32" id="Query\\Drivers\\Pgsql\\SQL" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="59" x="644" y="633"/><ellipse cx="659" cy="649" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M661.9688,654.6406 Q661.3906,654.9375 660.75,655.0781 Q660.1094,655.2344 659.4063,655.2344 Q656.9063,655.2344 655.5781,653.5938 Q654.2656,651.9375 654.2656,648.8125 Q654.2656,645.6875 655.5781,644.0313 Q656.9063,642.375 659.4063,642.375 Q660.1094,642.375 660.75,642.5313 Q661.4063,642.6875 661.9688,642.9844 L661.9688,645.7031 Q661.3438,645.125 660.75,644.8594 Q660.1563,644.5781 659.5313,644.5781 Q658.1875,644.5781 657.5,645.6563 Q656.8125,646.7188 656.8125,648.8125 Q656.8125,650.9063 657.5,651.9844 Q658.1875,653.0469 659.5313,653.0469 Q660.1563,653.0469 660.75,652.7813 Q661.3438,652.5 661.9688,651.9219 L661.9688,654.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="27" x="673" y="653.8467">SQL</text></g><!--MD5=[40ca353b32a67aaff39535f4c1eb9989]
|
||||||
|
class Query\\Drivers\\Pgsql\\Util--><g id="elem_Query\\Drivers\\Pgsql\\Util"><rect codeLine="63" fill="#F1F1F1" height="32" id="Query\\Drivers\\Pgsql\\Util" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="53" x="647" y="700"/><ellipse cx="662" cy="716" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M664.9688,721.6406 Q664.3906,721.9375 663.75,722.0781 Q663.1094,722.2344 662.4063,722.2344 Q659.9063,722.2344 658.5781,720.5938 Q657.2656,718.9375 657.2656,715.8125 Q657.2656,712.6875 658.5781,711.0313 Q659.9063,709.375 662.4063,709.375 Q663.1094,709.375 663.75,709.5313 Q664.4063,709.6875 664.9688,709.9844 L664.9688,712.7031 Q664.3438,712.125 663.75,711.8594 Q663.1563,711.5781 662.5313,711.5781 Q661.1875,711.5781 660.5,712.6563 Q659.8125,713.7188 659.8125,715.8125 Q659.8125,717.9063 660.5,718.9844 Q661.1875,720.0469 662.5313,720.0469 Q663.1563,720.0469 663.75,719.7813 Q664.3438,719.5 664.9688,718.9219 L664.9688,721.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="21" x="676" y="720.8467">Util</text></g><!--MD5=[da763e6831de5ec5db4a54a5d152380e]
|
||||||
|
class Query\\Drivers\\Sqlite\\Driver--><g id="elem_Query\\Drivers\\Sqlite\\Driver"><rect codeLine="66" fill="#F1F1F1" height="32" id="Query\\Drivers\\Sqlite\\Driver" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="72" x="637.5" y="325"/><ellipse cx="652.5" cy="341" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M655.4688,346.6406 Q654.8906,346.9375 654.25,347.0781 Q653.6094,347.2344 652.9063,347.2344 Q650.4063,347.2344 649.0781,345.5938 Q647.7656,343.9375 647.7656,340.8125 Q647.7656,337.6875 649.0781,336.0313 Q650.4063,334.375 652.9063,334.375 Q653.6094,334.375 654.25,334.5313 Q654.9063,334.6875 655.4688,334.9844 L655.4688,337.7031 Q654.8438,337.125 654.25,336.8594 Q653.6563,336.5781 653.0313,336.5781 Q651.6875,336.5781 651,337.6563 Q650.3125,338.7188 650.3125,340.8125 Q650.3125,342.9063 651,343.9844 Q651.6875,345.0469 653.0313,345.0469 Q653.6563,345.0469 654.25,344.7813 Q654.8438,344.5 655.4688,343.9219 L655.4688,346.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="40" x="666.5" y="345.8467">Driver</text></g><!--MD5=[57b6b52742451da13befc4fc944176ea]
|
||||||
|
class Query\\Drivers\\Sqlite\\SQL--><g id="elem_Query\\Drivers\\Sqlite\\SQL"><rect codeLine="69" fill="#F1F1F1" height="32" id="Query\\Drivers\\Sqlite\\SQL" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="59" x="644" y="392"/><ellipse cx="659" cy="408" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M661.9688,413.6406 Q661.3906,413.9375 660.75,414.0781 Q660.1094,414.2344 659.4063,414.2344 Q656.9063,414.2344 655.5781,412.5938 Q654.2656,410.9375 654.2656,407.8125 Q654.2656,404.6875 655.5781,403.0313 Q656.9063,401.375 659.4063,401.375 Q660.1094,401.375 660.75,401.5313 Q661.4063,401.6875 661.9688,401.9844 L661.9688,404.7031 Q661.3438,404.125 660.75,403.8594 Q660.1563,403.5781 659.5313,403.5781 Q658.1875,403.5781 657.5,404.6563 Q656.8125,405.7188 656.8125,407.8125 Q656.8125,409.9063 657.5,410.9844 Q658.1875,412.0469 659.5313,412.0469 Q660.1563,412.0469 660.75,411.7813 Q661.3438,411.5 661.9688,410.9219 L661.9688,413.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="27" x="673" y="412.8467">SQL</text></g><!--MD5=[55c43124a39829252658a7c02473899e]
|
||||||
|
class Query\\Drivers\\Sqlite\\Util--><g id="elem_Query\\Drivers\\Sqlite\\Util"><rect codeLine="72" fill="#F1F1F1" height="32" id="Query\\Drivers\\Sqlite\\Util" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="53" x="647" y="459"/><ellipse cx="662" cy="475" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M664.9688,480.6406 Q664.3906,480.9375 663.75,481.0781 Q663.1094,481.2344 662.4063,481.2344 Q659.9063,481.2344 658.5781,479.5938 Q657.2656,477.9375 657.2656,474.8125 Q657.2656,471.6875 658.5781,470.0313 Q659.9063,468.375 662.4063,468.375 Q663.1094,468.375 663.75,468.5313 Q664.4063,468.6875 664.9688,468.9844 L664.9688,471.7031 Q664.3438,471.125 663.75,470.8594 Q663.1563,470.5781 662.5313,470.5781 Q661.1875,470.5781 660.5,471.6563 Q659.8125,472.7188 659.8125,474.8125 Q659.8125,476.9063 660.5,477.9844 Q661.1875,479.0469 662.5313,479.0469 Q663.1563,479.0469 663.75,478.7813 Q664.3438,478.5 664.9688,477.9219 L664.9688,480.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="21" x="676" y="479.8467">Util</text></g><!--MD5=[9876675baab46a5a54c344b2607548ec]
|
||||||
|
class Query\\Exception\\BadDBDriverException--><g id="elem_Query\\Exception\\BadDBDriverException"><rect codeLine="75" fill="#F1F1F1" height="32" id="Query\\Exception\\BadDBDriverException" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="188" x="316" y="41"/><ellipse cx="331" cy="57" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M333.9688,62.6406 Q333.3906,62.9375 332.75,63.0781 Q332.1094,63.2344 331.4063,63.2344 Q328.9063,63.2344 327.5781,61.5938 Q326.2656,59.9375 326.2656,56.8125 Q326.2656,53.6875 327.5781,52.0313 Q328.9063,50.375 331.4063,50.375 Q332.1094,50.375 332.75,50.5313 Q333.4063,50.6875 333.9688,50.9844 L333.9688,53.7031 Q333.3438,53.125 332.75,52.8594 Q332.1563,52.5781 331.5313,52.5781 Q330.1875,52.5781 329.5,53.6563 Q328.8125,54.7188 328.8125,56.8125 Q328.8125,58.9063 329.5,59.9844 Q330.1875,61.0469 331.5313,61.0469 Q332.1563,61.0469 332.75,60.7813 Q333.3438,60.5 333.9688,59.9219 L333.9688,62.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="156" x="345" y="61.8467">BadDBDriverException</text></g><!--MD5=[fad5c0f5e9c2aef5ddac20346cb5d458]
|
||||||
|
class Query\\Exception\\NonExistentConnectionException--><g id="elem_Query\\Exception\\NonExistentConnectionException"><rect codeLine="78" fill="#F1F1F1" height="32" id="Query\\Exception\\NonExistentConnectionException" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="263" x="278.5" y="108"/><ellipse cx="293.5" cy="124" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M296.4688,129.6406 Q295.8906,129.9375 295.25,130.0781 Q294.6094,130.2344 293.9063,130.2344 Q291.4063,130.2344 290.0781,128.5938 Q288.7656,126.9375 288.7656,123.8125 Q288.7656,120.6875 290.0781,119.0313 Q291.4063,117.375 293.9063,117.375 Q294.6094,117.375 295.25,117.5313 Q295.9063,117.6875 296.4688,117.9844 L296.4688,120.7031 Q295.8438,120.125 295.25,119.8594 Q294.6563,119.5781 294.0313,119.5781 Q292.6875,119.5781 292,120.6563 Q291.3125,121.7188 291.3125,123.8125 Q291.3125,125.9063 292,126.9844 Q292.6875,128.0469 294.0313,128.0469 Q294.6563,128.0469 295.25,127.7813 Q295.8438,127.5 296.4688,126.9219 L296.4688,129.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="231" x="307.5" y="128.8467">NonExistentConnectionException</text></g><!--MD5=[f41b337c4e40079b93f6792cb189e93a]
|
||||||
|
class Query\\Exception\\NotImplementedException--><g id="elem_Query\\Exception\\NotImplementedException"><rect codeLine="81" fill="#F1F1F1" height="32" id="Query\\Exception\\NotImplementedException" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="215" x="302.5" y="175"/><ellipse cx="317.5" cy="191" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M320.4688,196.6406 Q319.8906,196.9375 319.25,197.0781 Q318.6094,197.2344 317.9063,197.2344 Q315.4063,197.2344 314.0781,195.5938 Q312.7656,193.9375 312.7656,190.8125 Q312.7656,187.6875 314.0781,186.0313 Q315.4063,184.375 317.9063,184.375 Q318.6094,184.375 319.25,184.5313 Q319.9063,184.6875 320.4688,184.9844 L320.4688,187.7031 Q319.8438,187.125 319.25,186.8594 Q318.6563,186.5781 318.0313,186.5781 Q316.6875,186.5781 316,187.6563 Q315.3125,188.7188 315.3125,190.8125 Q315.3125,192.9063 316,193.9844 Q316.6875,195.0469 318.0313,195.0469 Q318.6563,195.0469 319.25,194.7813 Q319.8438,194.5 320.4688,193.9219 L320.4688,196.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="183" x="331.5" y="195.8467">NotImplementedException</text></g><!--MD5=[a33c3fb28c09da4e5111d6677a3a34ed]
|
||||||
|
class PDO--><g id="elem_PDO"><rect fill="#F1F1F1" height="32" id="PDO" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="63" x="82" y="242"/><ellipse cx="97" cy="258" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M99.9688,263.6406 Q99.3906,263.9375 98.75,264.0781 Q98.1094,264.2344 97.4063,264.2344 Q94.9063,264.2344 93.5781,262.5938 Q92.2656,260.9375 92.2656,257.8125 Q92.2656,254.6875 93.5781,253.0313 Q94.9063,251.375 97.4063,251.375 Q98.1094,251.375 98.75,251.5313 Q99.4063,251.6875 99.9688,251.9844 L99.9688,254.7031 Q99.3438,254.125 98.75,253.8594 Q98.1563,253.5781 97.5313,253.5781 Q96.1875,253.5781 95.5,254.6563 Q94.8125,255.7188 94.8125,257.8125 Q94.8125,259.9063 95.5,260.9844 Q96.1875,262.0469 97.5313,262.0469 Q98.1563,262.0469 98.75,261.7813 Q99.3438,261.5 99.9688,260.9219 L99.9688,263.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="31" x="111" y="262.8467">PDO</text></g><!--MD5=[7f485c53cd78fe9f61f586b8b1ced5de]
|
||||||
|
class InvalidArgumentException--><g id="elem_InvalidArgumentException"><rect fill="#F1F1F1" height="32" id="InvalidArgumentException" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="210" x="8.5" y="75"/><ellipse cx="23.5" cy="91" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M26.4688,96.6406 Q25.8906,96.9375 25.25,97.0781 Q24.6094,97.2344 23.9063,97.2344 Q21.4063,97.2344 20.0781,95.5938 Q18.7656,93.9375 18.7656,90.8125 Q18.7656,87.6875 20.0781,86.0313 Q21.4063,84.375 23.9063,84.375 Q24.6094,84.375 25.25,84.5313 Q25.9063,84.6875 26.4688,84.9844 L26.4688,87.7031 Q25.8438,87.125 25.25,86.8594 Q24.6563,86.5781 24.0313,86.5781 Q22.6875,86.5781 22,87.6563 Q21.3125,88.7188 21.3125,90.8125 Q21.3125,92.9063 22,93.9844 Q22.6875,95.0469 24.0313,95.0469 Q24.6563,95.0469 25.25,94.7813 Q25.8438,94.5 26.4688,93.9219 L26.4688,96.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="178" x="37.5" y="95.8467">InvalidArgumentException</text></g><!--MD5=[ea69cc5aed4dc3de199ca62e306193e3]
|
||||||
|
class BadMethodCallException--><g id="elem_BadMethodCallException"><rect fill="#F1F1F1" height="32" id="BadMethodCallException" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="204" x="11.5" y="175"/><ellipse cx="26.5" cy="191" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M29.4688,196.6406 Q28.8906,196.9375 28.25,197.0781 Q27.6094,197.2344 26.9063,197.2344 Q24.4063,197.2344 23.0781,195.5938 Q21.7656,193.9375 21.7656,190.8125 Q21.7656,187.6875 23.0781,186.0313 Q24.4063,184.375 26.9063,184.375 Q27.6094,184.375 28.25,184.5313 Q28.9063,184.6875 29.4688,184.9844 L29.4688,187.7031 Q28.8438,187.125 28.25,186.8594 Q27.6563,186.5781 27.0313,186.5781 Q25.6875,186.5781 25,187.6563 Q24.3125,188.7188 24.3125,190.8125 Q24.3125,192.9063 25,193.9844 Q25.6875,195.0469 27.0313,195.0469 Q27.6563,195.0469 28.25,194.7813 Q28.8438,194.5 29.4688,193.9219 L29.4688,196.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="172" x="40.5" y="195.8467">BadMethodCallException</text></g><!--MD5=[2578b6d29c08d2a827a9f52bdc5c3fb1]
|
||||||
|
reverse link Query\\QueryBuilderBase to Query\\QueryBuilder--><g id="link_Query\\QueryBuilderBase_Query\\QueryBuilder"><path d="M211.54,851 C211.54,851 364.5,851 364.5,851 C364.5,851 364.5,859.51 364.5,867.89 " fill="none" id="Query\\QueryBuilderBase-backto-Query\\QueryBuilder" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="211.54,858,191.54,851,211.54,844,211.54,858" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[1e56114406db9fadc6c466c6358096d1]
|
||||||
|
reverse link Query\\QueryBuilderInterface to Query\\QueryBuilder--><g id="link_Query\\QueryBuilderInterface_Query\\QueryBuilder"><path d="M195.5,885.78 C195.5,885.78 195.5,884 195.5,884 C195.5,884 285.96,884 349.39,884 " fill="none" id="Query\\QueryBuilderInterface-backto-Query\\QueryBuilder" style="stroke:#516F42;stroke-width:1.0;stroke-dasharray:7.0,7.0;"/><polygon fill="none" points="202.5,881.8,195.5,901.8,188.5,881.8,202.5,881.8" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[1a05dcadb76851c4c8142dc6d05ed330]
|
||||||
|
reverse link PDO to Query\\Drivers\\AbstractDriver--><g id="link_PDO_Query\\Drivers\\AbstractDriver"><path d="M165,262 C165,262 410.5,262 410.5,262 C410.5,262 410.5,301.49 410.5,324.63 " fill="none" id="PDO-backto-Query\\Drivers\\AbstractDriver" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="165,269,145,262,165,255,165,269" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[86259ad3fa7799d988c0dd828545a105]
|
||||||
|
reverse link Query\\Drivers\\DriverInterface to Query\\Drivers\\AbstractDriver--><g id="link_Query\\Drivers\\DriverInterface_Query\\Drivers\\AbstractDriver"><path d="M200.78,341 C200.78,341 344.77,341 344.77,341 " fill="none" id="Query\\Drivers\\DriverInterface-backto-Query\\Drivers\\AbstractDriver" style="stroke:#516F42;stroke-width:1.0;stroke-dasharray:7.0,7.0;"/><polygon fill="none" points="200.78,348,180.78,341,200.78,334,200.78,348" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[e9b2e47fb217d9343f107986c71418bc]
|
||||||
|
reverse link Query\\Drivers\\SQLInterface to Query\\Drivers\\AbstractSQL--><g id="link_Query\\Drivers\\SQLInterface_Query\\Drivers\\AbstractSQL"><path d="M194.22,408 C194.22,408 351.39,408 351.39,408 " fill="none" id="Query\\Drivers\\SQLInterface-backto-Query\\Drivers\\AbstractSQL" style="stroke:#516F42;stroke-width:1.0;stroke-dasharray:7.0,7.0;"/><polygon fill="none" points="194.22,415,174.22,408,194.22,401,194.22,415" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[ad3142ac31afdf5821005c39b3456876]
|
||||||
|
reverse link Query\\Drivers\\AbstractDriver to Query\\Drivers\\Mysql\\Driver--><g id="link_Query\\Drivers\\AbstractDriver_Query\\Drivers\\Mysql\\Driver"><path d="M495.34,333 C495.34,333 529.5,333 529.5,333 C529.5,333 529.5,179 529.5,179 C529.5,179 594.5,179 637.16,179 " fill="none" id="Query\\Drivers\\AbstractDriver-backto-Query\\Drivers\\Mysql\\Driver" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="495.34,340,475.34,333,495.34,326,495.34,340" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[5c80d6b98d3637b6870e4741dd3451a9]
|
||||||
|
reverse link Query\\Drivers\\AbstractSQL to Query\\Drivers\\Mysql\\SQL--><g id="link_Query\\Drivers\\AbstractSQL_Query\\Drivers\\Mysql\\SQL"><path d="M488.68,402.67 C488.68,402.67 503.5,402.67 503.5,402.67 C503.5,402.67 503.5,246 503.5,246 C503.5,246 595.18,246 643.89,246 " fill="none" id="Query\\Drivers\\AbstractSQL-backto-Query\\Drivers\\Mysql\\SQL" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="488.68,409.67,468.68,402.67,488.68,395.67,488.68,409.67" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[5ff8a6954bb7516206f0fabdb0afae12]
|
||||||
|
reverse link Query\\Drivers\\AbstractUtil to Query\\Drivers\\Mysql\\Util--><g id="link_Query\\Drivers\\AbstractUtil_Query\\Drivers\\Mysql\\Util"><path d="M188.57,467 C188.57,467 589.5,467 589.5,467 C589.5,467 589.5,112 589.5,112 C589.5,112 622.31,112 646.92,112 " fill="none" id="Query\\Drivers\\AbstractUtil-backto-Query\\Drivers\\Mysql\\Util" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="188.57,474,168.57,467,188.57,460,188.57,474" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[9e6ded727bb3ead8c2be99fb28852e3c]
|
||||||
|
reverse link Query\\Drivers\\AbstractDriver to Query\\Drivers\\Pgsql\\Driver--><g id="link_Query\\Drivers\\AbstractDriver_Query\\Drivers\\Pgsql\\Driver"><path d="M488.08,349 C488.08,349 489.5,349 489.5,349 C489.5,349 489.5,582 489.5,582 C489.5,582 583.52,582 637.15,582 " fill="none" id="Query\\Drivers\\AbstractDriver-backto-Query\\Drivers\\Pgsql\\Driver" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="495.29,356,475.29,349,495.29,342,495.29,356" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[16f07cacf9eba8915b7605285198c4f4]
|
||||||
|
reverse link Query\\Drivers\\AbstractSQL to Query\\Drivers\\Pgsql\\SQL--><g id="link_Query\\Drivers\\AbstractSQL_Query\\Drivers\\Pgsql\\SQL"><path d="M456.5,444.19 C456.5,444.19 456.5,649 456.5,649 C456.5,649 584.35,649 643.78,649 " fill="none" id="Query\\Drivers\\AbstractSQL-backto-Query\\Drivers\\Pgsql\\SQL" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="449.5,444.19,456.5,424.19,463.5,444.19,449.5,444.19" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[162c76ca8353f5a587f9ebee1bc340e9]
|
||||||
|
reverse link Query\\Drivers\\AbstractUtil to Query\\Drivers\\Pgsql\\Util--><g id="link_Query\\Drivers\\AbstractUtil_Query\\Drivers\\Pgsql\\Util"><path d="M188.31,483 C188.31,483 190.5,483 190.5,483 C190.5,483 190.5,716.5 190.5,716.5 C190.5,716.5 545.59,716.5 646.84,716.5 " fill="none" id="Query\\Drivers\\AbstractUtil-backto-Query\\Drivers\\Pgsql\\Util" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="188.64,490,168.64,483,188.64,476,188.64,490" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[e8ecef929d91aa0fecc8f41d9ec98a5a]
|
||||||
|
reverse link Query\\Drivers\\AbstractDriver to Query\\Drivers\\Sqlite\\Driver--><g id="link_Query\\Drivers\\AbstractDriver_Query\\Drivers\\Sqlite\\Driver"><path d="M495.13,341 C495.13,341 637.45,341 637.45,341 " fill="none" id="Query\\Drivers\\AbstractDriver-backto-Query\\Drivers\\Sqlite\\Driver" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="495.13,348,475.13,341,495.13,334,495.13,348" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[bbc327f9f3ee3f23240b286657f4a619]
|
||||||
|
reverse link Query\\Drivers\\AbstractSQL to Query\\Drivers\\Sqlite\\SQL--><g id="link_Query\\Drivers\\AbstractSQL_Query\\Drivers\\Sqlite\\SQL"><path d="M488.81,413.33 C488.81,413.33 643.82,413.33 643.82,413.33 " fill="none" id="Query\\Drivers\\AbstractSQL-backto-Query\\Drivers\\Sqlite\\SQL" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="488.81,420.33,468.81,413.33,488.81,406.33,488.81,420.33" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[4509582e18a7c073b5fa75bd70a8eb42]
|
||||||
|
reverse link Query\\Drivers\\AbstractUtil to Query\\Drivers\\Sqlite\\Util--><g id="link_Query\\Drivers\\AbstractUtil_Query\\Drivers\\Sqlite\\Util"><path d="M188.73,475 C188.73,475 646.73,475 646.73,475 " fill="none" id="Query\\Drivers\\AbstractUtil-backto-Query\\Drivers\\Sqlite\\Util" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="188.73,482,168.73,475,188.73,468,188.73,482" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[3db2d85023ec15f024341e87495c69e2]
|
||||||
|
reverse link InvalidArgumentException to Query\\Exception\\BadDBDriverException--><g id="link_InvalidArgumentException_Query\\Exception\\BadDBDriverException"><path d="M238.63,79.5 C238.63,79.5 410.5,79.5 410.5,79.5 C410.5,79.5 410.5,76.84 410.5,73.35 " fill="none" id="InvalidArgumentException-backto-Query\\Exception\\BadDBDriverException" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="238.63,86.5,218.63,79.5,238.63,72.5,238.63,86.5" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[f2e8fdbcfd2eeaf5dfb7a0dfd0cf4020]
|
||||||
|
reverse link InvalidArgumentException to Query\\Exception\\NonExistentConnectionException--><g id="link_InvalidArgumentException_Query\\Exception\\NonExistentConnectionException"><path d="M238.67,95.5 C238.67,95.5 297.5,95.5 297.5,95.5 C297.5,95.5 297.5,101.35 297.5,107.75 " fill="none" id="InvalidArgumentException-backto-Query\\Exception\\NonExistentConnectionException" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="238.67,102.5,218.67,95.5,238.67,88.5,238.67,102.5" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[50e2b656898199a516f6a243815630ed]
|
||||||
|
reverse link BadMethodCallException to Query\\Exception\\NotImplementedException--><g id="link_BadMethodCallException_Query\\Exception\\NotImplementedException"><path d="M235.54,191 C235.54,191 302.47,191 302.47,191 " fill="none" id="BadMethodCallException-backto-Query\\Exception\\NotImplementedException" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="235.54,198,215.54,191,235.54,184,235.54,198" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[2facdd1b4a99133d7874a4bed3e692ce]
|
||||||
|
@startuml
|
||||||
|
skinparam ArrowColor #516f42
|
||||||
|
skinparam activityBorderColor #516f42
|
||||||
|
skinparam activityBackgroundColor #ffffff
|
||||||
|
skinparam activityDiamondBorderColor #516f42
|
||||||
|
skinparam activityDiamondBackgroundColor #ffffff
|
||||||
|
skinparam shadowing false
|
||||||
|
|
||||||
|
skinparam shadowing false
|
||||||
|
skinparam linetype ortho
|
||||||
|
hide empty members
|
||||||
|
left to right direction
|
||||||
|
set namespaceSeparator \\
|
||||||
|
|
||||||
|
|
||||||
|
class \\Query\\ConnectionManager {
|
||||||
|
}
|
||||||
|
|
||||||
|
class \\Query\\QueryBuilder extends \\Query\\QueryBuilderBase implements \\Query\\QueryBuilderInterface {
|
||||||
|
}
|
||||||
|
|
||||||
|
class \\Query\\QueryBuilderBase {
|
||||||
|
}
|
||||||
|
|
||||||
|
class \\Query\\QueryParser {
|
||||||
|
}
|
||||||
|
|
||||||
|
class \\Query\\State {
|
||||||
|
}
|
||||||
|
|
||||||
|
interface \\Query\\QueryBuilderInterface {
|
||||||
|
}
|
||||||
|
|
||||||
|
abstract class \\Query\\Drivers\\AbstractDriver extends \\PDO implements \\Query\\Drivers\\DriverInterface {
|
||||||
|
}
|
||||||
|
|
||||||
|
abstract class \\Query\\Drivers\\AbstractSQL implements \\Query\\Drivers\\SQLInterface {
|
||||||
|
}
|
||||||
|
|
||||||
|
abstract class \\Query\\Drivers\\AbstractUtil {
|
||||||
|
}
|
||||||
|
|
||||||
|
interface \\Query\\Drivers\\DriverInterface {
|
||||||
|
}
|
||||||
|
|
||||||
|
interface \\Query\\Drivers\\SQLInterface {
|
||||||
|
}
|
||||||
|
|
||||||
|
class \\Query\\Drivers\\Mysql\\Driver extends \\Query\\Drivers\\AbstractDriver {
|
||||||
|
}
|
||||||
|
|
||||||
|
class \\Query\\Drivers\\Mysql\\SQL extends \\Query\\Drivers\\AbstractSQL {
|
||||||
|
}
|
||||||
|
|
||||||
|
class \\Query\\Drivers\\Mysql\\Util extends \\Query\\Drivers\\AbstractUtil {
|
||||||
|
}
|
||||||
|
|
||||||
|
class \\Query\\Drivers\\Pgsql\\Driver extends \\Query\\Drivers\\AbstractDriver {
|
||||||
|
}
|
||||||
|
|
||||||
|
class \\Query\\Drivers\\Pgsql\\SQL extends \\Query\\Drivers\\AbstractSQL {
|
||||||
|
}
|
||||||
|
|
||||||
|
class \\Query\\Drivers\\Pgsql\\Util extends \\Query\\Drivers\\AbstractUtil {
|
||||||
|
}
|
||||||
|
|
||||||
|
class \\Query\\Drivers\\Sqlite\\Driver extends \\Query\\Drivers\\AbstractDriver {
|
||||||
|
}
|
||||||
|
|
||||||
|
class \\Query\\Drivers\\Sqlite\\SQL extends \\Query\\Drivers\\AbstractSQL {
|
||||||
|
}
|
||||||
|
|
||||||
|
class \\Query\\Drivers\\Sqlite\\Util extends \\Query\\Drivers\\AbstractUtil {
|
||||||
|
}
|
||||||
|
|
||||||
|
class \\Query\\Exception\\BadDBDriverException extends \\InvalidArgumentException {
|
||||||
|
}
|
||||||
|
|
||||||
|
class \\Query\\Exception\\NonExistentConnectionException extends \\InvalidArgumentException {
|
||||||
|
}
|
||||||
|
|
||||||
|
class \\Query\\Exception\\NotImplementedException extends \\BadMethodCallException {
|
||||||
|
}
|
||||||
|
|
||||||
|
@enduml
|
||||||
|
|
||||||
|
PlantUML version 1.2022.7(Mon Aug 22 13:01:30 EDT 2022)
|
||||||
|
(GPL source distribution)
|
||||||
|
Java Runtime: OpenJDK Runtime Environment
|
||||||
|
JVM: OpenJDK 64-Bit Server VM
|
||||||
|
Default Encoding: UTF-8
|
||||||
|
Language: en
|
||||||
|
Country: US
|
||||||
|
--></g></svg>
|
After Width: | Height: | Size: 43 KiB |
124
apiDocumentation/classes/BadFunctionCallException.html
Normal file
124
apiDocumentation/classes/BadFunctionCallException.html
Normal 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>
|
@ -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::__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>
|
||||||
|
<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">__clone</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>__clone</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code> function __clone()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>void</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>
|
@ -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::__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>
|
||||||
|
<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">__toString</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>__toString</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function __toString()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
@ -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>
|
@ -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::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>
|
||||||
|
<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">getFile</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>getFile</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getFile()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
@ -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::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>
|
||||||
|
<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">getLine</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>getLine</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getLine()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>int</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>
|
@ -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::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>
|
||||||
|
<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">getMessage</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>getMessage</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getMessage()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
@ -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>
|
@ -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::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>
|
||||||
|
<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">getTrace</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>getTrace</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getTrace()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>array</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>
|
@ -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::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>
|
||||||
|
<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">getTraceAsString</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>getTraceAsString</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getTraceAsString()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
124
apiDocumentation/classes/BadMethodCallException.html
Normal file
124
apiDocumentation/classes/BadMethodCallException.html
Normal 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>
|
||||||
|
<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">BadMethodCallException</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>BadMethodCallException</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<h2 id="synopsis">Synopsis</h2>
|
||||||
|
<div class="synopsis">class BadMethodCallException
|
||||||
|
extends <a title="BadFunctionCallException" href="../classes/BadFunctionCallException.html">BadFunctionCallException</a>
|
||||||
|
{<br/><ul class="none"><li>// methods</li><li>public final string <a title="BadMethodCallException" href="../classes/BadMethodCallException/getMessage.html">getMessage</a>()
|
||||||
|
</li><li>public final Throwable <a title="BadMethodCallException" href="../classes/BadMethodCallException/getPrevious.html">getPrevious</a>()
|
||||||
|
</li><li>public final mixed <a title="BadMethodCallException" href="../classes/BadMethodCallException/getCode.html">getCode</a>()
|
||||||
|
</li><li>public final string <a title="BadMethodCallException" href="../classes/BadMethodCallException/getFile.html">getFile</a>()
|
||||||
|
</li><li>public final int <a title="BadMethodCallException" href="../classes/BadMethodCallException/getLine.html">getLine</a>()
|
||||||
|
</li><li>public final array <a title="BadMethodCallException" href="../classes/BadMethodCallException/getTrace.html">getTrace</a>()
|
||||||
|
</li><li>public final string <a title="BadMethodCallException" href="../classes/BadMethodCallException/getTraceAsString.html">getTraceAsString</a>()
|
||||||
|
</li><li>public string <a title="BadMethodCallException" href="../classes/BadMethodCallException/__toString.html">__toString</a>()
|
||||||
|
</li><li> final void <a title="BadMethodCallException" href="../classes/BadMethodCallException/__clone.html">__clone</a>()
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
}<br/></div>
|
||||||
|
<h2 id="hierarchy">Hierarchy</h2>
|
||||||
|
<div class="styled">
|
||||||
|
<h4>Extends</h4>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a title="BadFunctionCallException" href="../classes/BadFunctionCallException.html">BadFunctionCallException</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<h2 id="methods">Methods</h2>
|
||||||
|
<div class="styled">
|
||||||
|
<h4>public</h4>
|
||||||
|
<ul>
|
||||||
|
<li id="__toString">
|
||||||
|
<a title="BadMethodCallException" href="../classes/BadMethodCallException/__toString.html">__toString()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getCode">
|
||||||
|
<a title="BadMethodCallException" href="../classes/BadMethodCallException/getCode.html">getCode()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getFile">
|
||||||
|
<a title="BadMethodCallException" href="../classes/BadMethodCallException/getFile.html">getFile()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getLine">
|
||||||
|
<a title="BadMethodCallException" href="../classes/BadMethodCallException/getLine.html">getLine()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getMessage">
|
||||||
|
<a title="BadMethodCallException" href="../classes/BadMethodCallException/getMessage.html">getMessage()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getPrevious">
|
||||||
|
<a title="BadMethodCallException" href="../classes/BadMethodCallException/getPrevious.html">getPrevious()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getTrace">
|
||||||
|
<a title="BadMethodCallException" href="../classes/BadMethodCallException/getTrace.html">getTrace()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getTraceAsString">
|
||||||
|
<a title="BadMethodCallException" href="../classes/BadMethodCallException/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>
|
84
apiDocumentation/classes/BadMethodCallException/__clone.html
Normal file
84
apiDocumentation/classes/BadMethodCallException/__clone.html
Normal 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 - BadMethodCallException::__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>
|
||||||
|
<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="BadMethodCallException" href="../../classes/BadMethodCallException.html">BadMethodCallException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">__clone</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>BadMethodCallException::</small>__clone</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code> function __clone()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>void</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>
|
@ -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 - BadMethodCallException::__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>
|
||||||
|
<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="BadMethodCallException" href="../../classes/BadMethodCallException.html">BadMethodCallException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">__toString</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>BadMethodCallException::</small>__toString</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function __toString()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
84
apiDocumentation/classes/BadMethodCallException/getCode.html
Normal file
84
apiDocumentation/classes/BadMethodCallException/getCode.html
Normal 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 - BadMethodCallException::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="BadMethodCallException" href="../../classes/BadMethodCallException.html">BadMethodCallException</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>BadMethodCallException::</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>
|
84
apiDocumentation/classes/BadMethodCallException/getFile.html
Normal file
84
apiDocumentation/classes/BadMethodCallException/getFile.html
Normal 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 - BadMethodCallException::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>
|
||||||
|
<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="BadMethodCallException" href="../../classes/BadMethodCallException.html">BadMethodCallException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getFile</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>BadMethodCallException::</small>getFile</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getFile()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
84
apiDocumentation/classes/BadMethodCallException/getLine.html
Normal file
84
apiDocumentation/classes/BadMethodCallException/getLine.html
Normal 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 - BadMethodCallException::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>
|
||||||
|
<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="BadMethodCallException" href="../../classes/BadMethodCallException.html">BadMethodCallException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getLine</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>BadMethodCallException::</small>getLine</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getLine()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>int</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>
|
@ -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 - BadMethodCallException::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>
|
||||||
|
<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="BadMethodCallException" href="../../classes/BadMethodCallException.html">BadMethodCallException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getMessage</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>BadMethodCallException::</small>getMessage</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getMessage()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
@ -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 - BadMethodCallException::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="BadMethodCallException" href="../../classes/BadMethodCallException.html">BadMethodCallException</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>BadMethodCallException::</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>
|
@ -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 - BadMethodCallException::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>
|
||||||
|
<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="BadMethodCallException" href="../../classes/BadMethodCallException.html">BadMethodCallException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getTrace</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>BadMethodCallException::</small>getTrace</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getTrace()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>array</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>
|
@ -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 - BadMethodCallException::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>
|
||||||
|
<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="BadMethodCallException" href="../../classes/BadMethodCallException.html">BadMethodCallException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getTraceAsString</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>BadMethodCallException::</small>getTraceAsString</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getTraceAsString()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
106
apiDocumentation/classes/Exception.html
Normal file
106
apiDocumentation/classes/Exception.html
Normal file
@ -0,0 +1,106 @@
|
|||||||
|
<?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 - Exception</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">Exception</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<nav class="box">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="#introduction">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#synopsis">Synopsis</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#methods">Methods</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<section>
|
||||||
|
<h1 id="introduction"><small>\</small>Exception</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<h2 id="synopsis">Synopsis</h2>
|
||||||
|
<div class="synopsis">class Exception
|
||||||
|
{<br/><ul class="none"><li>// methods</li><li>public void <a title="Exception" href="../classes/Exception/__construct.html">__construct</a>()
|
||||||
|
</li><li>public final string <a title="Exception" href="../classes/Exception/getMessage.html">getMessage</a>()
|
||||||
|
</li><li>public final Throwable <a title="Exception" href="../classes/Exception/getPrevious.html">getPrevious</a>()
|
||||||
|
</li><li>public final mixed <a title="Exception" href="../classes/Exception/getCode.html">getCode</a>()
|
||||||
|
</li><li>public final string <a title="Exception" href="../classes/Exception/getFile.html">getFile</a>()
|
||||||
|
</li><li>public final int <a title="Exception" href="../classes/Exception/getLine.html">getLine</a>()
|
||||||
|
</li><li>public final array <a title="Exception" href="../classes/Exception/getTrace.html">getTrace</a>()
|
||||||
|
</li><li>public final string <a title="Exception" href="../classes/Exception/getTraceAsString.html">getTraceAsString</a>()
|
||||||
|
</li><li>public string <a title="Exception" href="../classes/Exception/__toString.html">__toString</a>()
|
||||||
|
</li><li> final void <a title="Exception" href="../classes/Exception/__clone.html">__clone</a>()
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
}<br/></div>
|
||||||
|
<h2 id="methods">Methods</h2>
|
||||||
|
<div class="styled">
|
||||||
|
<h4>public</h4>
|
||||||
|
<ul>
|
||||||
|
<li id="__construct"><a title="Exception" href="../classes/Exception/__construct.html">__construct()</a>
|
||||||
|
— Construct the exception</li>
|
||||||
|
<li id="__toString"><a title="Exception" href="../classes/Exception/__toString.html">__toString()</a>
|
||||||
|
— String representation of the exception</li>
|
||||||
|
<li id="getCode"><a title="Exception" href="../classes/Exception/getCode.html">getCode()</a>
|
||||||
|
— Gets the Exception code</li>
|
||||||
|
<li id="getFile"><a title="Exception" href="../classes/Exception/getFile.html">getFile()</a>
|
||||||
|
— Gets the file in which the exception was created</li>
|
||||||
|
<li id="getLine"><a title="Exception" href="../classes/Exception/getLine.html">getLine()</a>
|
||||||
|
— Gets the line in which the exception was created</li>
|
||||||
|
<li id="getMessage"><a title="Exception" href="../classes/Exception/getMessage.html">getMessage()</a>
|
||||||
|
— Gets the Exception message</li>
|
||||||
|
<li id="getPrevious"><a title="Exception" href="../classes/Exception/getPrevious.html">getPrevious()</a>
|
||||||
|
— Returns previous Exception</li>
|
||||||
|
<li id="getTrace"><a title="Exception" href="../classes/Exception/getTrace.html">getTrace()</a>
|
||||||
|
— Gets the stack trace</li>
|
||||||
|
<li id="getTraceAsString"><a title="Exception" href="../classes/Exception/getTraceAsString.html">getTraceAsString()</a>
|
||||||
|
— Gets the stack trace as a string</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>
|
84
apiDocumentation/classes/Exception/__clone.html
Normal file
84
apiDocumentation/classes/Exception/__clone.html
Normal 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 - Exception::__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>
|
||||||
|
<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="Exception" href="../../classes/Exception.html">Exception</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">__clone</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>Exception::</small>__clone</h1>
|
||||||
|
<h4>Clone the exception</h4>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code> function __clone()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>void</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>
|
107
apiDocumentation/classes/Exception/__construct.html
Normal file
107
apiDocumentation/classes/Exception/__construct.html
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
<?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 - Exception::__construct</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="Exception" href="../../classes/Exception.html">Exception</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">__construct</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<nav class="box">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="#introduction">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#synopsis">Synopsis</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#parameter">Parameter</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#return">Return</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<section>
|
||||||
|
<h1><small>Exception::</small>__construct</h1>
|
||||||
|
<h4>Construct the exception</h4>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function __construct(string
|
||||||
|
$message,
|
||||||
|
int
|
||||||
|
$code,
|
||||||
|
<a title="" href="../../classes/.html"/>
|
||||||
|
$previous )
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="parameterlist">Parameters</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt><code>$message</code>
|
||||||
|
—
|
||||||
|
string</dt>
|
||||||
|
<dd/>
|
||||||
|
<dt><code>$code</code>
|
||||||
|
—
|
||||||
|
int</dt>
|
||||||
|
<dd/>
|
||||||
|
<dt><code>$previous</code>
|
||||||
|
—
|
||||||
|
<a title="" href="../../classes/.html"/></dt>
|
||||||
|
<dd/>
|
||||||
|
</dl>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>void</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>
|
84
apiDocumentation/classes/Exception/__toString.html
Normal file
84
apiDocumentation/classes/Exception/__toString.html
Normal 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 - Exception::__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>
|
||||||
|
<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="Exception" href="../../classes/Exception.html">Exception</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">__toString</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>Exception::</small>__toString</h1>
|
||||||
|
<h4>String representation of the exception</h4>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function __toString()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
84
apiDocumentation/classes/Exception/getCode.html
Normal file
84
apiDocumentation/classes/Exception/getCode.html
Normal 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 - Exception::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="Exception" href="../../classes/Exception.html">Exception</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>Exception::</small>getCode</h1>
|
||||||
|
<h4>Gets the Exception code</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>
|
84
apiDocumentation/classes/Exception/getFile.html
Normal file
84
apiDocumentation/classes/Exception/getFile.html
Normal 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 - Exception::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>
|
||||||
|
<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="Exception" href="../../classes/Exception.html">Exception</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getFile</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>Exception::</small>getFile</h1>
|
||||||
|
<h4>Gets the file in which the exception was created</h4>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getFile()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
84
apiDocumentation/classes/Exception/getLine.html
Normal file
84
apiDocumentation/classes/Exception/getLine.html
Normal 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 - Exception::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>
|
||||||
|
<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="Exception" href="../../classes/Exception.html">Exception</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getLine</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>Exception::</small>getLine</h1>
|
||||||
|
<h4>Gets the line in which the exception was created</h4>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getLine()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>int</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>
|
84
apiDocumentation/classes/Exception/getMessage.html
Normal file
84
apiDocumentation/classes/Exception/getMessage.html
Normal 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 - Exception::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>
|
||||||
|
<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="Exception" href="../../classes/Exception.html">Exception</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getMessage</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>Exception::</small>getMessage</h1>
|
||||||
|
<h4>Gets the Exception message</h4>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getMessage()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
84
apiDocumentation/classes/Exception/getPrevious.html
Normal file
84
apiDocumentation/classes/Exception/getPrevious.html
Normal 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 - Exception::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="Exception" href="../../classes/Exception.html">Exception</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>Exception::</small>getPrevious</h1>
|
||||||
|
<h4>Returns previous Exception</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>
|
84
apiDocumentation/classes/Exception/getTrace.html
Normal file
84
apiDocumentation/classes/Exception/getTrace.html
Normal 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 - Exception::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>
|
||||||
|
<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="Exception" href="../../classes/Exception.html">Exception</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getTrace</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>Exception::</small>getTrace</h1>
|
||||||
|
<h4>Gets the stack trace</h4>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getTrace()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>array</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>
|
84
apiDocumentation/classes/Exception/getTraceAsString.html
Normal file
84
apiDocumentation/classes/Exception/getTraceAsString.html
Normal 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 - Exception::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>
|
||||||
|
<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="Exception" href="../../classes/Exception.html">Exception</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getTraceAsString</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>Exception::</small>getTraceAsString</h1>
|
||||||
|
<h4>Gets the stack trace as a string</h4>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getTraceAsString()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
124
apiDocumentation/classes/InvalidArgumentException.html
Normal file
124
apiDocumentation/classes/InvalidArgumentException.html
Normal 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 - InvalidArgumentException</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">InvalidArgumentException</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>InvalidArgumentException</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<h2 id="synopsis">Synopsis</h2>
|
||||||
|
<div class="synopsis">class InvalidArgumentException
|
||||||
|
extends <a title="LogicException" href="../classes/LogicException.html">LogicException</a>
|
||||||
|
{<br/><ul class="none"><li>// methods</li><li>public final string <a title="InvalidArgumentException" href="../classes/InvalidArgumentException/getMessage.html">getMessage</a>()
|
||||||
|
</li><li>public final Throwable <a title="InvalidArgumentException" href="../classes/InvalidArgumentException/getPrevious.html">getPrevious</a>()
|
||||||
|
</li><li>public final mixed <a title="InvalidArgumentException" href="../classes/InvalidArgumentException/getCode.html">getCode</a>()
|
||||||
|
</li><li>public final string <a title="InvalidArgumentException" href="../classes/InvalidArgumentException/getFile.html">getFile</a>()
|
||||||
|
</li><li>public final int <a title="InvalidArgumentException" href="../classes/InvalidArgumentException/getLine.html">getLine</a>()
|
||||||
|
</li><li>public final array <a title="InvalidArgumentException" href="../classes/InvalidArgumentException/getTrace.html">getTrace</a>()
|
||||||
|
</li><li>public final string <a title="InvalidArgumentException" href="../classes/InvalidArgumentException/getTraceAsString.html">getTraceAsString</a>()
|
||||||
|
</li><li>public string <a title="InvalidArgumentException" href="../classes/InvalidArgumentException/__toString.html">__toString</a>()
|
||||||
|
</li><li> final void <a title="InvalidArgumentException" href="../classes/InvalidArgumentException/__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="InvalidArgumentException" href="../classes/InvalidArgumentException/__toString.html">__toString()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getCode">
|
||||||
|
<a title="InvalidArgumentException" href="../classes/InvalidArgumentException/getCode.html">getCode()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getFile">
|
||||||
|
<a title="InvalidArgumentException" href="../classes/InvalidArgumentException/getFile.html">getFile()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getLine">
|
||||||
|
<a title="InvalidArgumentException" href="../classes/InvalidArgumentException/getLine.html">getLine()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getMessage">
|
||||||
|
<a title="InvalidArgumentException" href="../classes/InvalidArgumentException/getMessage.html">getMessage()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getPrevious">
|
||||||
|
<a title="InvalidArgumentException" href="../classes/InvalidArgumentException/getPrevious.html">getPrevious()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getTrace">
|
||||||
|
<a title="InvalidArgumentException" href="../classes/InvalidArgumentException/getTrace.html">getTrace()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getTraceAsString">
|
||||||
|
<a title="InvalidArgumentException" href="../classes/InvalidArgumentException/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>
|
@ -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 - InvalidArgumentException::__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>
|
||||||
|
<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="InvalidArgumentException" href="../../classes/InvalidArgumentException.html">InvalidArgumentException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">__clone</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>InvalidArgumentException::</small>__clone</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code> function __clone()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>void</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>
|
@ -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 - InvalidArgumentException::__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>
|
||||||
|
<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="InvalidArgumentException" href="../../classes/InvalidArgumentException.html">InvalidArgumentException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">__toString</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>InvalidArgumentException::</small>__toString</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function __toString()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
@ -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 - InvalidArgumentException::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="InvalidArgumentException" href="../../classes/InvalidArgumentException.html">InvalidArgumentException</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>InvalidArgumentException::</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>
|
@ -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 - InvalidArgumentException::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>
|
||||||
|
<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="InvalidArgumentException" href="../../classes/InvalidArgumentException.html">InvalidArgumentException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getFile</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>InvalidArgumentException::</small>getFile</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getFile()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
@ -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 - InvalidArgumentException::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>
|
||||||
|
<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="InvalidArgumentException" href="../../classes/InvalidArgumentException.html">InvalidArgumentException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getLine</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>InvalidArgumentException::</small>getLine</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getLine()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>int</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>
|
@ -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 - InvalidArgumentException::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>
|
||||||
|
<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="InvalidArgumentException" href="../../classes/InvalidArgumentException.html">InvalidArgumentException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getMessage</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>InvalidArgumentException::</small>getMessage</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getMessage()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
@ -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 - InvalidArgumentException::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="InvalidArgumentException" href="../../classes/InvalidArgumentException.html">InvalidArgumentException</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>InvalidArgumentException::</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>
|
@ -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 - InvalidArgumentException::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>
|
||||||
|
<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="InvalidArgumentException" href="../../classes/InvalidArgumentException.html">InvalidArgumentException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getTrace</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>InvalidArgumentException::</small>getTrace</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getTrace()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>array</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>
|
@ -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 - InvalidArgumentException::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>
|
||||||
|
<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="InvalidArgumentException" href="../../classes/InvalidArgumentException.html">InvalidArgumentException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getTraceAsString</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>InvalidArgumentException::</small>getTraceAsString</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getTraceAsString()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
124
apiDocumentation/classes/LogicException.html
Normal file
124
apiDocumentation/classes/LogicException.html
Normal 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 - LogicException</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">LogicException</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>LogicException</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<h2 id="synopsis">Synopsis</h2>
|
||||||
|
<div class="synopsis">class LogicException
|
||||||
|
extends <a title="Exception" href="../classes/Exception.html">Exception</a>
|
||||||
|
{<br/><ul class="none"><li>// methods</li><li>public final string <a title="LogicException" href="../classes/LogicException/getMessage.html">getMessage</a>()
|
||||||
|
</li><li>public final Throwable <a title="LogicException" href="../classes/LogicException/getPrevious.html">getPrevious</a>()
|
||||||
|
</li><li>public final mixed <a title="LogicException" href="../classes/LogicException/getCode.html">getCode</a>()
|
||||||
|
</li><li>public final string <a title="LogicException" href="../classes/LogicException/getFile.html">getFile</a>()
|
||||||
|
</li><li>public final int <a title="LogicException" href="../classes/LogicException/getLine.html">getLine</a>()
|
||||||
|
</li><li>public final array <a title="LogicException" href="../classes/LogicException/getTrace.html">getTrace</a>()
|
||||||
|
</li><li>public final string <a title="LogicException" href="../classes/LogicException/getTraceAsString.html">getTraceAsString</a>()
|
||||||
|
</li><li>public string <a title="LogicException" href="../classes/LogicException/__toString.html">__toString</a>()
|
||||||
|
</li><li> final void <a title="LogicException" href="../classes/LogicException/__clone.html">__clone</a>()
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
}<br/></div>
|
||||||
|
<h2 id="hierarchy">Hierarchy</h2>
|
||||||
|
<div class="styled">
|
||||||
|
<h4>Extends</h4>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a title="Exception" href="../classes/Exception.html">Exception</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<h2 id="methods">Methods</h2>
|
||||||
|
<div class="styled">
|
||||||
|
<h4>public</h4>
|
||||||
|
<ul>
|
||||||
|
<li id="__toString">
|
||||||
|
<a title="LogicException" href="../classes/LogicException/__toString.html">__toString()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getCode">
|
||||||
|
<a title="LogicException" href="../classes/LogicException/getCode.html">getCode()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getFile">
|
||||||
|
<a title="LogicException" href="../classes/LogicException/getFile.html">getFile()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getLine">
|
||||||
|
<a title="LogicException" href="../classes/LogicException/getLine.html">getLine()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getMessage">
|
||||||
|
<a title="LogicException" href="../classes/LogicException/getMessage.html">getMessage()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getPrevious">
|
||||||
|
<a title="LogicException" href="../classes/LogicException/getPrevious.html">getPrevious()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getTrace">
|
||||||
|
<a title="LogicException" href="../classes/LogicException/getTrace.html">getTrace()</a>
|
||||||
|
</li>
|
||||||
|
<li id="getTraceAsString">
|
||||||
|
<a title="LogicException" href="../classes/LogicException/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>
|
84
apiDocumentation/classes/LogicException/__clone.html
Normal file
84
apiDocumentation/classes/LogicException/__clone.html
Normal 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 - LogicException::__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>
|
||||||
|
<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="LogicException" href="../../classes/LogicException.html">LogicException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">__clone</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>LogicException::</small>__clone</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code> function __clone()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>void</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>
|
84
apiDocumentation/classes/LogicException/__toString.html
Normal file
84
apiDocumentation/classes/LogicException/__toString.html
Normal 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 - LogicException::__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>
|
||||||
|
<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="LogicException" href="../../classes/LogicException.html">LogicException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">__toString</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>LogicException::</small>__toString</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function __toString()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
84
apiDocumentation/classes/LogicException/getCode.html
Normal file
84
apiDocumentation/classes/LogicException/getCode.html
Normal 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 - LogicException::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="LogicException" href="../../classes/LogicException.html">LogicException</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>LogicException::</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>
|
84
apiDocumentation/classes/LogicException/getFile.html
Normal file
84
apiDocumentation/classes/LogicException/getFile.html
Normal 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 - LogicException::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>
|
||||||
|
<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="LogicException" href="../../classes/LogicException.html">LogicException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getFile</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>LogicException::</small>getFile</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getFile()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
84
apiDocumentation/classes/LogicException/getLine.html
Normal file
84
apiDocumentation/classes/LogicException/getLine.html
Normal 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 - LogicException::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>
|
||||||
|
<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="LogicException" href="../../classes/LogicException.html">LogicException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getLine</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>LogicException::</small>getLine</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getLine()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>int</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>
|
84
apiDocumentation/classes/LogicException/getMessage.html
Normal file
84
apiDocumentation/classes/LogicException/getMessage.html
Normal 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 - LogicException::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>
|
||||||
|
<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="LogicException" href="../../classes/LogicException.html">LogicException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getMessage</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>LogicException::</small>getMessage</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getMessage()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
84
apiDocumentation/classes/LogicException/getPrevious.html
Normal file
84
apiDocumentation/classes/LogicException/getPrevious.html
Normal 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 - LogicException::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="LogicException" href="../../classes/LogicException.html">LogicException</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>LogicException::</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>
|
84
apiDocumentation/classes/LogicException/getTrace.html
Normal file
84
apiDocumentation/classes/LogicException/getTrace.html
Normal 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 - LogicException::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>
|
||||||
|
<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="LogicException" href="../../classes/LogicException.html">LogicException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getTrace</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>LogicException::</small>getTrace</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getTrace()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>array</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>
|
@ -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 - LogicException::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>
|
||||||
|
<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="LogicException" href="../../classes/LogicException.html">LogicException</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getTraceAsString</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>LogicException::</small>getTraceAsString</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getTraceAsString()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
153
apiDocumentation/classes/PDO.html
Normal file
153
apiDocumentation/classes/PDO.html
Normal file
@ -0,0 +1,153 @@
|
|||||||
|
<?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 - PDO</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">PDO</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<nav class="box">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="#introduction">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#synopsis">Synopsis</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#methods">Methods</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<section>
|
||||||
|
<h1 id="introduction"><small>\</small>PDO</h1>
|
||||||
|
<h4/>
|
||||||
|
<p/>
|
||||||
|
<h2 id="synopsis">Synopsis</h2>
|
||||||
|
<div class="synopsis">class PDO
|
||||||
|
{<br/><ul class="none"><li>// methods</li><li>public void <a title="PDO" href="../classes/PDO/__construct.html">__construct</a>()
|
||||||
|
</li><li>public bool <a title="PDO" href="../classes/PDO/beginTransaction.html">beginTransaction</a>()
|
||||||
|
</li><li>public bool <a title="PDO" href="../classes/PDO/commit.html">commit</a>()
|
||||||
|
</li><li>public string <a title="PDO" href="../classes/PDO/errorCode.html">errorCode</a>()
|
||||||
|
</li><li>public array <a title="PDO" href="../classes/PDO/errorInfo.html">errorInfo</a>()
|
||||||
|
</li><li>public int <a title="PDO" href="../classes/PDO/exec.html">exec</a>()
|
||||||
|
</li><li>public mixed <a title="PDO" href="../classes/PDO/getAttribute.html">getAttribute</a>()
|
||||||
|
</li><li>public array <a title="PDO" href="../classes/PDO/getAvailableDrivers.html">getAvailableDrivers</a>()
|
||||||
|
</li><li>public bool <a title="PDO" href="../classes/PDO/inTransaction.html">inTransaction</a>()
|
||||||
|
</li><li>public string <a title="PDO" href="../classes/PDO/lastInsertId.html">lastInsertId</a>()
|
||||||
|
</li><li>public PDOStatement <a title="PDO" href="../classes/PDO/prepare.html">prepare</a>()
|
||||||
|
</li><li>public PDOStatement <a title="PDO" href="../classes/PDO/query.html">query</a>()
|
||||||
|
</li><li>public string <a title="PDO" href="../classes/PDO/quote.html">quote</a>()
|
||||||
|
</li><li>public bool <a title="PDO" href="../classes/PDO/rollBack.html">rollBack</a>()
|
||||||
|
</li><li>public bool <a title="PDO" href="../classes/PDO/setAttribute.html">setAttribute</a>()
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
}<br/></div>
|
||||||
|
<h2 id="methods">Methods</h2>
|
||||||
|
<div class="styled">
|
||||||
|
<h4>public</h4>
|
||||||
|
<ul>
|
||||||
|
<li id="__construct"><a title="PDO" href="../classes/PDO/__construct.html">__construct()</a>
|
||||||
|
—
|
||||||
|
Creates a PDO instance representing a connection to a database
|
||||||
|
</li>
|
||||||
|
<li id="beginTransaction"><a title="PDO" href="../classes/PDO/beginTransaction.html">beginTransaction()</a>
|
||||||
|
—
|
||||||
|
Initiates a transaction
|
||||||
|
</li>
|
||||||
|
<li id="commit"><a title="PDO" href="../classes/PDO/commit.html">commit()</a>
|
||||||
|
—
|
||||||
|
Commits a transaction
|
||||||
|
</li>
|
||||||
|
<li id="errorCode"><a title="PDO" href="../classes/PDO/errorCode.html">errorCode()</a>
|
||||||
|
—
|
||||||
|
Fetch the SQLSTATE associated with the last operation on the database handle
|
||||||
|
</li>
|
||||||
|
<li id="errorInfo"><a title="PDO" href="../classes/PDO/errorInfo.html">errorInfo()</a>
|
||||||
|
—
|
||||||
|
Fetch extended error information associated with the last operation on the database handle
|
||||||
|
</li>
|
||||||
|
<li id="exec"><a title="PDO" href="../classes/PDO/exec.html">exec()</a>
|
||||||
|
—
|
||||||
|
Execute an SQL statement and return the number of affected rows
|
||||||
|
</li>
|
||||||
|
<li id="getAttribute"><a title="PDO" href="../classes/PDO/getAttribute.html">getAttribute()</a>
|
||||||
|
—
|
||||||
|
Retrieve a database connection attribute
|
||||||
|
</li>
|
||||||
|
<li id="getAvailableDrivers"><a title="PDO" href="../classes/PDO/getAvailableDrivers.html">getAvailableDrivers()</a>
|
||||||
|
—
|
||||||
|
Return an array of available PDO drivers
|
||||||
|
</li>
|
||||||
|
<li id="inTransaction"><a title="PDO" href="../classes/PDO/inTransaction.html">inTransaction()</a>
|
||||||
|
—
|
||||||
|
Checks if inside a transaction
|
||||||
|
</li>
|
||||||
|
<li id="lastInsertId"><a title="PDO" href="../classes/PDO/lastInsertId.html">lastInsertId()</a>
|
||||||
|
—
|
||||||
|
Returns the ID of the last inserted row or sequence value
|
||||||
|
</li>
|
||||||
|
<li id="prepare"><a title="PDO" href="../classes/PDO/prepare.html">prepare()</a>
|
||||||
|
—
|
||||||
|
Prepares a statement for execution and returns a statement object
|
||||||
|
</li>
|
||||||
|
<li id="query"><a title="PDO" href="../classes/PDO/query.html">query()</a>
|
||||||
|
—
|
||||||
|
Executes an SQL statement, returning a result set as a PDOStatement object
|
||||||
|
</li>
|
||||||
|
<li id="quote"><a title="PDO" href="../classes/PDO/quote.html">quote()</a>
|
||||||
|
—
|
||||||
|
Quotes a string for use in a query
|
||||||
|
</li>
|
||||||
|
<li id="rollBack"><a title="PDO" href="../classes/PDO/rollBack.html">rollBack()</a>
|
||||||
|
—
|
||||||
|
Rolls back a transaction
|
||||||
|
</li>
|
||||||
|
<li id="setAttribute"><a title="PDO" href="../classes/PDO/setAttribute.html">setAttribute()</a>
|
||||||
|
—
|
||||||
|
Set an attribute
|
||||||
|
</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>
|
115
apiDocumentation/classes/PDO/__construct.html
Normal file
115
apiDocumentation/classes/PDO/__construct.html
Normal file
@ -0,0 +1,115 @@
|
|||||||
|
<?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 - PDO::__construct</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="PDO" href="../../classes/PDO.html">PDO</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">__construct</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<nav class="box">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="#introduction">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#synopsis">Synopsis</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#parameter">Parameter</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#return">Return</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<section>
|
||||||
|
<h1><small>PDO::</small>__construct</h1>
|
||||||
|
<h4>
|
||||||
|
Creates a PDO instance representing a connection to a database
|
||||||
|
</h4>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function __construct(string
|
||||||
|
$dsn,
|
||||||
|
string
|
||||||
|
$username,
|
||||||
|
string
|
||||||
|
$passwd,
|
||||||
|
<a title="" href="../../classes/.html"/>
|
||||||
|
$options )
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="parameterlist">Parameters</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt><code>$dsn</code>
|
||||||
|
—
|
||||||
|
string</dt>
|
||||||
|
<dd/>
|
||||||
|
<dt><code>$username</code>
|
||||||
|
—
|
||||||
|
string</dt>
|
||||||
|
<dd/>
|
||||||
|
<dt><code>$passwd</code>
|
||||||
|
—
|
||||||
|
string</dt>
|
||||||
|
<dd/>
|
||||||
|
<dt><code>$options</code>
|
||||||
|
—
|
||||||
|
<a title="" href="../../classes/.html"/></dt>
|
||||||
|
<dd/>
|
||||||
|
</dl>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>void</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>
|
86
apiDocumentation/classes/PDO/beginTransaction.html
Normal file
86
apiDocumentation/classes/PDO/beginTransaction.html
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
<?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 - PDO::beginTransaction</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="PDO" href="../../classes/PDO.html">PDO</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">beginTransaction</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>PDO::</small>beginTransaction</h1>
|
||||||
|
<h4>
|
||||||
|
Initiates a transaction
|
||||||
|
</h4>
|
||||||
|
<p>Turns off autocommit mode. While autocommit mode is turned off, changes made to the database via the PDO object instance are not committed until you end the transaction by calling PDO::commit. Calling PDO::rollBack will roll back all changes to the database and return the connection to autocommit mode.</p>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function beginTransaction()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>bool</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>
|
86
apiDocumentation/classes/PDO/commit.html
Normal file
86
apiDocumentation/classes/PDO/commit.html
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
<?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 - PDO::commit</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="PDO" href="../../classes/PDO.html">PDO</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">commit</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>PDO::</small>commit</h1>
|
||||||
|
<h4>
|
||||||
|
Commits a transaction
|
||||||
|
</h4>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function commit()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>bool</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>
|
86
apiDocumentation/classes/PDO/errorCode.html
Normal file
86
apiDocumentation/classes/PDO/errorCode.html
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
<?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 - PDO::errorCode</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="PDO" href="../../classes/PDO.html">PDO</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">errorCode</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>PDO::</small>errorCode</h1>
|
||||||
|
<h4>
|
||||||
|
Fetch the SQLSTATE associated with the last operation on the database handle
|
||||||
|
</h4>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function errorCode()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
86
apiDocumentation/classes/PDO/errorInfo.html
Normal file
86
apiDocumentation/classes/PDO/errorInfo.html
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
<?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 - PDO::errorInfo</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="PDO" href="../../classes/PDO.html">PDO</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">errorInfo</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>PDO::</small>errorInfo</h1>
|
||||||
|
<h4>
|
||||||
|
Fetch extended error information associated with the last operation on the database handle
|
||||||
|
</h4>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function errorInfo()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>array</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>
|
97
apiDocumentation/classes/PDO/exec.html
Normal file
97
apiDocumentation/classes/PDO/exec.html
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
<?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 - PDO::exec</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="PDO" href="../../classes/PDO.html">PDO</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">exec</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<nav class="box">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="#introduction">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#synopsis">Synopsis</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#parameter">Parameter</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#return">Return</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<section>
|
||||||
|
<h1><small>PDO::</small>exec</h1>
|
||||||
|
<h4>
|
||||||
|
Execute an SQL statement and return the number of affected rows
|
||||||
|
</h4>
|
||||||
|
<p>PDO::exec executes an SQL statement in a single function call, returning the number of rows affected by the statement.</p>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function exec(string
|
||||||
|
$statement )
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="parameterlist">Parameters</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt><code>$statement</code>
|
||||||
|
—
|
||||||
|
string</dt>
|
||||||
|
<dd/>
|
||||||
|
</dl>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>int</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>
|
97
apiDocumentation/classes/PDO/getAttribute.html
Normal file
97
apiDocumentation/classes/PDO/getAttribute.html
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
<?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 - PDO::getAttribute</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="PDO" href="../../classes/PDO.html">PDO</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getAttribute</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<nav class="box">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="#introduction">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#synopsis">Synopsis</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#parameter">Parameter</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#return">Return</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<section>
|
||||||
|
<h1><small>PDO::</small>getAttribute</h1>
|
||||||
|
<h4>
|
||||||
|
Retrieve a database connection attribute
|
||||||
|
</h4>
|
||||||
|
<p>This function returns the value of a database connection attribute. To retrieve PDOStatement attributes, refer to PDOStatement::getAttribute.</p>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getAttribute(int
|
||||||
|
$attribute )
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="parameterlist">Parameters</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt><code>$attribute</code>
|
||||||
|
—
|
||||||
|
int</dt>
|
||||||
|
<dd/>
|
||||||
|
</dl>
|
||||||
|
<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>
|
86
apiDocumentation/classes/PDO/getAvailableDrivers.html
Normal file
86
apiDocumentation/classes/PDO/getAvailableDrivers.html
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
<?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 - PDO::getAvailableDrivers</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="PDO" href="../../classes/PDO.html">PDO</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">getAvailableDrivers</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>PDO::</small>getAvailableDrivers</h1>
|
||||||
|
<h4>
|
||||||
|
Return an array of available PDO drivers
|
||||||
|
</h4>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function getAvailableDrivers()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>array</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>
|
86
apiDocumentation/classes/PDO/inTransaction.html
Normal file
86
apiDocumentation/classes/PDO/inTransaction.html
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
<?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 - PDO::inTransaction</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="PDO" href="../../classes/PDO.html">PDO</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">inTransaction</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>PDO::</small>inTransaction</h1>
|
||||||
|
<h4>
|
||||||
|
Checks if inside a transaction
|
||||||
|
</h4>
|
||||||
|
<p/>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function inTransaction()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>bool</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>
|
97
apiDocumentation/classes/PDO/lastInsertId.html
Normal file
97
apiDocumentation/classes/PDO/lastInsertId.html
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
<?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 - PDO::lastInsertId</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="PDO" href="../../classes/PDO.html">PDO</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">lastInsertId</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<nav class="box">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="#introduction">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#synopsis">Synopsis</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#parameter">Parameter</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#return">Return</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<section>
|
||||||
|
<h1><small>PDO::</small>lastInsertId</h1>
|
||||||
|
<h4>
|
||||||
|
Returns the ID of the last inserted row or sequence value
|
||||||
|
</h4>
|
||||||
|
<p>Returns the ID of the last inserted row, or the last value from a sequence object, depending on the underlying driver. For example, PDO_PGSQL requires you to specify the name of a sequence object for the name parameter.</p>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function lastInsertId(string
|
||||||
|
$name )
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="parameterlist">Parameters</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt><code>$name</code>
|
||||||
|
—
|
||||||
|
string</dt>
|
||||||
|
<dd/>
|
||||||
|
</dl>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
103
apiDocumentation/classes/PDO/prepare.html
Normal file
103
apiDocumentation/classes/PDO/prepare.html
Normal file
@ -0,0 +1,103 @@
|
|||||||
|
<?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 - PDO::prepare</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="PDO" href="../../classes/PDO.html">PDO</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">prepare</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<nav class="box">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="#introduction">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#synopsis">Synopsis</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#parameter">Parameter</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#return">Return</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<section>
|
||||||
|
<h1><small>PDO::</small>prepare</h1>
|
||||||
|
<h4>
|
||||||
|
Prepares a statement for execution and returns a statement object
|
||||||
|
</h4>
|
||||||
|
<p>Prepares an SQL statement to be executed by the PDOStatement::execute method. The statement template can contain zero or more named (:name) or question mark (?) parameter markers for which real values will be substituted when the statement is executed. Both named and question mark parameter markers cannot be used within the same statement template; only one or the other parameter style. Use these parameters to bind any user-input, do not include the user-input directly in the query.</p>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function prepare(string
|
||||||
|
$statement,
|
||||||
|
<a title="" href="../../classes/.html"/>
|
||||||
|
$driver_options )
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="parameterlist">Parameters</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt><code>$statement</code>
|
||||||
|
—
|
||||||
|
string</dt>
|
||||||
|
<dd/>
|
||||||
|
<dt><code>$driver_options</code>
|
||||||
|
—
|
||||||
|
<a title="" href="../../classes/.html"/></dt>
|
||||||
|
<dd/>
|
||||||
|
</dl>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>PDOStatement</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>
|
97
apiDocumentation/classes/PDO/query.html
Normal file
97
apiDocumentation/classes/PDO/query.html
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
<?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 - PDO::query</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="PDO" href="../../classes/PDO.html">PDO</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">query</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<nav class="box">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="#introduction">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#synopsis">Synopsis</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#parameter">Parameter</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#return">Return</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<section>
|
||||||
|
<h1><small>PDO::</small>query</h1>
|
||||||
|
<h4>
|
||||||
|
Executes an SQL statement, returning a result set as a PDOStatement object
|
||||||
|
</h4>
|
||||||
|
<p>PDO::query executes an SQL statement in a single function call, returning the result set (if any) returned by the statement as a PDOStatement object.</p>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function query(string
|
||||||
|
$statement )
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="parameterlist">Parameters</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt><code>$statement</code>
|
||||||
|
—
|
||||||
|
string</dt>
|
||||||
|
<dd/>
|
||||||
|
</dl>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>PDOStatement</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>
|
103
apiDocumentation/classes/PDO/quote.html
Normal file
103
apiDocumentation/classes/PDO/quote.html
Normal file
@ -0,0 +1,103 @@
|
|||||||
|
<?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 - PDO::quote</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="PDO" href="../../classes/PDO.html">PDO</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">quote</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<nav class="box">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="#introduction">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#synopsis">Synopsis</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#parameter">Parameter</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#return">Return</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<section>
|
||||||
|
<h1><small>PDO::</small>quote</h1>
|
||||||
|
<h4>
|
||||||
|
Quotes a string for use in a query
|
||||||
|
</h4>
|
||||||
|
<p>PDO::quote places quotes around the input string (if required) and escapes special characters within the input string, using a quoting style appropriate to the underlying driver.</p>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function quote(string
|
||||||
|
$string,
|
||||||
|
int
|
||||||
|
$parameter_type )
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="parameterlist">Parameters</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt><code>$string</code>
|
||||||
|
—
|
||||||
|
string</dt>
|
||||||
|
<dd/>
|
||||||
|
<dt><code>$parameter_type</code>
|
||||||
|
—
|
||||||
|
int</dt>
|
||||||
|
<dd/>
|
||||||
|
</dl>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>string</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>
|
86
apiDocumentation/classes/PDO/rollBack.html
Normal file
86
apiDocumentation/classes/PDO/rollBack.html
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
<?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 - PDO::rollBack</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="PDO" href="../../classes/PDO.html">PDO</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">rollBack</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>PDO::</small>rollBack</h1>
|
||||||
|
<h4>
|
||||||
|
Rolls back a transaction
|
||||||
|
</h4>
|
||||||
|
<p>Rolls back the current transaction, as initiated by PDO::beginTransaction.</p>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function rollBack()
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>bool</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>
|
103
apiDocumentation/classes/PDO/setAttribute.html
Normal file
103
apiDocumentation/classes/PDO/setAttribute.html
Normal file
@ -0,0 +1,103 @@
|
|||||||
|
<?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 - PDO::setAttribute</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="PDO" href="../../classes/PDO.html">PDO</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">setAttribute</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<nav class="box">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="#introduction">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#synopsis">Synopsis</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#parameter">Parameter</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#return">Return</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<section>
|
||||||
|
<h1><small>PDO::</small>setAttribute</h1>
|
||||||
|
<h4>
|
||||||
|
Set an attribute
|
||||||
|
</h4>
|
||||||
|
<p>Sets an attribute on the database handle. Some of the available generic attributes are listed below; some drivers may make use of additional driver specific attributes. PDO::ATTR_CASE: Force column names to a specific case. PDO::CASE_LOWER: Force column names to lower case. PDO::CASE_NATURAL: Leave column names as returned by the database driver. PDO::CASE_UPPER: Force column names to upper case. PDO::ATTR_ERRMODE: Error reporting. PDO::ERRMODE_SILENT: Just set error codes. PDO::ERRMODE_WARNING: Raise E_WARNING. PDO::ERRMODE_EXCEPTION: Throw exceptions. PDO::ATTR_ORACLE_NULLS (available with all drivers, not just Oracle): Conversion of NULL and empty strings. PDO::NULL_NATURAL: No conversion. PDO::NULL_EMPTY_STRING: Empty string is converted to NULL. PDO::NULL_TO_STRING: NULL is converted to an empty string. PDO::ATTR_STRINGIFY_FETCHES: Convert numeric values to strings when fetching. Requires bool. PDO::ATTR_STATEMENT_CLASS: Set user-supplied statement class derived from PDOStatement. Cannot be used with persistent PDO instances. Requires array(string classname, array(mixed constructor_args)). PDO::ATTR_TIMEOUT: Specifies the timeout duration in seconds. Not all drivers support this option, and its meaning may differ from driver to driver. For example, sqlite will wait for up to this time value before giving up on obtaining an writable lock, but other drivers may interpret this as a connect or a read timeout interval. Requires int. PDO::ATTR_AUTOCOMMIT (available in OCI, Firebird and MySQL): Whether to autocommit every single statement. PDO::ATTR_EMULATE_PREPARES Enables or disables emulation of prepared statements. Some drivers do not support native prepared statements or have limited support for them. Use this setting to force PDO to either always emulate prepared statements (if TRUE and emulated prepares are supported by the driver), or to try to use native prepared statements (if FALSE). It will always fall back to emulating the prepared statement if the driver cannot successfully prepare the current query. Requires bool. PDO::MYSQL_ATTR_USE_BUFFERED_QUERY (available in MySQL): Use buffered queries. PDO::ATTR_DEFAULT_FETCH_MODE: Set default fetch mode. Description of modes is available in PDOStatement::fetch documentation.</p>
|
||||||
|
<ul/>
|
||||||
|
<h2 id="signature">Signature</h2>
|
||||||
|
<div class="styled synopsis">
|
||||||
|
<code>public function setAttribute(int
|
||||||
|
$attribute,
|
||||||
|
<a title="" href="../../classes/.html"/>
|
||||||
|
$value )
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
<h2 id="parameterlist">Parameters</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt><code>$attribute</code>
|
||||||
|
—
|
||||||
|
int</dt>
|
||||||
|
<dd/>
|
||||||
|
<dt><code>$value</code>
|
||||||
|
—
|
||||||
|
<a title="" href="../../classes/.html"/></dt>
|
||||||
|
<dd/>
|
||||||
|
</dl>
|
||||||
|
<h2 id="return">Returns</h2>
|
||||||
|
<dl class="styled">
|
||||||
|
<dt>bool</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>
|
657
apiDocumentation/classes/Query-ConnectionManager.html
Normal file
657
apiDocumentation/classes/Query-ConnectionManager.html
Normal file
@ -0,0 +1,657 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
||||||
|
<a href="namespaces/query.html" class="">Query</a>
|
||||||
|
</h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li>
|
||||||
|
<a href="namespaces/query-drivers.html" class="">Drivers</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="namespaces/query-exception.html" class="">Exception</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
||||||
|
<a href="packages/Query.html" class="">Query</a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="graphs/classes.html">Class Diagram</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/query.html">Query</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -class">
|
||||||
|
<h2 class="phpdocumentor-content__title">
|
||||||
|
ConnectionManager
|
||||||
|
|
||||||
|
|
||||||
|
<div class="phpdocumentor-element__package">
|
||||||
|
in package
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="packages/Query.html">Query</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/ConnectionManager.php"><a href="files/src-connectionmanager.html"><abbr title="src/ConnectionManager.php">ConnectionManager.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">28</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-ConnectionManager.html#source-view.28" class="phpdocumentor-element-found-in__source" data-line="28" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Connection manager class to manage connections for the
|
||||||
|
Query method</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="toc">
|
||||||
|
Table of Contents
|
||||||
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-ConnectionManager.html#method___clone">__clone()</a>
|
||||||
|
<span>
|
||||||
|
: void </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Private clone method to prevent cloning</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-ConnectionManager.html#method___sleep">__sleep()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Prevent serialization of this object</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-ConnectionManager.html#method___wakeup">__wakeup()</a>
|
||||||
|
<span>
|
||||||
|
: void </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Make sure serialize/deserialize doesn't work</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-ConnectionManager.html#method_connect">connect()</a>
|
||||||
|
<span>
|
||||||
|
: <a href="classes/Query-QueryBuilderInterface.html"><abbr title="\Query\QueryBuilderInterface">QueryBuilderInterface</abbr></a> </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Parse the passed parameters and return a connection</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-ConnectionManager.html#method_getConnection">getConnection()</a>
|
||||||
|
<span>
|
||||||
|
: <a href="classes/Query-QueryBuilderInterface.html"><abbr title="\Query\QueryBuilderInterface">QueryBuilderInterface</abbr></a> </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Returns the connection specified by the name given</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-ConnectionManager.html#method_getInstance">getInstance()</a>
|
||||||
|
<span>
|
||||||
|
: <a href="classes/Query-ConnectionManager.html"><abbr title="\Query\ConnectionManager">ConnectionManager</abbr></a> </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Return a connection manager instance</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-ConnectionManager.html#method_parseParams">parseParams()</a>
|
||||||
|
<span>
|
||||||
|
: array<string|int, mixed> </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Parses params into a dsn and option array</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-methods">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
||||||
|
Methods
|
||||||
|
<a href="classes/Query-ConnectionManager.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method___clone">
|
||||||
|
__clone()
|
||||||
|
<a href="classes/Query-ConnectionManager.html#method___clone" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/ConnectionManager.php"><a href="files/src-connectionmanager.html"><abbr title="src/ConnectionManager.php">ConnectionManager.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">54</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-ConnectionManager.html#source-view.54" class="phpdocumentor-element-found-in__source" data-line="54" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Private clone method to prevent cloning</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">__clone</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||||
|
Tags
|
||||||
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h5>
|
||||||
|
<dl class="phpdocumentor-tag-list">
|
||||||
|
<dt class="phpdocumentor-tag-list__entry">
|
||||||
|
<span class="phpdocumentor-tag__name">throws</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-tag-list__definition">
|
||||||
|
<span class="phpdocumentor-tag-link"><abbr title="\DomainException">DomainException</abbr></span>
|
||||||
|
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">void</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method___sleep">
|
||||||
|
__sleep()
|
||||||
|
<a href="classes/Query-ConnectionManager.html#method___sleep" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/ConnectionManager.php"><a href="files/src-connectionmanager.html"><abbr title="src/ConnectionManager.php">ConnectionManager.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">64</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-ConnectionManager.html#source-view.64" class="phpdocumentor-element-found-in__source" data-line="64" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Prevent serialization of this object</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">__sleep</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||||
|
Tags
|
||||||
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h5>
|
||||||
|
<dl class="phpdocumentor-tag-list">
|
||||||
|
<dt class="phpdocumentor-tag-list__entry">
|
||||||
|
<span class="phpdocumentor-tag__name">throws</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-tag-list__definition">
|
||||||
|
<span class="phpdocumentor-tag-link"><abbr title="\DomainException">DomainException</abbr></span>
|
||||||
|
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method___wakeup">
|
||||||
|
__wakeup()
|
||||||
|
<a href="classes/Query-ConnectionManager.html#method___wakeup" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/ConnectionManager.php"><a href="files/src-connectionmanager.html"><abbr title="src/ConnectionManager.php">ConnectionManager.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">74</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-ConnectionManager.html#source-view.74" class="phpdocumentor-element-found-in__source" data-line="74" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Make sure serialize/deserialize doesn't work</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">__wakeup</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||||
|
Tags
|
||||||
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h5>
|
||||||
|
<dl class="phpdocumentor-tag-list">
|
||||||
|
<dt class="phpdocumentor-tag-list__entry">
|
||||||
|
<span class="phpdocumentor-tag__name">throws</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-tag-list__definition">
|
||||||
|
<span class="phpdocumentor-tag-link"><abbr title="\DomainException">DomainException</abbr></span>
|
||||||
|
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">void</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_connect">
|
||||||
|
connect()
|
||||||
|
<a href="classes/Query-ConnectionManager.html#method_connect" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/ConnectionManager.php"><a href="files/src-connectionmanager.html"><abbr title="src/ConnectionManager.php">ConnectionManager.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">119</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-ConnectionManager.html#source-view.119" class="phpdocumentor-element-found-in__source" data-line="119" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Parse the passed parameters and return a connection</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">connect</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed>|object </span><span class="phpdocumentor-signature__argument__name">$params</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Query-QueryBuilderInterface.html"><abbr title="\Query\QueryBuilderInterface">QueryBuilderInterface</abbr></a></span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$params</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed>|object</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Query-QueryBuilderInterface.html"><abbr title="\Query\QueryBuilderInterface">QueryBuilderInterface</abbr></a></span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_getConnection">
|
||||||
|
getConnection()
|
||||||
|
<a href="classes/Query-ConnectionManager.html#method_getConnection" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/ConnectionManager.php"><a href="files/src-connectionmanager.html"><abbr title="src/ConnectionManager.php">ConnectionManager.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">99</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-ConnectionManager.html#source-view.99" class="phpdocumentor-element-found-in__source" data-line="99" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Returns the connection specified by the name given</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">getConnection</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$name</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Query-QueryBuilderInterface.html"><abbr title="\Query\QueryBuilderInterface">QueryBuilderInterface</abbr></a></span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$name</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||||
|
Tags
|
||||||
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h5>
|
||||||
|
<dl class="phpdocumentor-tag-list">
|
||||||
|
<dt class="phpdocumentor-tag-list__entry">
|
||||||
|
<span class="phpdocumentor-tag__name">throws</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-tag-list__definition">
|
||||||
|
<span class="phpdocumentor-tag-link"><a href="classes/Query-Exception-NonExistentConnectionException.html"><abbr title="\Query\Exception\NonExistentConnectionException">NonExistentConnectionException</abbr></a></span>
|
||||||
|
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Query-QueryBuilderInterface.html"><abbr title="\Query\QueryBuilderInterface">QueryBuilderInterface</abbr></a></span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
-static "
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_getInstance">
|
||||||
|
getInstance()
|
||||||
|
<a href="classes/Query-ConnectionManager.html#method_getInstance" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/ConnectionManager.php"><a href="files/src-connectionmanager.html"><abbr title="src/ConnectionManager.php">ConnectionManager.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">84</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-ConnectionManager.html#source-view.84" class="phpdocumentor-element-found-in__source" data-line="84" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Return a connection manager instance</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getInstance</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Query-ConnectionManager.html"><abbr title="\Query\ConnectionManager">ConnectionManager</abbr></a></span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||||
|
Tags
|
||||||
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h5>
|
||||||
|
<dl class="phpdocumentor-tag-list">
|
||||||
|
<dt class="phpdocumentor-tag-list__entry">
|
||||||
|
<span class="phpdocumentor-tag__name">staticvar</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-tag-list__definition">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"><p>null $instance</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Query-ConnectionManager.html"><abbr title="\Query\ConnectionManager">ConnectionManager</abbr></a></span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_parseParams">
|
||||||
|
parseParams()
|
||||||
|
<a href="classes/Query-ConnectionManager.html#method_parseParams" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/ConnectionManager.php"><a href="files/src-connectionmanager.html"><abbr title="src/ConnectionManager.php">ConnectionManager.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">158</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-ConnectionManager.html#source-view.158" class="phpdocumentor-element-found-in__source" data-line="158" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Parses params into a dsn and option array</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">parseParams</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed>|object </span><span class="phpdocumentor-signature__argument__name">$rawParams</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$rawParams</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed>|object</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||||
|
Tags
|
||||||
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h5>
|
||||||
|
<dl class="phpdocumentor-tag-list">
|
||||||
|
<dt class="phpdocumentor-tag-list__entry">
|
||||||
|
<span class="phpdocumentor-tag__name">throws</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-tag-list__definition">
|
||||||
|
<span class="phpdocumentor-tag-link"><a href="classes/Query-Exception-BadDBDriverException.html"><abbr title="\Query\Exception\BadDBDriverException">BadDBDriverException</abbr></a></span>
|
||||||
|
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-modal" id="source-view">
|
||||||
|
<div class="phpdocumentor-modal-bg" data-exit-button></div>
|
||||||
|
<div class="phpdocumentor-modal-container">
|
||||||
|
<div class="phpdocumentor-modal-content">
|
||||||
|
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/ConnectionManager.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
<button data-exit-button class="phpdocumentor-modal__close">X</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets(line) {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
|
||||||
|
var src = pre.getAttribute('data-src').replace( /\\/g, '/');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
pre.setAttribute('data-line', line)
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
var modals = document.querySelectorAll("[data-modal]");
|
||||||
|
|
||||||
|
modals.forEach(function (trigger) {
|
||||||
|
trigger.addEventListener("click", function (event) {
|
||||||
|
//event.preventDefault();
|
||||||
|
const modal = document.getElementById(trigger.dataset.modal);
|
||||||
|
modal.classList.add("phpdocumentor-modal__open");
|
||||||
|
loadExternalCodeSnippets(trigger.dataset.line)
|
||||||
|
const exits = modal.querySelectorAll("[data-exit-button]");
|
||||||
|
exits.forEach(function (exit) {
|
||||||
|
exit.addEventListener("click", function (event) {
|
||||||
|
event.preventDefault();
|
||||||
|
modal.classList.remove("phpdocumentor-modal__open");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="classes/Query-ConnectionManager.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
2032
apiDocumentation/classes/Query-Drivers-AbstractDriver.html
Normal file
2032
apiDocumentation/classes/Query-Drivers-AbstractDriver.html
Normal file
File diff suppressed because it is too large
Load Diff
335
apiDocumentation/classes/Query-Drivers-AbstractSQL.html
Normal file
335
apiDocumentation/classes/Query-Drivers-AbstractSQL.html
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
||||||
|
<a href="namespaces/query.html" class="">Query</a>
|
||||||
|
</h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li>
|
||||||
|
<a href="namespaces/query-drivers.html" class="">Drivers</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="namespaces/query-exception.html" class="">Exception</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
||||||
|
<a href="packages/Query.html" class="">Query</a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="graphs/classes.html">Class Diagram</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/query.html">Query</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/query-drivers.html">Drivers</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -class">
|
||||||
|
<h2 class="phpdocumentor-content__title">
|
||||||
|
AbstractSQL
|
||||||
|
|
||||||
|
|
||||||
|
<div class="phpdocumentor-element__package">
|
||||||
|
in package
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="packages/Query.html">Query</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<span class="phpdocumentor-element__implements">
|
||||||
|
implements
|
||||||
|
<a href="classes/Query-Drivers-SQLInterface.html"><abbr title="\Query\Drivers\SQLInterface">SQLInterface</abbr></a> </span>
|
||||||
|
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractSQL.php"><a href="files/src-drivers-abstractsql.html"><abbr title="src/Drivers/AbstractSQL.php">AbstractSQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">22</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-AbstractSQL.html#source-view.22" class="phpdocumentor-element-found-in__source" data-line="22" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Parent for database-specific syntax subclasses</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes, Traits and Enums
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -interface"><a href="classes/Query-Drivers-SQLInterface.html"><abbr title="\Query\Drivers\SQLInterface">SQLInterface</abbr></a></dt>
|
||||||
|
<dd>Interface for database-specific syntax subclasses</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="toc">
|
||||||
|
Table of Contents
|
||||||
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-AbstractSQL.html#method_limit">limit()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Limit clause</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-methods">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
||||||
|
Methods
|
||||||
|
<a href="classes/Query-Drivers-AbstractSQL.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_limit">
|
||||||
|
limit()
|
||||||
|
<a href="classes/Query-Drivers-AbstractSQL.html#method_limit" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractSQL.php"><a href="files/src-drivers-abstractsql.html"><abbr title="src/Drivers/AbstractSQL.php">AbstractSQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">27</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-AbstractSQL.html#source-view.27" class="phpdocumentor-element-found-in__source" data-line="27" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Limit clause</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">limit</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$sql</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$limit</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int|null </span><span class="phpdocumentor-signature__argument__name">$offset</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$sql</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$limit</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$offset</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">int|null</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">NULL</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-modal" id="source-view">
|
||||||
|
<div class="phpdocumentor-modal-bg" data-exit-button></div>
|
||||||
|
<div class="phpdocumentor-modal-container">
|
||||||
|
<div class="phpdocumentor-modal-content">
|
||||||
|
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Drivers/AbstractSQL.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
<button data-exit-button class="phpdocumentor-modal__close">X</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets(line) {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
|
||||||
|
var src = pre.getAttribute('data-src').replace( /\\/g, '/');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
pre.setAttribute('data-line', line)
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
var modals = document.querySelectorAll("[data-modal]");
|
||||||
|
|
||||||
|
modals.forEach(function (trigger) {
|
||||||
|
trigger.addEventListener("click", function (event) {
|
||||||
|
//event.preventDefault();
|
||||||
|
const modal = document.getElementById(trigger.dataset.modal);
|
||||||
|
modal.classList.add("phpdocumentor-modal__open");
|
||||||
|
loadExternalCodeSnippets(trigger.dataset.line)
|
||||||
|
const exits = modal.querySelectorAll("[data-exit-button]");
|
||||||
|
exits.forEach(function (exit) {
|
||||||
|
exit.addEventListener("click", function (event) {
|
||||||
|
event.preventDefault();
|
||||||
|
modal.classList.remove("phpdocumentor-modal__open");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="classes/Query-Drivers-AbstractSQL.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
555
apiDocumentation/classes/Query-Drivers-AbstractUtil.html
Normal file
555
apiDocumentation/classes/Query-Drivers-AbstractUtil.html
Normal file
@ -0,0 +1,555 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
||||||
|
<a href="namespaces/query.html" class="">Query</a>
|
||||||
|
</h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li>
|
||||||
|
<a href="namespaces/query-drivers.html" class="">Drivers</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="namespaces/query-exception.html" class="">Exception</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
||||||
|
<a href="packages/Query.html" class="">Query</a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="graphs/classes.html">Class Diagram</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/query.html">Query</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/query-drivers.html">Drivers</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -class">
|
||||||
|
<h2 class="phpdocumentor-content__title">
|
||||||
|
AbstractUtil
|
||||||
|
|
||||||
|
|
||||||
|
<div class="phpdocumentor-element__package">
|
||||||
|
in package
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="packages/Query.html">Query</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Abstract class defining database / table creation methods</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="toc">
|
||||||
|
Table of Contents
|
||||||
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method___construct">__construct()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Save a reference to the connection object for later use</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method_backupData">backupData()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Return an SQL file with the database data as insert statements</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method_backupStructure">backupStructure()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Return an SQL file with the database table structure</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method_createTable">createTable()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Convenience public function to generate sql for creating a db table</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method_deleteTable">deleteTable()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Drop the selected table</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method_getDriver">getDriver()</a>
|
||||||
|
<span>
|
||||||
|
: <a href="classes/Query-Drivers-DriverInterface.html"><abbr title="\Query\Drivers\DriverInterface">DriverInterface</abbr></a> </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Get the driver object for the current connection</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-methods">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
||||||
|
Methods
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method___construct">
|
||||||
|
__construct()
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">29</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Save a reference to the connection object for later use</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Query-Drivers-DriverInterface.html"><abbr title="\Query\Drivers\DriverInterface">DriverInterface</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$connection</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$connection</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Query-Drivers-DriverInterface.html"><abbr title="\Query\Drivers\DriverInterface">DriverInterface</abbr></a></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
-abstract "
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_backupData">
|
||||||
|
backupData()
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method_backupData" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">98</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.98" class="phpdocumentor-element-found-in__source" data-line="98" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Return an SQL file with the database data as insert statements</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__abstract">abstract</span> <span class="phpdocumentor-signature__name">backupData</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
-abstract "
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_backupStructure">
|
||||||
|
backupStructure()
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method_backupStructure" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">93</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.93" class="phpdocumentor-element-found-in__source" data-line="93" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Return an SQL file with the database table structure</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__abstract">abstract</span> <span class="phpdocumentor-signature__name">backupStructure</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_createTable">
|
||||||
|
createTable()
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method_createTable" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">44</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.44" class="phpdocumentor-element-found-in__source" data-line="44" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Convenience public function to generate sql for creating a db table</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">createTable</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$name</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$fields</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$constraints</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$ifNotExists</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">TRUE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$name</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$fields</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$constraints</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$ifNotExists</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">TRUE</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_deleteTable">
|
||||||
|
deleteTable()
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method_deleteTable" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">82</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.82" class="phpdocumentor-element-found-in__source" data-line="82" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Drop the selected table</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">deleteTable</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$name</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$name</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_getDriver">
|
||||||
|
getDriver()
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method_getDriver" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">36</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.36" class="phpdocumentor-element-found-in__source" data-line="36" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Get the driver object for the current connection</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">getDriver</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Query-Drivers-DriverInterface.html"><abbr title="\Query\Drivers\DriverInterface">DriverInterface</abbr></a></span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Query-Drivers-DriverInterface.html"><abbr title="\Query\Drivers\DriverInterface">DriverInterface</abbr></a></span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-modal" id="source-view">
|
||||||
|
<div class="phpdocumentor-modal-bg" data-exit-button></div>
|
||||||
|
<div class="phpdocumentor-modal-container">
|
||||||
|
<div class="phpdocumentor-modal-content">
|
||||||
|
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Drivers/AbstractUtil.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
<button data-exit-button class="phpdocumentor-modal__close">X</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets(line) {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
|
||||||
|
var src = pre.getAttribute('data-src').replace( /\\/g, '/');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
pre.setAttribute('data-line', line)
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
var modals = document.querySelectorAll("[data-modal]");
|
||||||
|
|
||||||
|
modals.forEach(function (trigger) {
|
||||||
|
trigger.addEventListener("click", function (event) {
|
||||||
|
//event.preventDefault();
|
||||||
|
const modal = document.getElementById(trigger.dataset.modal);
|
||||||
|
modal.classList.add("phpdocumentor-modal__open");
|
||||||
|
loadExternalCodeSnippets(trigger.dataset.line)
|
||||||
|
const exits = modal.querySelectorAll("[data-exit-button]");
|
||||||
|
exits.forEach(function (exit) {
|
||||||
|
exit.addEventListener("click", function (event) {
|
||||||
|
event.preventDefault();
|
||||||
|
modal.classList.remove("phpdocumentor-modal__open");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
1819
apiDocumentation/classes/Query-Drivers-DriverInterface.html
Normal file
1819
apiDocumentation/classes/Query-Drivers-DriverInterface.html
Normal file
File diff suppressed because it is too large
Load Diff
2016
apiDocumentation/classes/Query-Drivers-Mysql-Driver.html
Normal file
2016
apiDocumentation/classes/Query-Drivers-Mysql-Driver.html
Normal file
File diff suppressed because it is too large
Load Diff
955
apiDocumentation/classes/Query-Drivers-Mysql-SQL.html
Normal file
955
apiDocumentation/classes/Query-Drivers-Mysql-SQL.html
Normal file
@ -0,0 +1,955 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
||||||
|
<a href="namespaces/query.html" class="">Query</a>
|
||||||
|
</h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li>
|
||||||
|
<a href="namespaces/query-drivers.html" class="">Drivers</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="namespaces/query-exception.html" class="">Exception</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
||||||
|
<a href="packages/Query.html" class="">Query</a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="graphs/classes.html">Class Diagram</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/query.html">Query</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/query-drivers.html">Drivers</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/query-drivers-mysql.html">Mysql</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -class">
|
||||||
|
<h2 class="phpdocumentor-content__title">
|
||||||
|
SQL
|
||||||
|
|
||||||
|
<span class="phpdocumentor-element__extends">
|
||||||
|
extends <a href="classes/Query-Drivers-AbstractSQL.html"><abbr title="\Query\Drivers\AbstractSQL">AbstractSQL</abbr></a>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-element__package">
|
||||||
|
in package
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="packages/Query.html">Query</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">25</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">MySQL specific SQL</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="toc">
|
||||||
|
Table of Contents
|
||||||
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_columnList">columnList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>SQL to show information about columns in a table</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_dbList">dbList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Returns sql to list other databases</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_explain">explain()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Get the query plan for the sql query</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_fkList">fkList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Get the list of foreign keys for the current
|
||||||
|
table</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_functionList">functionList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Return sql to list functions</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_indexList">indexList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Get the list of indexes for the current table</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_limit">limit()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Limit clause</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_procedureList">procedureList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Return sql to list stored procedures</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_random">random()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Random ordering keyword</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_sequenceList">sequenceList()</a>
|
||||||
|
<span>
|
||||||
|
: string|null </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Return sql to list sequences</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_systemTableList">systemTableList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Overridden in MySQL class</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_tableList">tableList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Returns sql to list tables</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_triggerList">triggerList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Returns sql to list triggers</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_typeList">typeList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>SQL to show list of field types</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_viewList">viewList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Returns sql to list views</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-methods">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
||||||
|
Methods
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_columnList">
|
||||||
|
columnList()
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_columnList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">146</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.146" class="phpdocumentor-element-found-in__source" data-line="146" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">SQL to show information about columns in a table</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">columnList</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$table</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$table</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_dbList">
|
||||||
|
dbList()
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_dbList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">59</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.59" class="phpdocumentor-element-found-in__source" data-line="59" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Returns sql to list other databases</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">dbList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_explain">
|
||||||
|
explain()
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_explain" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">43</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.43" class="phpdocumentor-element-found-in__source" data-line="43" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Get the query plan for the sql query</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">explain</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$sql</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$sql</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_fkList">
|
||||||
|
fkList()
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_fkList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">155</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.155" class="phpdocumentor-element-found-in__source" data-line="155" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Get the list of foreign keys for the current
|
||||||
|
table</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">fkList</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$table</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$table</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_functionList">
|
||||||
|
functionList()
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_functionList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">112</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.112" class="phpdocumentor-element-found-in__source" data-line="112" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Return sql to list functions</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">functionList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_indexList">
|
||||||
|
indexList()
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_indexList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">177</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.177" class="phpdocumentor-element-found-in__source" data-line="177" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Get the list of indexes for the current table</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">indexList</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$table</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$table</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_limit">
|
||||||
|
limit()
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_limit" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">30</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.30" class="phpdocumentor-element-found-in__source" data-line="30" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Limit clause</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">limit</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$sql</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$limit</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int|null </span><span class="phpdocumentor-signature__argument__name">$offset</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$sql</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$limit</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$offset</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">int|null</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">NULL</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_procedureList">
|
||||||
|
procedureList()
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_procedureList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">121</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.121" class="phpdocumentor-element-found-in__source" data-line="121" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Return sql to list stored procedures</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">procedureList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_random">
|
||||||
|
random()
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_random" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">51</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.51" class="phpdocumentor-element-found-in__source" data-line="51" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Random ordering keyword</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">random</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_sequenceList">
|
||||||
|
sequenceList()
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_sequenceList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">130</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.130" class="phpdocumentor-element-found-in__source" data-line="130" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Return sql to list sequences</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">sequenceList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string|null</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_systemTableList">
|
||||||
|
systemTableList()
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_systemTableList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">84</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.84" class="phpdocumentor-element-found-in__source" data-line="84" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Overridden in MySQL class</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">systemTableList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_tableList">
|
||||||
|
tableList()
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_tableList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">69</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.69" class="phpdocumentor-element-found-in__source" data-line="69" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Returns sql to list tables</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">tableList</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$database</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$database</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_triggerList">
|
||||||
|
triggerList()
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_triggerList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">103</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.103" class="phpdocumentor-element-found-in__source" data-line="103" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Returns sql to list triggers</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">triggerList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_typeList">
|
||||||
|
typeList()
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_typeList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">138</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.138" class="phpdocumentor-element-found-in__source" data-line="138" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">SQL to show list of field types</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">typeList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_viewList">
|
||||||
|
viewList()
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#method_viewList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">95</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.95" class="phpdocumentor-element-found-in__source" data-line="95" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Returns sql to list views</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">viewList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-modal" id="source-view">
|
||||||
|
<div class="phpdocumentor-modal-bg" data-exit-button></div>
|
||||||
|
<div class="phpdocumentor-modal-container">
|
||||||
|
<div class="phpdocumentor-modal-content">
|
||||||
|
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Drivers/Mysql/SQL.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
<button data-exit-button class="phpdocumentor-modal__close">X</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets(line) {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
|
||||||
|
var src = pre.getAttribute('data-src').replace( /\\/g, '/');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
pre.setAttribute('data-line', line)
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
var modals = document.querySelectorAll("[data-modal]");
|
||||||
|
|
||||||
|
modals.forEach(function (trigger) {
|
||||||
|
trigger.addEventListener("click", function (event) {
|
||||||
|
//event.preventDefault();
|
||||||
|
const modal = document.getElementById(trigger.dataset.modal);
|
||||||
|
modal.classList.add("phpdocumentor-modal__open");
|
||||||
|
loadExternalCodeSnippets(trigger.dataset.line)
|
||||||
|
const exits = modal.querySelectorAll("[data-exit-button]");
|
||||||
|
exits.forEach(function (exit) {
|
||||||
|
exit.addEventListener("click", function (event) {
|
||||||
|
event.preventDefault();
|
||||||
|
modal.classList.remove("phpdocumentor-modal__open");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="classes/Query-Drivers-Mysql-SQL.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
570
apiDocumentation/classes/Query-Drivers-Mysql-Util.html
Normal file
570
apiDocumentation/classes/Query-Drivers-Mysql-Util.html
Normal file
@ -0,0 +1,570 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
||||||
|
<a href="namespaces/query.html" class="">Query</a>
|
||||||
|
</h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li>
|
||||||
|
<a href="namespaces/query-drivers.html" class="">Drivers</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="namespaces/query-exception.html" class="">Exception</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
||||||
|
<a href="packages/Query.html" class="">Query</a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="graphs/classes.html">Class Diagram</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/query.html">Query</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/query-drivers.html">Drivers</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/query-drivers-mysql.html">Mysql</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -class">
|
||||||
|
<h2 class="phpdocumentor-content__title">
|
||||||
|
Util
|
||||||
|
|
||||||
|
<span class="phpdocumentor-element__extends">
|
||||||
|
extends <a href="classes/Query-Drivers-AbstractUtil.html"><abbr title="\Query\Drivers\AbstractUtil">AbstractUtil</abbr></a>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-element__package">
|
||||||
|
in package
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="packages/Query.html">Query</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/Util.php"><a href="files/src-drivers-mysql-util.html"><abbr title="src/Drivers/Mysql/Util.php">Util.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">25</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">MySQL-specific backup, import and creation methods</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="toc">
|
||||||
|
Table of Contents
|
||||||
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method___construct">__construct()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Save a reference to the connection object for later use</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Mysql-Util.html#method_backupData">backupData()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Create an SQL backup file for the current database's data</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Mysql-Util.html#method_backupStructure">backupStructure()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Create an SQL backup file for the current database's structure</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method_createTable">createTable()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Convenience public function to generate sql for creating a db table</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method_deleteTable">deleteTable()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Drop the selected table</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method_getDriver">getDriver()</a>
|
||||||
|
<span>
|
||||||
|
: <a href="classes/Query-Drivers-DriverInterface.html"><abbr title="\Query\Drivers\DriverInterface">DriverInterface</abbr></a> </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Get the driver object for the current connection</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-methods">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
||||||
|
Methods
|
||||||
|
<a href="classes/Query-Drivers-Mysql-Util.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method___construct">
|
||||||
|
__construct()
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">29</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Save a reference to the connection object for later use</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Query-Drivers-DriverInterface.html"><abbr title="\Query\Drivers\DriverInterface">DriverInterface</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$connection</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$connection</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Query-Drivers-DriverInterface.html"><abbr title="\Query\Drivers\DriverInterface">DriverInterface</abbr></a></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_backupData">
|
||||||
|
backupData()
|
||||||
|
<a href="classes/Query-Drivers-Mysql-Util.html#method_backupData" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/Util.php"><a href="files/src-drivers-mysql-util.html"><abbr title="src/Drivers/Mysql/Util.php">Util.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">71</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.71" class="phpdocumentor-element-found-in__source" data-line="71" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Create an SQL backup file for the current database's data</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">backupData</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$exclude</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$exclude</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_backupStructure">
|
||||||
|
backupStructure()
|
||||||
|
<a href="classes/Query-Drivers-Mysql-Util.html#method_backupStructure" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/Util.php"><a href="files/src-drivers-mysql-util.html"><abbr title="src/Drivers/Mysql/Util.php">Util.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">30</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.30" class="phpdocumentor-element-found-in__source" data-line="30" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Create an SQL backup file for the current database's structure</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">backupStructure</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_createTable">
|
||||||
|
createTable()
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method_createTable" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">44</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.44" class="phpdocumentor-element-found-in__source" data-line="44" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Convenience public function to generate sql for creating a db table</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">createTable</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$name</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$fields</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$constraints</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$ifNotExists</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">TRUE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$name</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$fields</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$constraints</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$ifNotExists</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">TRUE</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_deleteTable">
|
||||||
|
deleteTable()
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method_deleteTable" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">82</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.82" class="phpdocumentor-element-found-in__source" data-line="82" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Drop the selected table</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">deleteTable</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$name</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$name</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_getDriver">
|
||||||
|
getDriver()
|
||||||
|
<a href="classes/Query-Drivers-AbstractUtil.html#method_getDriver" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">36</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.36" class="phpdocumentor-element-found-in__source" data-line="36" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Get the driver object for the current connection</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">getDriver</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Query-Drivers-DriverInterface.html"><abbr title="\Query\Drivers\DriverInterface">DriverInterface</abbr></a></span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Query-Drivers-DriverInterface.html"><abbr title="\Query\Drivers\DriverInterface">DriverInterface</abbr></a></span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-modal" id="source-view">
|
||||||
|
<div class="phpdocumentor-modal-bg" data-exit-button></div>
|
||||||
|
<div class="phpdocumentor-modal-container">
|
||||||
|
<div class="phpdocumentor-modal-content">
|
||||||
|
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Drivers/Mysql/Util.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
<button data-exit-button class="phpdocumentor-modal__close">X</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets(line) {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
|
||||||
|
var src = pre.getAttribute('data-src').replace( /\\/g, '/');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
pre.setAttribute('data-line', line)
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
var modals = document.querySelectorAll("[data-modal]");
|
||||||
|
|
||||||
|
modals.forEach(function (trigger) {
|
||||||
|
trigger.addEventListener("click", function (event) {
|
||||||
|
//event.preventDefault();
|
||||||
|
const modal = document.getElementById(trigger.dataset.modal);
|
||||||
|
modal.classList.add("phpdocumentor-modal__open");
|
||||||
|
loadExternalCodeSnippets(trigger.dataset.line)
|
||||||
|
const exits = modal.querySelectorAll("[data-exit-button]");
|
||||||
|
exits.forEach(function (exit) {
|
||||||
|
exit.addEventListener("click", function (event) {
|
||||||
|
event.preventDefault();
|
||||||
|
modal.classList.remove("phpdocumentor-modal__open");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="classes/Query-Drivers-Mysql-Util.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
2016
apiDocumentation/classes/Query-Drivers-Pgsql-Driver.html
Normal file
2016
apiDocumentation/classes/Query-Drivers-Pgsql-Driver.html
Normal file
File diff suppressed because it is too large
Load Diff
944
apiDocumentation/classes/Query-Drivers-Pgsql-SQL.html
Normal file
944
apiDocumentation/classes/Query-Drivers-Pgsql-SQL.html
Normal file
@ -0,0 +1,944 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
||||||
|
<a href="namespaces/query.html" class="">Query</a>
|
||||||
|
</h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li>
|
||||||
|
<a href="namespaces/query-drivers.html" class="">Drivers</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="namespaces/query-exception.html" class="">Exception</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
||||||
|
<a href="packages/Query.html" class="">Query</a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="graphs/classes.html">Class Diagram</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/query.html">Query</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/query-drivers.html">Drivers</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/query-drivers-pgsql.html">Pgsql</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -class">
|
||||||
|
<h2 class="phpdocumentor-content__title">
|
||||||
|
SQL
|
||||||
|
|
||||||
|
<span class="phpdocumentor-element__extends">
|
||||||
|
extends <a href="classes/Query-Drivers-AbstractSQL.html"><abbr title="\Query\Drivers\AbstractSQL">AbstractSQL</abbr></a>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-element__package">
|
||||||
|
in package
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="packages/Query.html">Query</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">PostgreSQL specific SQL</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="toc">
|
||||||
|
Table of Contents
|
||||||
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_columnList">columnList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Return sql to list columns of the specified table</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_dbList">dbList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Returns sql to list other databases</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_explain">explain()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Get the query plan for the sql query</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_fkList">fkList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Get the list of foreign keys for the current
|
||||||
|
table</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_functionList">functionList()</a>
|
||||||
|
<span>
|
||||||
|
: string|null </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Return sql to list functions</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_indexList">indexList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Get the list of indexes for the current table</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-AbstractSQL.html#method_limit">limit()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Limit clause</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_procedureList">procedureList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Return sql to list stored procedures</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_random">random()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Random ordering keyword</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_sequenceList">sequenceList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Return sql to list sequences</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_systemTableList">systemTableList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Returns sql to list system tables</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_tableList">tableList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Returns sql to list tables</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_triggerList">triggerList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Returns sql to list triggers</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_typeList">typeList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>SQL to show list of field types</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_viewList">viewList()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Returns sql to list views</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-methods">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
||||||
|
Methods
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_columnList">
|
||||||
|
columnList()
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_columnList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">147</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.147" class="phpdocumentor-element-found-in__source" data-line="147" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Return sql to list columns of the specified table</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">columnList</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$table</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$table</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_dbList">
|
||||||
|
dbList()
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_dbList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">45</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.45" class="phpdocumentor-element-found-in__source" data-line="45" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Returns sql to list other databases</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">dbList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_explain">
|
||||||
|
explain()
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_explain" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">29</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Get the query plan for the sql query</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">explain</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$sql</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$sql</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_fkList">
|
||||||
|
fkList()
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_fkList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">180</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.180" class="phpdocumentor-element-found-in__source" data-line="180" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Get the list of foreign keys for the current
|
||||||
|
table</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">fkList</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$table</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$table</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_functionList">
|
||||||
|
functionList()
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_functionList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">112</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.112" class="phpdocumentor-element-found-in__source" data-line="112" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Return sql to list functions</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">functionList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string|null</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_indexList">
|
||||||
|
indexList()
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_indexList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">219</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.219" class="phpdocumentor-element-found-in__source" data-line="219" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Get the list of indexes for the current table</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">indexList</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$table</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$table</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_limit">
|
||||||
|
limit()
|
||||||
|
<a href="classes/Query-Drivers-AbstractSQL.html#method_limit" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractSQL.php"><a href="files/src-drivers-abstractsql.html"><abbr title="src/Drivers/AbstractSQL.php">AbstractSQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">27</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.27" class="phpdocumentor-element-found-in__source" data-line="27" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Limit clause</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">limit</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$sql</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$limit</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int|null </span><span class="phpdocumentor-signature__argument__name">$offset</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$sql</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$limit</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$offset</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">int|null</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">NULL</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_procedureList">
|
||||||
|
procedureList()
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_procedureList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">120</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.120" class="phpdocumentor-element-found-in__source" data-line="120" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Return sql to list stored procedures</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">procedureList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_random">
|
||||||
|
random()
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_random" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">37</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.37" class="phpdocumentor-element-found-in__source" data-line="37" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Random ordering keyword</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">random</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_sequenceList">
|
||||||
|
sequenceList()
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_sequenceList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">134</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.134" class="phpdocumentor-element-found-in__source" data-line="134" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Return sql to list sequences</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">sequenceList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_systemTableList">
|
||||||
|
systemTableList()
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_systemTableList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">71</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.71" class="phpdocumentor-element-found-in__source" data-line="71" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Returns sql to list system tables</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">systemTableList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_tableList">
|
||||||
|
tableList()
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_tableList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">57</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.57" class="phpdocumentor-element-found-in__source" data-line="57" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Returns sql to list tables</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">tableList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_triggerList">
|
||||||
|
triggerList()
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_triggerList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">99</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.99" class="phpdocumentor-element-found-in__source" data-line="99" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Returns sql to list triggers</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">triggerList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_typeList">
|
||||||
|
typeList()
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_typeList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">166</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.166" class="phpdocumentor-element-found-in__source" data-line="166" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">SQL to show list of field types</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">typeList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_viewList">
|
||||||
|
viewList()
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#method_viewList" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">85</span>
|
||||||
|
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.85" class="phpdocumentor-element-found-in__source" data-line="85" data-modal="source-view"></a>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Returns sql to list views</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">viewList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-modal" id="source-view">
|
||||||
|
<div class="phpdocumentor-modal-bg" data-exit-button></div>
|
||||||
|
<div class="phpdocumentor-modal-container">
|
||||||
|
<div class="phpdocumentor-modal-content">
|
||||||
|
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Drivers/Pgsql/SQL.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
<button data-exit-button class="phpdocumentor-modal__close">X</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets(line) {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
|
||||||
|
var src = pre.getAttribute('data-src').replace( /\\/g, '/');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
pre.setAttribute('data-line', line)
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
var modals = document.querySelectorAll("[data-modal]");
|
||||||
|
|
||||||
|
modals.forEach(function (trigger) {
|
||||||
|
trigger.addEventListener("click", function (event) {
|
||||||
|
//event.preventDefault();
|
||||||
|
const modal = document.getElementById(trigger.dataset.modal);
|
||||||
|
modal.classList.add("phpdocumentor-modal__open");
|
||||||
|
loadExternalCodeSnippets(trigger.dataset.line)
|
||||||
|
const exits = modal.querySelectorAll("[data-exit-button]");
|
||||||
|
exits.forEach(function (exit) {
|
||||||
|
exit.addEventListener("click", function (event) {
|
||||||
|
event.preventDefault();
|
||||||
|
modal.classList.remove("phpdocumentor-modal__open");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="classes/Query-Drivers-Pgsql-SQL.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user