From 64a6878a470faae6f189d5a864d869b073d0a600 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Tue, 15 Apr 2014 16:13:18 -0400 Subject: [PATCH] Update docs [skip ci] --- docs/classes/Query.BadDBDriverException.html | 475 +- docs/classes/Query.Connection_Manager.html | 1081 +- .../classes/Query.Driver.Abstract_Driver.html | 2291 ++-- docs/classes/Query.Driver.Abstract_SQL.html | 562 +- docs/classes/Query.Driver.Abstract_Util.html | 1024 +- .../Query.Driver.Driver_Interface.html | 960 +- docs/classes/Query.Driver.Firebird.html | 2976 +++++- .../classes/Query.Driver.Firebird_Result.html | 1487 ++- docs/classes/Query.Driver.Firebird_SQL.html | 1252 ++- docs/classes/Query.Driver.Firebird_Util.html | 1163 ++- docs/classes/Query.Driver.MySQL.html | 1922 +++- docs/classes/Query.Driver.MySQL_SQL.html | 1265 ++- docs/classes/Query.Driver.MySQL_Util.html | 1230 ++- docs/classes/Query.Driver.PgSQL.html | 1912 +++- docs/classes/Query.Driver.PgSQL_SQL.html | 1228 ++- docs/classes/Query.Driver.PgSQL_Util.html | 1005 +- docs/classes/Query.Driver.SQL_Interface.html | 1240 ++- docs/classes/Query.Driver.SQLite.html | 1957 +++- docs/classes/Query.Driver.SQLite_SQL.html | 1227 ++- docs/classes/Query.Driver.SQLite_Util.html | 1013 +- docs/classes/Query.Query_Builder.html | 5196 ++++++--- .../Query.Query_Builder_Interface.html | 3173 ++++-- docs/classes/Query.Query_Parser.html | 848 +- docs/classes/Query.Table.Abstract_Table.html | 753 +- docs/classes/Query.Table.Table_Builder.html | 2107 +++- docs/classes/Query.Table.Table_Column.html | 875 +- .../Query.Table.Table_Foreign_Key.html | 715 +- docs/classes/Query.Table.Table_Index.html | 715 +- docs/css/bootstrap-responsive.css | 567 - docs/css/bootstrap-responsive.min.css | 3 - docs/css/bootstrap.css | 3370 ------ docs/css/bootstrap.min.css | 611 -- docs/css/jquery.iviewer.css | 50 +- .../css/phpdocumentor-clean-icons/Read Me.txt | 3 + .../fonts/phpdocumentor-clean-icons.dev.svg | 17 + .../fonts/phpdocumentor-clean-icons.eot | Bin 0 -> 2324 bytes .../fonts/phpdocumentor-clean-icons.svg | 17 + .../fonts/phpdocumentor-clean-icons.ttf | Bin 0 -> 2080 bytes .../fonts/phpdocumentor-clean-icons.woff | Bin 0 -> 1832 bytes docs/css/phpdocumentor-clean-icons/lte-ie7.js | 30 + docs/css/phpdocumentor-clean-icons/style.css | 48 + docs/css/prettify.css | 1 - docs/css/prism.css | 204 + docs/css/template.css | 795 +- docs/deprecated.html | 107 - docs/errors.html | 107 - docs/files/autoload.php.html | 498 + docs/files/autoload.php.txt | 81 + docs/files/common.php.html | 567 + docs/files/common.php.txt | 107 + .../core.abstract.abstract_driver.php.html | 360 + .../files/core.abstract.abstract_sql.php.html | 360 + .../core.abstract.abstract_table.php.html | 360 + .../core.abstract.abstract_util.php.html | 360 + docs/files/core.connection_manager.php.html | 365 + .../core.interfaces.driver_interface.php.html | 360 + ...nterfaces.query_builder_interface.php.html | 360 + .../core.interfaces.sql_interface.php.html | 360 + docs/files/core.query_builder.php.html | 361 + docs/files/core.query_parser.php.html | 360 + docs/files/core.table_builder.php.html | 360 + docs/files/core.table_column.php.html | 360 + docs/files/core.table_foreign_key.php.html | 360 + docs/files/core.table_index.php.html | 360 + .../core/abstract/abstract_driver.php.txt | 581 ++ docs/files/core/abstract/abstract_sql.php.txt | 47 + .../core/abstract/abstract_table.php.txt | 99 + .../files/core/abstract/abstract_util.php.txt | 147 + docs/files/core/connection_manager.php.txt | 245 + .../core/interfaces/driver_interface.php.txt | 97 + .../query_builder_interface.php.txt | 504 + .../core/interfaces/sql_interface.php.txt | 143 + docs/files/core/query_builder.php.txt | 1476 +++ docs/files/core/query_parser.php.txt | 135 + docs/files/core/table_builder.php.txt | 434 + docs/files/core/table_column.php.txt | 83 + docs/files/core/table_foreign_key.php.txt | 42 + docs/files/core/table_index.php.txt | 43 + .../drivers.firebird.firebird_driver.php.html | 360 + .../drivers.firebird.firebird_result.php.html | 361 + .../drivers.firebird.firebird_sql.php.html | 360 + .../drivers.firebird.firebird_util.php.html | 360 + .../files/drivers.mysql.mysql_driver.php.html | 360 + docs/files/drivers.mysql.mysql_sql.php.html | 360 + docs/files/drivers.mysql.mysql_util.php.html | 360 + .../files/drivers.pgsql.pgsql_driver.php.html | 360 + docs/files/drivers.pgsql.pgsql_sql.php.html | 360 + docs/files/drivers.pgsql.pgsql_util.php.html | 360 + .../drivers.sqlite.sqlite_driver.php.html | 360 + docs/files/drivers.sqlite.sqlite_sql.php.html | 360 + .../files/drivers.sqlite.sqlite_util.php.html | 360 + .../drivers/firebird/firebird_driver.php.txt | 419 + .../drivers/firebird/firebird_result.php.txt | 298 + .../drivers/firebird/firebird_sql.php.txt | 317 + .../drivers/firebird/firebird_util.php.txt | 170 + docs/files/drivers/mysql/mysql_driver.php.txt | 69 + docs/files/drivers/mysql/mysql_sql.php.txt | 232 + docs/files/drivers/mysql/mysql_util.php.txt | 128 + docs/files/drivers/pgsql/pgsql_driver.php.txt | 72 + docs/files/drivers/pgsql/pgsql_sql.php.txt | 300 + docs/files/drivers/pgsql/pgsql_util.php.txt | 102 + .../drivers/sqlite/sqlite_driver.php.txt | 153 + docs/files/drivers/sqlite/sqlite_sql.php.txt | 206 + docs/files/drivers/sqlite/sqlite_util.php.txt | 122 + docs/graph_class.html | 72 - docs/graphs/class.html | 167 + docs/{ => graphs}/classes.svg | 0 .../apple-touch-icon-114x114.png | Bin .../apple-touch-icon-72x72.png | Bin docs/{img => images}/apple-touch-icon.png | Bin docs/images/custom-icons.svg | 116 + docs/{img => images}/favicon.ico | Bin docs/images/hierarchy-item.png | Bin 0 -> 236 bytes docs/images/icon-class-13x13.png | Bin 0 -> 428 bytes docs/images/icon-class.svg | 77 + docs/images/icon-interface-13x13.png | Bin 0 -> 308 bytes docs/images/icon-interface.svg | 73 + docs/images/icon-trait-13x13.png | Bin 0 -> 340 bytes docs/images/icon-trait.svg | 73 + docs/{img => images}/iviewer/grab.cur | Bin docs/{img => images}/iviewer/hand.cur | Bin .../iviewer/iviewer.rotate_left.png | Bin .../iviewer/iviewer.rotate_right.png | Bin .../iviewer/iviewer.zoom_fit.png | Bin .../iviewer/iviewer.zoom_in.png | Bin .../iviewer/iviewer.zoom_out.png | Bin .../iviewer/iviewer.zoom_zero.png | Bin docs/img/glyphicons-halflings-white.png | Bin 4352 -> 0 bytes docs/img/glyphicons-halflings.png | Bin 4352 -> 0 bytes docs/img/icons/arrow_down.png | Bin 606 -> 0 bytes docs/img/icons/arrow_right.png | Bin 628 -> 0 bytes docs/img/icons/class.png | Bin 395 -> 0 bytes docs/img/icons/constant.png | Bin 496 -> 0 bytes docs/img/icons/favicon.ico | Bin 1150 -> 0 bytes docs/img/icons/file-php.png | Bin 4017 -> 0 bytes docs/img/icons/file.gif | Bin 110 -> 0 bytes docs/img/icons/folder.gif | Bin 106 -> 0 bytes docs/img/icons/function.png | Bin 338 -> 0 bytes docs/img/icons/icon-folder-open-big.png | Bin 232 -> 0 bytes docs/img/icons/icon-th-big.png | Bin 106 -> 0 bytes docs/img/icons/icon_template.svg | 93 - docs/img/icons/interface.png | Bin 281 -> 0 bytes docs/img/icons/method.png | Bin 377 -> 0 bytes docs/img/icons/ok.png | Bin 3685 -> 0 bytes docs/img/icons/property.png | Bin 360 -> 0 bytes docs/img/icons/search.gif | Bin 152 -> 0 bytes docs/img/icons/variable.png | Bin 829 -> 0 bytes docs/img/icons/view_source.png | Bin 603 -> 0 bytes docs/img/icons/visibility_private.png | Bin 3433 -> 0 bytes docs/img/icons/visibility_protected.png | Bin 764 -> 0 bytes docs/img/icons/visibility_public.png | Bin 3451 -> 0 bytes docs/img/iviewer/iviewer.zoom_fit2.gif | Bin 95 -> 0 bytes docs/img/iviewer/iviewer.zoom_in2.gif | Bin 90 -> 0 bytes docs/img/iviewer/iviewer.zoom_out2.gif | Bin 69 -> 0 bytes docs/img/iviewer/iviewer.zoom_zero2.gif | Bin 98 -> 0 bytes docs/img/loader.gif | Bin 4726 -> 0 bytes docs/js/SVGPan.js | 232 - docs/js/bootstrap.js | 1722 --- docs/js/bootstrap.min.js | 1 - docs/js/jquery-1.4.2.min.js | 154 - docs/js/jquery-1.7.1.min.js | 9270 ----------------- docs/js/jquery-ui-1.8.2.custom.min.js | 1012 -- docs/js/jquery.cookie.js | 104 - docs/js/jquery.dotdotdot-1.5.9.js | 602 ++ docs/js/jquery.dotdotdot-1.5.9.min.js | 15 + docs/js/jquery.iviewer.js | 256 +- docs/js/jquery.iviewer.min.js | 67 +- docs/js/jquery.mousewheel.min.js | 13 - docs/js/jquery.panzoom.js | 467 - docs/js/jquery.smooth-scroll.js | 32 + docs/js/jquery.splitter.js | 228 - docs/js/jquery.tools.min.js | 115 - docs/js/jquery.treeview.js | 256 - docs/js/menu.js | 31 - docs/js/prettify/lang-apollo.js | 2 - docs/js/prettify/lang-clj.js | 18 - docs/js/prettify/lang-css.js | 2 - docs/js/prettify/lang-go.js | 1 - docs/js/prettify/lang-hs.js | 2 - docs/js/prettify/lang-lisp.js | 3 - docs/js/prettify/lang-lua.js | 2 - docs/js/prettify/lang-ml.js | 2 - docs/js/prettify/lang-n.js | 4 - docs/js/prettify/lang-proto.js | 1 - docs/js/prettify/lang-scala.js | 2 - docs/js/prettify/lang-sql.js | 2 - docs/js/prettify/lang-tex.js | 1 - docs/js/prettify/lang-vb.js | 2 - docs/js/prettify/lang-vhdl.js | 3 - docs/js/prettify/lang-wiki.js | 2 - docs/js/prettify/lang-xq.js | 3 - docs/js/prettify/lang-yaml.js | 2 - docs/js/prettify/prettify.min.js | 28 - docs/js/prism.min.js | 16 + docs/js/sidebar.js | 45 - docs/js/template.js | 205 - docs/markers.html | 91 - docs/namespaces/Query.Driver.html | 546 +- docs/namespaces/Query.Table.html | 398 +- docs/namespaces/Query.html | 617 +- docs/namespaces/default.html | 621 ++ docs/namespaces/global.html | 88 - docs/packages/Default.html | 75 - docs/packages/Query.Core.html | 164 - docs/packages/Query.Drivers.html | 236 - docs/packages/Query.Query_Builder.html | 116 - docs/packages/Query.Table_Builder.html | 96 - docs/packages/Query.html | 470 - docs/reports/deprecated.html | 192 + docs/reports/errors.html | 212 + docs/reports/markers.html | 178 + docs/structure.xml | 7924 -------------- 212 files changed, 54436 insertions(+), 38410 deletions(-) delete mode 100644 docs/css/bootstrap-responsive.css delete mode 100644 docs/css/bootstrap-responsive.min.css delete mode 100644 docs/css/bootstrap.css delete mode 100644 docs/css/bootstrap.min.css create mode 100644 docs/css/phpdocumentor-clean-icons/Read Me.txt create mode 100644 docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.dev.svg create mode 100644 docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.eot create mode 100644 docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.svg create mode 100644 docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.ttf create mode 100644 docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.woff create mode 100644 docs/css/phpdocumentor-clean-icons/lte-ie7.js create mode 100644 docs/css/phpdocumentor-clean-icons/style.css delete mode 100644 docs/css/prettify.css create mode 100644 docs/css/prism.css delete mode 100644 docs/deprecated.html delete mode 100644 docs/errors.html create mode 100644 docs/files/autoload.php.html create mode 100644 docs/files/autoload.php.txt create mode 100644 docs/files/common.php.html create mode 100644 docs/files/common.php.txt create mode 100644 docs/files/core.abstract.abstract_driver.php.html create mode 100644 docs/files/core.abstract.abstract_sql.php.html create mode 100644 docs/files/core.abstract.abstract_table.php.html create mode 100644 docs/files/core.abstract.abstract_util.php.html create mode 100644 docs/files/core.connection_manager.php.html create mode 100644 docs/files/core.interfaces.driver_interface.php.html create mode 100644 docs/files/core.interfaces.query_builder_interface.php.html create mode 100644 docs/files/core.interfaces.sql_interface.php.html create mode 100644 docs/files/core.query_builder.php.html create mode 100644 docs/files/core.query_parser.php.html create mode 100644 docs/files/core.table_builder.php.html create mode 100644 docs/files/core.table_column.php.html create mode 100644 docs/files/core.table_foreign_key.php.html create mode 100644 docs/files/core.table_index.php.html create mode 100644 docs/files/core/abstract/abstract_driver.php.txt create mode 100644 docs/files/core/abstract/abstract_sql.php.txt create mode 100644 docs/files/core/abstract/abstract_table.php.txt create mode 100644 docs/files/core/abstract/abstract_util.php.txt create mode 100644 docs/files/core/connection_manager.php.txt create mode 100644 docs/files/core/interfaces/driver_interface.php.txt create mode 100644 docs/files/core/interfaces/query_builder_interface.php.txt create mode 100644 docs/files/core/interfaces/sql_interface.php.txt create mode 100644 docs/files/core/query_builder.php.txt create mode 100644 docs/files/core/query_parser.php.txt create mode 100644 docs/files/core/table_builder.php.txt create mode 100644 docs/files/core/table_column.php.txt create mode 100644 docs/files/core/table_foreign_key.php.txt create mode 100644 docs/files/core/table_index.php.txt create mode 100644 docs/files/drivers.firebird.firebird_driver.php.html create mode 100644 docs/files/drivers.firebird.firebird_result.php.html create mode 100644 docs/files/drivers.firebird.firebird_sql.php.html create mode 100644 docs/files/drivers.firebird.firebird_util.php.html create mode 100644 docs/files/drivers.mysql.mysql_driver.php.html create mode 100644 docs/files/drivers.mysql.mysql_sql.php.html create mode 100644 docs/files/drivers.mysql.mysql_util.php.html create mode 100644 docs/files/drivers.pgsql.pgsql_driver.php.html create mode 100644 docs/files/drivers.pgsql.pgsql_sql.php.html create mode 100644 docs/files/drivers.pgsql.pgsql_util.php.html create mode 100644 docs/files/drivers.sqlite.sqlite_driver.php.html create mode 100644 docs/files/drivers.sqlite.sqlite_sql.php.html create mode 100644 docs/files/drivers.sqlite.sqlite_util.php.html create mode 100644 docs/files/drivers/firebird/firebird_driver.php.txt create mode 100644 docs/files/drivers/firebird/firebird_result.php.txt create mode 100644 docs/files/drivers/firebird/firebird_sql.php.txt create mode 100644 docs/files/drivers/firebird/firebird_util.php.txt create mode 100644 docs/files/drivers/mysql/mysql_driver.php.txt create mode 100644 docs/files/drivers/mysql/mysql_sql.php.txt create mode 100644 docs/files/drivers/mysql/mysql_util.php.txt create mode 100644 docs/files/drivers/pgsql/pgsql_driver.php.txt create mode 100644 docs/files/drivers/pgsql/pgsql_sql.php.txt create mode 100644 docs/files/drivers/pgsql/pgsql_util.php.txt create mode 100644 docs/files/drivers/sqlite/sqlite_driver.php.txt create mode 100644 docs/files/drivers/sqlite/sqlite_sql.php.txt create mode 100644 docs/files/drivers/sqlite/sqlite_util.php.txt delete mode 100644 docs/graph_class.html create mode 100644 docs/graphs/class.html rename docs/{ => graphs}/classes.svg (100%) rename docs/{img => images}/apple-touch-icon-114x114.png (100%) rename docs/{img => images}/apple-touch-icon-72x72.png (100%) rename docs/{img => images}/apple-touch-icon.png (100%) create mode 100644 docs/images/custom-icons.svg rename docs/{img => images}/favicon.ico (100%) create mode 100644 docs/images/hierarchy-item.png create mode 100644 docs/images/icon-class-13x13.png create mode 100644 docs/images/icon-class.svg create mode 100644 docs/images/icon-interface-13x13.png create mode 100644 docs/images/icon-interface.svg create mode 100644 docs/images/icon-trait-13x13.png create mode 100644 docs/images/icon-trait.svg rename docs/{img => images}/iviewer/grab.cur (100%) rename docs/{img => images}/iviewer/hand.cur (100%) rename docs/{img => images}/iviewer/iviewer.rotate_left.png (100%) rename docs/{img => images}/iviewer/iviewer.rotate_right.png (100%) rename docs/{img => images}/iviewer/iviewer.zoom_fit.png (100%) rename docs/{img => images}/iviewer/iviewer.zoom_in.png (100%) rename docs/{img => images}/iviewer/iviewer.zoom_out.png (100%) rename docs/{img => images}/iviewer/iviewer.zoom_zero.png (100%) delete mode 100644 docs/img/glyphicons-halflings-white.png delete mode 100644 docs/img/glyphicons-halflings.png delete mode 100644 docs/img/icons/arrow_down.png delete mode 100644 docs/img/icons/arrow_right.png delete mode 100644 docs/img/icons/class.png delete mode 100644 docs/img/icons/constant.png delete mode 100644 docs/img/icons/favicon.ico delete mode 100644 docs/img/icons/file-php.png delete mode 100644 docs/img/icons/file.gif delete mode 100644 docs/img/icons/folder.gif delete mode 100644 docs/img/icons/function.png delete mode 100644 docs/img/icons/icon-folder-open-big.png delete mode 100644 docs/img/icons/icon-th-big.png delete mode 100644 docs/img/icons/icon_template.svg delete mode 100644 docs/img/icons/interface.png delete mode 100644 docs/img/icons/method.png delete mode 100644 docs/img/icons/ok.png delete mode 100644 docs/img/icons/property.png delete mode 100644 docs/img/icons/search.gif delete mode 100644 docs/img/icons/variable.png delete mode 100644 docs/img/icons/view_source.png delete mode 100644 docs/img/icons/visibility_private.png delete mode 100644 docs/img/icons/visibility_protected.png delete mode 100644 docs/img/icons/visibility_public.png delete mode 100644 docs/img/iviewer/iviewer.zoom_fit2.gif delete mode 100644 docs/img/iviewer/iviewer.zoom_in2.gif delete mode 100644 docs/img/iviewer/iviewer.zoom_out2.gif delete mode 100644 docs/img/iviewer/iviewer.zoom_zero2.gif delete mode 100644 docs/img/loader.gif delete mode 100644 docs/js/SVGPan.js delete mode 100644 docs/js/bootstrap.js delete mode 100644 docs/js/bootstrap.min.js delete mode 100644 docs/js/jquery-1.4.2.min.js delete mode 100644 docs/js/jquery-1.7.1.min.js delete mode 100644 docs/js/jquery-ui-1.8.2.custom.min.js delete mode 100644 docs/js/jquery.cookie.js create mode 100644 docs/js/jquery.dotdotdot-1.5.9.js create mode 100644 docs/js/jquery.dotdotdot-1.5.9.min.js delete mode 100644 docs/js/jquery.mousewheel.min.js delete mode 100644 docs/js/jquery.panzoom.js create mode 100644 docs/js/jquery.smooth-scroll.js delete mode 100644 docs/js/jquery.splitter.js delete mode 100644 docs/js/jquery.tools.min.js delete mode 100644 docs/js/jquery.treeview.js delete mode 100644 docs/js/menu.js delete mode 100644 docs/js/prettify/lang-apollo.js delete mode 100644 docs/js/prettify/lang-clj.js delete mode 100644 docs/js/prettify/lang-css.js delete mode 100644 docs/js/prettify/lang-go.js delete mode 100644 docs/js/prettify/lang-hs.js delete mode 100644 docs/js/prettify/lang-lisp.js delete mode 100644 docs/js/prettify/lang-lua.js delete mode 100644 docs/js/prettify/lang-ml.js delete mode 100644 docs/js/prettify/lang-n.js delete mode 100644 docs/js/prettify/lang-proto.js delete mode 100644 docs/js/prettify/lang-scala.js delete mode 100644 docs/js/prettify/lang-sql.js delete mode 100644 docs/js/prettify/lang-tex.js delete mode 100644 docs/js/prettify/lang-vb.js delete mode 100644 docs/js/prettify/lang-vhdl.js delete mode 100644 docs/js/prettify/lang-wiki.js delete mode 100644 docs/js/prettify/lang-xq.js delete mode 100644 docs/js/prettify/lang-yaml.js delete mode 100644 docs/js/prettify/prettify.min.js create mode 100644 docs/js/prism.min.js delete mode 100644 docs/js/sidebar.js delete mode 100644 docs/js/template.js delete mode 100644 docs/markers.html create mode 100644 docs/namespaces/default.html delete mode 100644 docs/namespaces/global.html delete mode 100644 docs/packages/Default.html delete mode 100644 docs/packages/Query.Core.html delete mode 100644 docs/packages/Query.Drivers.html delete mode 100644 docs/packages/Query.Query_Builder.html delete mode 100644 docs/packages/Query.Table_Builder.html delete mode 100644 docs/packages/Query.html create mode 100644 docs/reports/deprecated.html create mode 100644 docs/reports/errors.html create mode 100644 docs/reports/markers.html delete mode 100644 docs/structure.xml diff --git a/docs/classes/Query.BadDBDriverException.html b/docs/classes/Query.BadDBDriverException.html index fd7f016..57a3a79 100644 --- a/docs/classes/Query.BadDBDriverException.html +++ b/docs/classes/Query.BadDBDriverException.html @@ -1,100 +1,391 @@ - + + - - - -Query » \Query\BadDBDriverException - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
- -
-
-
-
- -
-
- -
-
- -
-
- -
-

Generic exception for bad drivers

-
-
- - - - - - - - - -
packageQuery
subpackageCore
-
-
-
-
-
+ +
+
+ +
+
+
+
+
+ + + +

\QueryBadDBDriverException

+

Generic exception for bad drivers

+ + +
+

Summary

+
+
+ Methods +
+
+ Properties +
+
+ Constants +
+
+
+
+ No public methods found +
+
+ No public properties found +
+
+ No constants found +
+
+
+
+ No protected methods found +
+
+ No protected properties found +
+
+ N/A +
+
+
+
+ No private methods found +
+
+ No private properties found +
+
+ N/A +
+
+
+
+ +
+ + + +
+
+ + + +
+ diff --git a/docs/classes/Query.Connection_Manager.html b/docs/classes/Query.Connection_Manager.html index 946e3de..63eb37b 100644 --- a/docs/classes/Query.Connection_Manager.html +++ b/docs/classes/Query.Connection_Manager.html @@ -1,285 +1,818 @@ - + + - - - -Query » \Query\Connection_Manager - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
- -
-
-
-
- -
-
- -
-
- +
+
+
+
+ +
+ +
+ + - - - -
- -
-

Connection manager class to manage connections for the -Query method

-
-
- - - - - - - - - -
packageQuery
subpackageCore
-

- Methods

-
-

Parse the passed parameters and return a connection

-
connect(\ArrayObject $params) : \Query\Query_Builder
-
-
-
-

Parameters

-
-

$params

-\ArrayObject -
-

Exceptions

- - - -
\Query\BadConnectionException
-

Returns

- -
-
-
-

Returns the connection specified by the name given

-
get_connection(string|array|object $name = '') : \Query\Query_Builder
-
-
-
-

Parameters

-
-

$name

-stringarrayobject -
-

Exceptions

- - - -
\Query\InvalidArgumentException
-

Returns

- -
-
-
-

Return a connection manager instance

-
get_instance() : \Query\Connection_Manager
-
Static
-
-
- - - -
staticvarnull $instance
-

Returns

- -
-
-
-

Private clone method to prevent cloning

-
__clone() 
-
-
-
- - - -
codeCoverageIgnore
-
-
-
-

Private constructor to prevent multiple instances

-
__construct() 
-
-
-
- - - -
codeCoverageIgnore
-
-
-
-

Make sure serialize/deseriaze doesn't work

-
__wakeup() 
-
-
-
- - - -
codeCoverageIgnore
-

Exceptions

- - - -
\Query\DomainException
-
-
-
-

Create the dsn from the db type and params

-
create_dsn(string $dbtype, \ArrayObject $params) : string
-
-
-
-

Parameters

-
-

$dbtype

-string -
-
-

$params

-\ArrayObject -
-

Returns

-
string
-
-
-
-

Parses params into a dsn and option array

-
parse_params(\ArrayObject $params) 
-
-
-
-

Parameters

-
-

$params

-\ArrayObject -
-

Exceptions

- - - -
\Query\BadDBDriverException
-
-
-

- Properties

- 
-

Map of named database connections

-
$connections : array
-
-

Default

-
array()
-
-
-
-
- 
-

Class instance variable

-
$instance : \Query\Connection_Manager
-
-

Default

-
null
-
-
Static
-
-
-
-
-
- -
+
  • Query_Builder_Interface
  • +
  • Query_Parser
  • +
  • Query_Builder
  • +
  • BadDBDriverException
  • +
  • Connection_Manager
  • + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \QueryConnection_Manager

    +

    Connection manager class to manage connections for the +Query method

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + get_instance()
    + get_connection()
    + connect()
    +
    +
    + No public properties found +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + No protected properties found +
    +
    + N/A +
    +
    +
    +
    + __construct()
    + __clone()
    + __wakeup()
    + parse_params()
    + create_dsn()
    +
    +
    + $connections
    + $instance
    +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + +
    +

    $connections

    +
    $connections : array
    +

    Map of named database connections

    + + +

    Type

    + array +
    +
    + +
    + +
    +
    + + +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    get_instance()

    + +
    get_instance() : \Query\Connection_Manager
    +

    Return a connection manager instance

    + + + + +

    Returns

    + \Query\Connection_Manager +
    +
    + +
    + +
    +
    + +
    +

    get_connection()

    + +
    get_connection(string|array|object $name) : \Query\Query_Builder
    +

    Returns the connection specified by the name given

    + + +

    Parameters

    + + + + + + +
    string|array|object$name
    + +

    Throws

    +
    +
    \Query\InvalidArgumentException
    +
    +
    + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    connect()

    + +
    connect(\ArrayObject $params) : \Query\Query_Builder
    +

    Parse the passed parameters and return a connection

    + + +

    Parameters

    + + + + + + +
    \ArrayObject$params
    + +

    Throws

    +
    +
    \Query\BadConnectionException
    +
    +
    + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    __construct()

    + +
    __construct()
    +

    Private constructor to prevent multiple instances

    + + + + +
    +
    + +
    + +
    +
    + +
    +

    __clone()

    + +
    __clone()
    +

    Private clone method to prevent cloning

    + + + + +
    +
    + +
    + +
    +
    + +
    +

    __wakeup()

    + +
    __wakeup()
    +

    Make sure serialize/deseriaze doesn't work

    + + + +

    Throws

    +
    +
    \Query\DomainException
    +
    +
    + +
    +
    + +
    + +
    +
    + +
    +

    parse_params()

    + +
    parse_params(\ArrayObject $params)
    +

    Parses params into a dsn and option array

    + + +

    Parameters

    + + + + + + +
    \ArrayObject$params
    + +

    Throws

    +
    +
    \Query\BadDBDriverException
    +
    +
    + +
    +
    + +
    + +
    +
    + +
    +

    create_dsn()

    + +
    create_dsn(string $dbtype, \ArrayObject $params) : string
    +

    Create the dsn from the db type and params

    + + +

    Parameters

    + + + + + + + + + + + +
    string$dbtype
    \ArrayObject$params
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Driver.Abstract_Driver.html b/docs/classes/Query.Driver.Abstract_Driver.html index 3db5a0c..d801f5c 100644 --- a/docs/classes/Query.Driver.Abstract_Driver.html +++ b/docs/classes/Query.Driver.Abstract_Driver.html @@ -1,612 +1,1701 @@ - + + - - - -Query » \Query\Driver\Abstract_Driver - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    - +
    +
    +
    + + +
    + +
    + + - - - -
    - -
    -

    Base Database class

    -
    -
    Extends PDO to simplify cross-database issues
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Allow invoke to work on table object

    -
    __call(string $name, array $args = array()
    -
    -
    -
    -

    Parameters

    -
    -

    $name

    -string -
    -
    -

    $args

    -array -
    -
    -
    -
    -

    PDO constructor wrapper

    -
    __construct(string $dsn, string $username = NULL, string $password = NULL, array $driver_options = array()
    -
    -
    -
    -

    Parameters

    -
    -

    $dsn

    -string -
    -
    -

    $username

    -string -
    -
    -

    $password

    -string -
    -
    -

    $driver_options

    -array -
    -
    -
    -
    -

    Helper method for quote_ident

    -
    _quote(mixed $str) : mixed
    -
    -
    -
    -

    Parameters

    -
    -

    $str

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Returns number of rows affected by an INSERT, UPDATE, DELETE type query

    -
    affected_rows() : int
    -
    -
    -
    -

    Returns

    -
    int
    -
    -
    -
    -

    Method to simplify retreiving db results for meta-data queries

    -
    driver_query(string|array|null $query, bool $filtered_index = TRUE) : array
    -
    -
    -
    -

    Parameters

    -
    -

    $query

    -stringarraynull -
    -
    -

    $filtered_index

    -bool -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retrieve column information for the current database table

    -
    get_columns(string $table) : array
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of dbs for the current connection, if possible

    -
    get_dbs() : array
    -
    -
    -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retrieve foreign keys for the table

    -
    get_fks(string $table) : array
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of function for the current database

    -
    get_functions() : array
    -
    -
    -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retrieve indexes for the table

    -
    get_indexes(string $table) : array
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of stored procedures for the current database

    -
    get_procedures() : array
    -
    -
    -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return schemas for databases that list them

    -
    get_schemas() : array
    -
    -
    -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of sequences for the current database, if they exist

    -
    get_sequences() : array
    -
    -
    -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retreives an array of non-user-created tables for -the connection/database

    -
    get_system_tables() : array
    -
    -
    -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of tables for the current database

    -
    get_tables() : array
    -
    -
    -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of triggers for the current database

    -
    get_triggers() : array
    -
    -
    -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retrieve list of data types for the database

    -
    get_types() : array
    -
    -
    -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of views for the current database

    -
    get_views() : array
    -
    -
    -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Create sql for batch insert

    -
    insert_batch(string $table, array $data = array()) : array
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $data

    -array -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return the number of rows returned for a SELECT query

    -
    num_rows() : int
    -
    -
    -
    - - - -
    see
    -

    Returns

    -
    int
    -
    -
    -
    -

    Prefixes a table if it is not already prefixed

    -
    prefix_table(string $table) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Create and execute a prepared statement with the provided parameters

    -
    prepare_execute(string $sql, array $params) : \PDOStatement
    -
    -
    -
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $params

    -array -
    -

    Returns

    - -
    -
    -
    -

    Simplifies prepared statements for database queries

    -
    prepare_query(string $sql, array $data) : \PDOStatement
    -
    -
    -
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $data

    -array -
    -

    Exceptions

    - - - -
    \InvalidArgumentException
    -

    Returns

    -
    -\PDOStatement| FALSE
    -
    -
    -
    -

    Surrounds the string with the databases identifier escape characters

    -
    quote_ident(mixed $ident) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $ident

    -mixed -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Quote database table name, and set prefix

    -
    quote_table(string $table) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Empty the passed table

    -
    truncate(string $table) : void
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -
    -
    -

    Sets the table prefix on the passed string

    -
    _prefix(string $str) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $str

    -string -
    -

    Returns

    -
    string
    -
    -
    -

    - Properties

    - 
    -

    Last query executed

    -
    $last_query : string
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Reference to sql class

    -
    $sql : \Query\Driver\SQL_Interface
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Reference to table_builder class

    -
    $table : \Query\Table\Table_Builder
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Prefix to apply to table names

    -
    $table_prefix : string
    -
    -

    Default

    -
    ''
    -
    -
    -
    -
    - 
    -

    Reference to util class

    -
    $util : \Query\Driver\DB_Util
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Character to escape indentifiers

    -
    $escape_char : string
    -
    -

    Default

    -
    '"'
    -
    -
    -
    -
    - 
    -

    Reference to the last executed query

    -
    $statement : \Query\Driver\PDOStatement
    -
    -

    Default

    -
    -
    -
    -
    -
    -
    -
    -
    - -
    +
  • Query_Builder_Interface
  • +
  • Query_Parser
  • +
  • Query_Builder
  • +
  • BadDBDriverException
  • +
  • Connection_Manager
  • + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\DriverAbstract_Driver

    +

    Base Database class

    +

    Extends PDO to simplify cross-database issues

    + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + __construct()
    + __call()
    + prepare_query()
    + prepare_execute()
    + affected_rows()
    + prefix_table()
    + quote_table()
    + quote_ident()
    + _quote()
    + get_schemas()
    + get_tables()
    + get_dbs()
    + get_views()
    + get_sequences()
    + get_functions()
    + get_procedures()
    + get_triggers()
    + get_system_tables()
    + get_columns()
    + get_fks()
    + get_indexes()
    + get_types()
    + driver_query()
    + num_rows()
    + truncate()
    + insert_batch()
    +
    +
    + $sql
    + $util
    + $table
    + $last_query
    + $table_prefix
    +
    +
    + No constants found +
    +
    +
    +
    + _prefix()
    +
    +
    + $statement
    + $escape_char
    +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + No private properties found +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    + +
    +

    $util

    +
    $util : \Query\Driver\DB_Util
    +

    Reference to util class

    + + +

    Type

    + \Query\Driver\DB_Util +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    + +
    +

    $last_query

    +
    $last_query : string
    +

    Last query executed

    + + +

    Type

    + string +
    +
    + +
    + +
    +
    + +
    +

    $table_prefix

    +
    $table_prefix : string
    +

    Prefix to apply to table names

    + + +

    Type

    + string +
    +
    + +
    + +
    +
    + +
    +

    $statement

    +
    $statement : \Query\Driver\PDOStatement
    +

    Reference to the last executed query

    + + +

    Type

    + \Query\Driver\PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    $escape_char

    +
    $escape_char : string
    +

    Character to escape indentifiers

    + + +

    Type

    + string +
    +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    __construct()

    + +
    __construct(string $dsn, string $username, string $password, array $driver_options)
    +

    PDO constructor wrapper

    + + +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + +
    string$dsn
    string$username
    string$password
    array$driver_options
    + + +
    +
    + +
    + +
    +
    + +
    +

    __call()

    + +
    __call(string $name, array $args)
    +

    Allow invoke to work on table object

    + + +

    Parameters

    + + + + + + + + + + + +
    string$name
    array$args
    + + +
    +
    + +
    + +
    +
    + +
    +

    prepare_query()

    + +
    prepare_query(string $sql, array $data) : \PDOStatement
    +

    Simplifies prepared statements for database queries

    + + +

    Parameters

    + + + + + + + + + + + +
    string$sql
    array$data
    + +

    Throws

    +
    +
    \InvalidArgumentException
    +
    +
    + +

    Returns

    + \PDOStatement + —

    | FALSE

    +
    +
    + +
    + +
    +
    + +
    +

    prepare_execute()

    + +
    prepare_execute(string $sql, array $params) : \PDOStatement
    +

    Create and execute a prepared statement with the provided parameters

    + + +

    Parameters

    + + + + + + + + + + + +
    string$sql
    array$params
    + + +

    Returns

    + \PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    affected_rows()

    + +
    affected_rows() : int
    +

    Returns number of rows affected by an INSERT, UPDATE, DELETE type query

    + + + + +

    Returns

    + int +
    +
    + +
    + +
    +
    + +
    +

    prefix_table()

    + +
    prefix_table(string $table) : string
    +

    Prefixes a table if it is not already prefixed

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_table()

    + +
    quote_table(string $table) : string
    +

    Quote database table name, and set prefix

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_ident()

    + +
    quote_ident(mixed $ident) : string
    +

    Surrounds the string with the databases identifier escape characters

    + + +

    Parameters

    + + + + + + +
    mixed$ident
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    _quote()

    + +
    _quote(mixed $str) : mixed
    +

    Helper method for quote_ident

    + + +

    Parameters

    + + + + + + +
    mixed$str
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    get_schemas()

    + +
    get_schemas() : array
    +

    Return schemas for databases that list them

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_tables()

    + +
    get_tables() : array
    +

    Return list of tables for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_dbs()

    + +
    get_dbs() : array
    +

    Return list of dbs for the current connection, if possible

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_views()

    + +
    get_views() : array
    +

    Return list of views for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_sequences()

    + +
    get_sequences() : array
    +

    Return list of sequences for the current database, if they exist

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_functions()

    + +
    get_functions() : array
    +

    Return list of function for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_procedures()

    + +
    get_procedures() : array
    +

    Return list of stored procedures for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_triggers()

    + +
    get_triggers() : array
    +

    Return list of triggers for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_system_tables()

    + +
    get_system_tables() : array
    +

    Retreives an array of non-user-created tables for +the connection/database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_columns()

    + +
    get_columns(string $table) : array
    +

    Retrieve column information for the current database table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_fks()

    + +
    get_fks(string $table) : array
    +

    Retrieve foreign keys for the table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_indexes()

    + +
    get_indexes(string $table) : array
    +

    Retrieve indexes for the table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_types()

    + +
    get_types() : array
    +

    Retrieve list of data types for the database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    driver_query()

    + +
    driver_query(string|array|null $query, bool $filtered_index) : array
    +

    Method to simplify retreiving db results for meta-data queries

    + + +

    Parameters

    + + + + + + + + + + + +
    string|array|null$query
    bool$filtered_index
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    num_rows()

    + +
    num_rows() : int
    +

    Return the number of rows returned for a SELECT query

    + + + + +

    Returns

    + int +
    +
    + +
    + +
    +
    + +
    +

    truncate()

    + +
    truncate(string $table) : void
    +

    Empty the passed table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +
    +
    + +
    + +
    +
    + +
    +

    insert_batch()

    + +
    insert_batch(string $table, array $data) : array
    +

    Create sql for batch insert

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    array$data
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    _prefix()

    + +
    _prefix(string $str) : string
    +

    Sets the table prefix on the passed string

    + + +

    Parameters

    + + + + + + +
    string$str
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Driver.Abstract_SQL.html b/docs/classes/Query.Driver.Abstract_SQL.html index 92271ee..8c6442a 100644 --- a/docs/classes/Query.Driver.Abstract_SQL.html +++ b/docs/classes/Query.Driver.Abstract_SQL.html @@ -1,131 +1,447 @@ - + + - - - -Query » \Query\Driver\Abstract_SQL - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -

    parent for database manipulation subclasses

    -
    -
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Limit clause

    -
    limit(string $sql, int $limit, int $offset = FALSE) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    -
    string
    -
    -
    -
    -
    -
    -
    -
    + +
    +
    + +
    +
    +
    +
    +
    + + + +

    \Query\DriverAbstract_SQL

    +

    parent for database manipulation subclasses

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + limit()
    +
    +
    + No public properties found +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + No protected properties found +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + No private properties found +
    +
    + N/A +
    +
    +
    +
    + +
    + + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    limit()

    + +
    limit(string $sql, int $limit, int $offset) : string
    +

    Limit clause

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$sql
    int$limit
    int$offset
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + + + +
    + diff --git a/docs/classes/Query.Driver.Abstract_Util.html b/docs/classes/Query.Driver.Abstract_Util.html index 68d70eb..ed61414 100644 --- a/docs/classes/Query.Driver.Abstract_Util.html +++ b/docs/classes/Query.Driver.Abstract_Util.html @@ -1,284 +1,758 @@ - + + - - - -Query » \Query\Driver\Abstract_Util - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    - -
    - -
    -

    Abstract class defining database / table creation methods

    -
    -
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Enable calling driver methods

    -
    __call(string $method, array $args) : mixed
    -
    -
    -
    -

    Parameters

    -
    -

    $method

    -string -
    -
    -

    $args

    -array -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Save a reference to the connection object for later use

    -
    __construct(\Query\Driver\Driver_Interface $conn) 
    -
    -
    -
    -

    Parameters

    - -
    -
    -
    -

    Return an SQL file with the database data as insert statements

    -
    backup_data() : string
    -
    -
    -
    - - - -
    abstract
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return an SQL file with the database table structure

    -
    backup_structure() : string
    -
    -
    -
    - - - -
    abstract
    -

    Returns

    -
    string
    -
    -
    -
    -

    Convienience public function to generate sql for creating a db table

    -
    create_table(string $name, array $fields, array $constraints = array()) : string
    -
    -
    -
    - - - -
    deprecatedUse the table builder class instead
    -

    Parameters

    -
    -

    $name

    -string -
    -
    -

    $fields

    -array -
    -
    -

    $constraints

    -array -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Drop the selected table

    -
    delete_table(string $name) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $name

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    quote_ident() -

    -
    quote_ident() : 
    -
    -
    -
    - - - - - - - - - -
    magic
    method
    -

    Returns

    -
    -
    -
    -
    -

    quote_table() -

    -
    quote_table() : 
    -
    -
    -
    - - - - - - - - - -
    magic
    method
    -

    Returns

    -
    -
    -
    -

    - Properties

    - 
    -

    Reference to the current connection object

    -
    $conn 
    -
    -

    Default

    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    +
  • Abstract_Table
  • +
  • Table_Builder
  • +
  • Table_Foreign_Key
  • +
  • Table_Column
  • +
  • Table_Index
  • + +
    +
    + + + +
    + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\DriverAbstract_Util

    +

    Abstract class defining database / table creation methods

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + __construct()
    + __call()
    + create_table()
    + delete_table()
    + backup_structure()
    + backup_data()
    + quote_ident()
    + quote_table()
    +
    +
    + No public properties found +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + No protected properties found +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + $conn
    +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + +
    +

    $conn

    +
    $conn
    +

    Reference to the current connection object

    + + +
    +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    __construct()

    + +
    __construct(\Query\Driver\Driver_Interface $conn)
    +

    Save a reference to the connection object for later use

    + + +

    Parameters

    + + + + + + +
    \Query\Driver\Driver_Interface$conn
    + + +
    +
    + +
    + +
    +
    + +
    +

    __call()

    + +
    __call(string $method, array $args) : mixed
    +

    Enable calling driver methods

    + + +

    Parameters

    + + + + + + + + + + + +
    string$method
    array$args
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    create_table()

    + +
    create_table(string $name, array $fields, array $constraints) : string
    +

    Convienience public function to generate sql for creating a db table

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$name
    array$fields
    array$constraints
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    delete_table()

    + +
    delete_table(string $name) : string
    +

    Drop the selected table

    + + +

    Parameters

    + + + + + + +
    string$name
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    backup_structure()

    + +
    backup_structure() : string
    +

    Return an SQL file with the database table structure

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    backup_data()

    + +
    backup_data() : string
    +

    Return an SQL file with the database data as insert statements

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_ident()

    + +
    quote_ident(string $sql) : string
    +

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_table()

    + +
    quote_table(string $sql) : string
    +

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Driver.Driver_Interface.html b/docs/classes/Query.Driver.Driver_Interface.html index 92b70e7..72a144f 100644 --- a/docs/classes/Query.Driver.Driver_Interface.html +++ b/docs/classes/Query.Driver.Driver_Interface.html @@ -1,244 +1,734 @@ - + + - - - -Query » \Query\Driver\Driver_Interface - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    - -
    - -
    -

    PDO Interface to implement for database drivers

    -
    -
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Constructor/Connection method

    -
    __construct(string $dsn, \Query\Driver\[string] $username = NULL, \Query\Driver\[string] $password = NULL, \Query\Driver\[array] $driver_options = array()) : void
    -
    -
    -
    -

    Parameters

    -
    -

    $dsn

    -string -
    -
    -

    $username

    -\Query\Driver\[string] -
    -
    -

    $password

    -\Query\Driver\[string] -
    -
    -

    $driver_options

    -\Query\Driver\[array] -
    -
    -
    -
    -

    Begin a transaction

    -
    beginTransaction() : bool
    -
    -
    -
    -

    Returns

    -
    bool
    -
    -
    -
    -

    Commit a transaction

    -
    commit() : bool
    -
    -
    -
    -

    Returns

    -
    bool
    -
    -
    -
    -

    Return the current error code

    -
    errorCode() : mixed
    -
    -
    -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Return information about the current error

    -
    errorInfo() : array
    -
    -
    -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Execute an SQL statement and return the number of affected rows

    -
    exec(string $statement) : int
    -
    -
    -
    -

    Parameters

    -
    -

    $statement

    -string -
    -

    Returns

    -
    int
    -
    -
    -
    -

    Get a connection attribute for the current db driver

    -
    getAttribute(int $attribute) 
    -
    -
    -
    - - - -
    returmmixed
    -

    Parameters

    -
    -

    $attribute

    -int -
    -
    -
    -
    -

    Rollback a transaction

    -
    rollback() : bool
    -
    -
    -
    -

    Returns

    -
    bool
    -
    -
    -
    -

    Set a connection attribute

    -
    setAttribute(int $attribute, mixed $value) : bool
    -
    -
    -
    -

    Parameters

    -
    -

    $attribute

    -int -
    -
    -

    $value

    -mixed -
    -

    Returns

    -
    bool
    -
    -
    -
    -
    -
    -
    -
    +
  • Abstract_Table
  • +
  • Table_Builder
  • +
  • Table_Foreign_Key
  • +
  • Table_Column
  • +
  • Table_Index
  • + +
    + + + + +
    + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\DriverDriver_Interface

    +

    PDO Interface to implement for database drivers

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Constants +
    +
    +
    +
    + __construct()
    + beginTransaction()
    + commit()
    + errorCode()
    + errorInfo()
    + exec()
    + getAttribute()
    + rollback()
    + setAttribute()
    +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + N/A +
    +
    +
    +
    + +
    + + +
    +
    +

    Methods

    +
    + +
    + +
    +
    + +
    +

    __construct()

    + +
    __construct(string $dsn, \Query\Driver\[string] $username, \Query\Driver\[string] $password, \Query\Driver\[array] $driver_options) : void
    +

    Constructor/Connection method

    + + +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + +
    string$dsn
    \Query\Driver\[string]$username
    \Query\Driver\[string]$password
    \Query\Driver\[array]$driver_options
    + + +
    +
    + +
    + +
    +
    + +
    +

    beginTransaction()

    + +
    beginTransaction() : bool
    +

    Begin a transaction

    + + + + +

    Returns

    + bool +
    +
    + +
    + +
    +
    + +
    +

    commit()

    + +
    commit() : bool
    +

    Commit a transaction

    + + + + +

    Returns

    + bool +
    +
    + +
    + +
    +
    + +
    +

    errorCode()

    + +
    errorCode() : mixed
    +

    Return the current error code

    + + + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    errorInfo()

    + +
    errorInfo() : array
    +

    Return information about the current error

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    exec()

    + +
    exec(string $statement) : int
    +

    Execute an SQL statement and return the number of affected rows

    + + +

    Parameters

    + + + + + + +
    string$statement
    + + +

    Returns

    + int +
    +
    + +
    + +
    +
    + +
    +

    getAttribute()

    + +
    getAttribute(int $attribute)
    +

    Get a connection attribute for the current db driver

    + + +

    Parameters

    + + + + + + +
    int$attribute
    + + +
    +
    + +
    + +
    +
    + +
    +

    rollback()

    + +
    rollback() : bool
    +

    Rollback a transaction

    + + + + +

    Returns

    + bool +
    +
    + +
    + +
    +
    + +
    +

    setAttribute()

    + +
    setAttribute(int $attribute, mixed $value) : bool
    +

    Set a connection attribute

    + + +

    Parameters

    + + + + + + + + + + + +
    int$attribute
    mixed$value
    + + +

    Returns

    + bool +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Driver.Firebird.html b/docs/classes/Query.Driver.Firebird.html index a7ef988..a8bb6a0 100644 --- a/docs/classes/Query.Driver.Firebird.html +++ b/docs/classes/Query.Driver.Firebird.html @@ -1,504 +1,2492 @@ - + + - - - -Query » \Query\Driver\Firebird - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - - +
    + + +
    +
    +
    + + Driver +
    +
    + -
    - -
    -

    Firebird Database class

    -
    -
    PDO-firebird isn't stable, so this is a wrapper of the fbird_ public functions.
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Open the link to the database

    -
    __construct(string $dbpath, string $user = 'SYSDBA', string $pass = 'masterkey', array $options = array()
    -
    -
    -
    -

    Parameters

    -
    -

    $dbpath

    -string -
    -
    -

    $user

    -string -
    -
    -

    $pass

    -string -
    -
    -

    $options

    -array -
    -
    -
    -
    -

    Cleanup some loose ends

    -
    __destruct() 
    -
    -
    -
    - - - -
    codeCoverageIgnore
    -
    -
    -
    -

    Start a database transaction

    -
    beginTransaction() : boolean | null
    -
    -
    -
    -

    Returns

    -
    -booleannull -
    -
    -
    -
    -

    Commit a database transaction

    -
    commit() : bool
    -
    -
    -
    -

    Returns

    -
    bool
    -
    -
    -
    -

    Method to emulate PDO->errorCode

    -
    errorCode() : array
    -
    -
    -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Method to emulate PDO->errorInfo / PDOStatement->errorInfo

    -
    errorInfo() : array
    -
    -
    -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Execute an sql statement and return number of affected rows

    -
    exec(string $sql) : int
    -
    -
    -
    -

    Parameters

    -
    -

    $sql

    -string -
    -

    Returns

    -
    int
    -
    -
    -
    -

    Implement for compatibility with PDO

    -
    getAttribute(int $attribute) : mixed
    -
    -
    -
    -

    Parameters

    -
    -

    $attribute

    -int -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Return service handle

    -
    get_service() : resource
    -
    -
    -
    -

    Returns

    -
    resource
    -
    -
    -
    -

    Return whether the current statement is in a transaction

    -
    inTransaction() : bool
    -
    -
    -
    -

    Returns

    -
    bool
    -
    -
    -
    -

    Create sql for batch insert

    -
    insert_batch(string $table, array $data = array()) : array
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $data

    -array -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Returns the last value of the specified generator

    -
    lastInsertId(string $name = NULL) : mixed
    -
    -
    -
    -

    Parameters

    -
    -

    $name

    -string -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Emulate PDO prepare

    -
    prepare(string $query, array $options = array()) : \Query\Driver\Firebird_Result
    -
    -
    -
    -

    Parameters

    -
    -

    $query

    -string -
    -
    -

    $options

    -array -
    -

    Exceptions

    - - - -
    \Query\Driver\PDOException
    -

    Returns

    - -
    -
    -
    -

    Prepare and execute a query

    -
    prepare_execute(string $sql, array $args) : \Query\Driver\Firebird_Result
    -
    -
    -
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $args

    -array -
    -

    Returns

    - -
    -
    -
    -

    Bind a prepared query with arguments for executing

    -
    prepare_query(string $sql, array $params) : NULL
    -
    -
    -
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $params

    -array -
    -

    Returns

    -
    NULL
    -
    -
    -
    -

    Wrapper public function to better match PDO

    -
    query(string $sql = '') : \Query\Driver\Firebird_Result
    -
    -
    -
    -

    Parameters

    -
    -

    $sql

    -string -
    -

    Exceptions

    - - - -
    \Query\Driver\PDOException
    -

    Returns

    - -
    -
    -
    -

    Method to emulate PDO->quote

    -
    quote(string $str, int $param_type = \PDO::PARAM_STR) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $str

    -string -
    -
    -

    $param_type

    -int -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Rollback a transaction

    -
    rollBack() : bool
    -
    -
    -
    -

    Returns

    -
    bool
    -
    -
    -
    -

    Set a connection attribute

    -
    setAttribute(int $attribute, mixed $value) : bool
    -
    -
    -
    -

    Parameters

    -
    -

    $attribute

    -int -
    -
    -

    $value

    -mixed -
    -

    Returns

    -
    bool
    -
    -
    -
    -

    Empty a database table

    -
    truncate(string $table) 
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -
    -

    - Properties

    - 
    -

    Reference to the connection resource

    -
    $conn : resource
    -
    -

    Default

    -
    NULL
    -
    -
    -
    -
    - 
    -

    Reference to the service resource

    -
    $service : resource
    -
    -

    Default

    -
    NULL
    -
    -
    -
    -
    - 
    -

    Reference to the last query executed

    -
    $statement : object
    -
    -

    Default

    -
    NULL
    -
    -
    -
    -
    -  - 
    -

    Reference to the current transaction

    -
    $trans : resource
    -
    -

    Default

    -
    NULL
    -
    -
    -
    -
    -
    -
    -
    -
    -
    +
  • SQL_Interface
  • +
  • Driver_Interface
  • +
  • Abstract_SQL
  • +
  • Firebird_Result
  • +
  • Firebird_Util
  • +
  • Firebird
  • +
  • MySQL_Util
  • +
  • Abstract_Util
  • +
  • Abstract_Driver
  • +
  • SQLite_Util
  • +
  • PgSQL_Util
  • +
  • PgSQL_SQL
  • +
  • MySQL_SQL
  • +
  • Firebird_SQL
  • +
  • SQLite
  • +
  • SQLite_SQL
  • +
  • PgSQL
  • +
  • MySQL
  • + +
    +
    + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\DriverFirebird

    +

    Firebird Database class

    +

    PDO-firebird isn't stable, so this is a wrapper of the fbird_ public functions.

    + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + __construct()
    + __destruct()
    + get_service()
    + truncate()
    + exec()
    + getAttribute()
    + inTransaction()
    + lastInsertId()
    + query()
    + prepare()
    + beginTransaction()
    + commit()
    + rollBack()
    + setAttribute()
    + prepare_execute()
    + quote()
    + errorInfo()
    + errorCode()
    + prepare_query()
    + insert_batch()
    + __call()
    + affected_rows()
    + prefix_table()
    + quote_table()
    + quote_ident()
    + _quote()
    + get_schemas()
    + get_tables()
    + get_dbs()
    + get_views()
    + get_sequences()
    + get_functions()
    + get_procedures()
    + get_triggers()
    + get_system_tables()
    + get_columns()
    + get_fks()
    + get_indexes()
    + get_types()
    + driver_query()
    + num_rows()
    +
    +
    + $sql
    + $util
    + $table
    + $last_query
    + $table_prefix
    +
    +
    + No constants found +
    +
    +
    +
    + _prefix()
    +
    +
    + $statement
    + $statement_link
    + $trans
    + $conn
    + $service
    + $escape_char
    +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + No private properties found +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    + +
    +

    $util

    +
    $util : \Query\Driver\DB_Util
    +

    Reference to util class

    + + +

    Type

    + \Query\Driver\DB_Util +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    + +
    +

    $last_query

    +
    $last_query : string
    +

    Last query executed

    + + +

    Type

    + string +
    +
    + +
    + +
    +
    + +
    +

    $table_prefix

    +
    $table_prefix : string
    +

    Prefix to apply to table names

    + + +

    Type

    + string +
    +
    + +
    + +
    +
    + +
    +

    $statement

    +
    $statement : \Query\Driver\PDOStatement
    +

    Reference to the last executed query

    + + +

    Type

    + \Query\Driver\PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    $statement_link

    +
    $statement_link : resource
    +

    Reference to the resource returned by +the last query executed

    + + +

    Type

    + resource +
    +
    + +
    + +
    +
    + +
    +

    $trans

    +
    $trans : resource
    +

    Reference to the current transaction

    + + +

    Type

    + resource +
    +
    + +
    + +
    +
    + +
    +

    $conn

    +
    $conn : resource
    +

    Reference to the connection resource

    + + +

    Type

    + resource +
    +
    + +
    + +
    +
    + +
    +

    $service

    +
    $service : resource
    +

    Reference to the service resource

    + + +

    Type

    + resource +
    +
    + +
    + +
    +
    + +
    +

    $escape_char

    +
    $escape_char : string
    +

    Character to escape indentifiers

    + + +

    Type

    + string +
    +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    __construct()

    + +
    __construct(string $dsn, string $username, string $password, array $driver_options)
    +

    PDO constructor wrapper

    + + +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + +
    string$dsn
    string$username
    string$password
    array$driver_options
    + + +
    +
    + +
    + +
    +
    + +
    +

    __destruct()

    + +
    __destruct()
    +

    Cleanup some loose ends

    + + + + +
    +
    + +
    + +
    +
    + +
    +

    get_service()

    + +
    get_service() : resource
    +

    Return service handle

    + + + + +

    Returns

    + resource +
    +
    + +
    + +
    +
    + +
    +

    truncate()

    + +
    truncate(string $table) : void
    +

    Empty the passed table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +
    +
    + +
    + +
    +
    + +
    +

    exec()

    + +
    exec(string $sql) : int
    +

    Execute an sql statement and return number of affected rows

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + int +
    +
    + +
    + +
    +
    + +
    +

    getAttribute()

    + +
    getAttribute(int $attribute) : mixed
    +

    Implement for compatibility with PDO

    + + +

    Parameters

    + + + + + + +
    int$attribute
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    inTransaction()

    + +
    inTransaction() : bool
    +

    Return whether the current statement is in a transaction

    + + + + +

    Returns

    + bool +
    +
    + +
    + +
    +
    + +
    +

    lastInsertId()

    + +
    lastInsertId(string $name) : mixed
    +

    Returns the last value of the specified generator

    + + +

    Parameters

    + + + + + + +
    string$name
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    query()

    + +
    query(string $sql) : \Query\Driver\Firebird_Result
    +

    Wrapper public function to better match PDO

    + + +

    Parameters

    + + + + + + +
    string$sql
    + +

    Throws

    +
    +
    \Query\Driver\PDOException
    +
    +
    + +

    Returns

    + \Query\Driver\Firebird_Result +
    +
    + +
    + +
    +
    + +
    +

    prepare()

    + +
    prepare(string $query, array $options) : \Query\Driver\Firebird_Result
    +

    Emulate PDO prepare

    + + +

    Parameters

    + + + + + + + + + + + +
    string$query
    array$options
    + +

    Throws

    +
    +
    \Query\Driver\PDOException
    +
    +
    + +

    Returns

    + \Query\Driver\Firebird_Result +
    +
    + +
    + +
    +
    + +
    +

    beginTransaction()

    + +
    beginTransaction() : boolean|null
    +

    Start a database transaction

    + + + + +

    Returns

    + boolean|null +
    +
    + +
    + +
    +
    + +
    +

    commit()

    + +
    commit() : bool
    +

    Commit a database transaction

    + + + + +

    Returns

    + bool +
    +
    + +
    + +
    +
    + +
    +

    rollBack()

    + +
    rollBack() : bool
    +

    Rollback a transaction

    + + + + +

    Returns

    + bool +
    +
    + +
    + +
    +
    + +
    +

    setAttribute()

    + +
    setAttribute(int $attribute, mixed $value) : bool
    +

    Set a connection attribute

    + + +

    Parameters

    + + + + + + + + + + + +
    int$attribute
    mixed$value
    + + +

    Returns

    + bool +
    +
    + +
    + +
    +
    + +
    +

    prepare_execute()

    + +
    prepare_execute(string $sql, array $params) : \PDOStatement
    +

    Create and execute a prepared statement with the provided parameters

    + + +

    Parameters

    + + + + + + + + + + + +
    string$sql
    array$params
    + + +

    Returns

    + \PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    quote()

    + +
    quote(string $str, int $param_type) : string
    +

    Method to emulate PDO->quote

    + + +

    Parameters

    + + + + + + + + + + + +
    string$str
    int$param_type
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    errorInfo()

    + +
    errorInfo() : array
    +

    Method to emulate PDO->errorInfo / PDOStatement->errorInfo

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    errorCode()

    + +
    errorCode() : array
    +

    Method to emulate PDO->errorCode

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    prepare_query()

    + +
    prepare_query(string $sql, array $data) : \PDOStatement
    +

    Simplifies prepared statements for database queries

    + + +

    Parameters

    + + + + + + + + + + + +
    string$sql
    array$data
    + +

    Throws

    +
    +
    \InvalidArgumentException
    +
    +
    + +

    Returns

    + \PDOStatement + —

    | FALSE

    +
    +
    + +
    + +
    +
    + +
    +

    insert_batch()

    + +
    insert_batch(string $table, array $data) : array
    +

    Create sql for batch insert

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    array$data
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    __call()

    + +
    __call(string $name, array $args)
    +

    Allow invoke to work on table object

    + + +

    Parameters

    + + + + + + + + + + + +
    string$name
    array$args
    + + +
    +
    + +
    + +
    +
    + +
    +

    affected_rows()

    + +
    affected_rows() : int
    +

    Returns number of rows affected by an INSERT, UPDATE, DELETE type query

    + + + + +

    Returns

    + int +
    +
    + +
    + +
    +
    + +
    +

    prefix_table()

    + +
    prefix_table(string $table) : string
    +

    Prefixes a table if it is not already prefixed

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_table()

    + +
    quote_table(string $table) : string
    +

    Quote database table name, and set prefix

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_ident()

    + +
    quote_ident(mixed $ident) : string
    +

    Surrounds the string with the databases identifier escape characters

    + + +

    Parameters

    + + + + + + +
    mixed$ident
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    _quote()

    + +
    _quote(mixed $str) : mixed
    +

    Helper method for quote_ident

    + + +

    Parameters

    + + + + + + +
    mixed$str
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    get_schemas()

    + +
    get_schemas() : array
    +

    Return schemas for databases that list them

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_tables()

    + +
    get_tables() : array
    +

    Return list of tables for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_dbs()

    + +
    get_dbs() : array
    +

    Return list of dbs for the current connection, if possible

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_views()

    + +
    get_views() : array
    +

    Return list of views for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_sequences()

    + +
    get_sequences() : array
    +

    Return list of sequences for the current database, if they exist

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_functions()

    + +
    get_functions() : array
    +

    Return list of function for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_procedures()

    + +
    get_procedures() : array
    +

    Return list of stored procedures for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_triggers()

    + +
    get_triggers() : array
    +

    Return list of triggers for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_system_tables()

    + +
    get_system_tables() : array
    +

    Retreives an array of non-user-created tables for +the connection/database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_columns()

    + +
    get_columns(string $table) : array
    +

    Retrieve column information for the current database table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_fks()

    + +
    get_fks(string $table) : array
    +

    Retrieve foreign keys for the table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_indexes()

    + +
    get_indexes(string $table) : array
    +

    Retrieve indexes for the table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_types()

    + +
    get_types() : array
    +

    Retrieve list of data types for the database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    driver_query()

    + +
    driver_query(string|array|null $query, bool $filtered_index) : array
    +

    Method to simplify retreiving db results for meta-data queries

    + + +

    Parameters

    + + + + + + + + + + + +
    string|array|null$query
    bool$filtered_index
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    num_rows()

    + +
    num_rows() : int
    +

    Return the number of rows returned for a SELECT query

    + + + + +

    Returns

    + int +
    +
    + +
    + +
    +
    + +
    +

    _prefix()

    + +
    _prefix(string $str) : string
    +

    Sets the table prefix on the passed string

    + + +

    Parameters

    + + + + + + +
    string$str
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Driver.Firebird_Result.html b/docs/classes/Query.Driver.Firebird_Result.html index 30bdb7f..9045e10 100644 --- a/docs/classes/Query.Driver.Firebird_Result.html +++ b/docs/classes/Query.Driver.Firebird_Result.html @@ -1,414 +1,1093 @@ - + + - - - -Query » \Query\Driver\Firebird_Result - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - - +
    + + +
    +
    +
    + + Driver +
    +
    +
    + + - - -
    -
    - -
    -

    Firebird result class to emulate PDOStatement Class - only implements -data-fetching methods

    -
    -
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Create the object by passing the resource for -the query

    -
    __construct(resource $link, \Query\Driver\[\Query\Driver\Firebird] $db = NULL
    -
    -
    -
    -

    Parameters

    -
    -

    $link

    -resource -
    - -
    -
    -
    -

    Invalidate method for data consistency

    -
    bindColumn(mixed $column, mixed $param, int $type = NULL, mixed $maxlen = NULL, array $driverdata = NULL) : NULL
    -
    -
    -
    -

    Parameters

    -
    -

    $column

    -mixed -
    -
    -

    $param

    -mixed -
    -
    -

    $type

    -int -
    -
    -

    $maxlen

    -mixed -
    -
    -

    $driverdata

    -array -
    -

    Returns

    -
    NULL
    -
    -
    -
    -

    Invalidate method for data consistency

    -
    bindParam(mixed $parameter, mixed $variable, int $data_type = NULL, mixed $maxlen = NULL, array $driverdata = NULL) : NULL
    -
    -
    -
    -

    Parameters

    -
    -

    $parameter

    -mixed -
    -
    -

    $variable

    -mixed -
    -
    -

    $data_type

    -int -
    -
    -

    $maxlen

    -mixed -
    -
    -

    $driverdata

    -array -
    -

    Returns

    -
    NULL
    -
    -
    -
    -

    Invalidate method for data consistency

    -
    bindValue(mixed $parameter, mixed $variable, int $data_type = NULL) : NULL
    -
    -
    -
    -

    Parameters

    -
    -

    $parameter

    -mixed -
    -
    -

    $variable

    -mixed -
    -
    -

    $data_type

    -int -
    -

    Returns

    -
    NULL
    -
    -
    -
    -

    Method to emulate PDOStatement->errorCode

    -
    errorCode() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Method to emulate PDO->errorInfo / PDOStatement->errorInfo

    -
    errorInfo() : array
    -
    -
    -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Run a prepared statement query

    -
    execute(array $args = NULL) : \Query\Driver\Firebird_Result
    -
    -
    -
    -

    Parameters

    -
    -

    $args

    -array -
    -

    Returns

    - -
    -
    -
    -

    Emulate PDO fetch public function

    -
    fetch(int $fetch_style = \PDO::FETCH_ASSOC, mixed $cursor_orientation = \PDO::FETCH_ORI_NEXT, mixed $cursor_offset = NULL) : mixed
    -
    -
    -
    -

    Parameters

    -
    -

    $fetch_style

    -int -
    -
    -

    $cursor_orientation

    -mixed -
    -
    -

    $cursor_offset

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Emulate PDO fetchAll public function

    -
    fetchAll(int $fetch_style = \PDO::FETCH_ASSOC, mixed $statement = NULL, mixed $ctor_args = NULL) : mixed
    -
    -
    -
    -

    Parameters

    -
    -

    $fetch_style

    -int -
    -
    -

    $statement

    -mixed -
    -
    -

    $ctor_args

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Emulate PDOStatement::fetchColumn

    -
    fetchColumn(int $column_num = 0) : mixed
    -
    -
    -
    -

    Parameters

    -
    -

    $column_num

    -int -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Emulate PDOStatement::fetchObject, but only for the default use

    -
    fetchObject(string $class_name = 'stdClass', array $ctor_args = array()) : \Query\Driver\stdClass
    -
    -
    -
    -

    Parameters

    -
    -

    $class_name

    -string -
    -
    -

    $ctor_args

    -array -
    -

    Returns

    - -
    -
    -
    -

    Return the number of rows affected by the previous query

    -
    rowCount() : int
    -
    -
    -
    -

    Returns

    -
    int
    -
    -
    -

    - Properties

    - 
    -

    Reference to the db drive to de-duplicate error functions

    -
    $db : \Query\Driver\Firebird
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Data pulled from query

    -
    $result 
    -
    -

    Default

    -
    array()
    -
    -
    -
    -
    - - - -
    param
    -
    -
    - 
    -

    Current row in result array

    -
    $row : int
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Reference to fbird resource

    -
    $statement : resource
    -
    -

    Default

    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    +
  • SQL_Interface
  • +
  • Driver_Interface
  • +
  • Abstract_SQL
  • +
  • Firebird_Result
  • +
  • Firebird_Util
  • +
  • Firebird
  • +
  • MySQL_Util
  • +
  • Abstract_Util
  • +
  • Abstract_Driver
  • +
  • SQLite_Util
  • +
  • PgSQL_Util
  • +
  • PgSQL_SQL
  • +
  • MySQL_SQL
  • +
  • Firebird_SQL
  • +
  • SQLite
  • +
  • SQLite_SQL
  • +
  • PgSQL
  • +
  • MySQL
  • + +
    +
    + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\DriverFirebird_Result

    +

    Firebird result class to emulate PDOStatement Class - only implements +data-fetching methods

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + __construct()
    + bindColumn()
    + bindParam()
    + bindValue()
    + execute()
    + fetch()
    + fetchAll()
    + fetchColumn()
    + fetchObject()
    + rowCount()
    + errorCode()
    + errorInfo()
    +
    +
    + No public properties found +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + No protected properties found +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + $statement
    + $row
    + $result
    + $db
    +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + +
    +

    $statement

    +
    $statement : resource
    +

    Reference to fbird resource

    + + +

    Type

    + resource +
    +
    + +
    + +
    +
    + +
    +

    $row

    +
    $row : int
    +

    Current row in result array

    + + +

    Type

    + int +
    +
    + +
    + +
    +
    + +
    +

    $result

    +
    $result
    +

    Data pulled from query

    + + +
    +
    + +
    + +
    +
    + +
    +

    $db

    +
    $db : \Query\Driver\Firebird
    +

    Reference to the db drive to de-duplicate error functions

    + + +

    Type

    + \Query\Driver\Firebird +
    +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    __construct()

    + +
    __construct(resource $link, \Query\Driver\[\Query\Driver\Firebird] $db)
    +

    Create the object by passing the resource for +the query

    + + +

    Parameters

    + + + + + + + + + + + +
    resource$link
    \Query\Driver\[\Query\Driver\Firebird]$db
    + + +
    +
    + +
    + +
    +
    + +
    +

    bindColumn()

    + +
    bindColumn(mixed $column, mixed $param, int $type, mixed $maxlen, array $driverdata) : NULL
    +

    Invalidate method for data consistency

    + + +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    mixed$column
    mixed$param
    int$type
    mixed$maxlen
    array$driverdata
    + + +

    Returns

    + NULL +
    +
    + +
    + +
    +
    + +
    +

    bindParam()

    + +
    bindParam(mixed $parameter, mixed $variable, int $data_type, mixed $maxlen, array $driverdata) : NULL
    +

    Invalidate method for data consistency

    + + +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    mixed$parameter
    mixed$variable
    int$data_type
    mixed$maxlen
    array$driverdata
    + + +

    Returns

    + NULL +
    +
    + +
    + +
    +
    + +
    +

    bindValue()

    + +
    bindValue(mixed $parameter, mixed $variable, int $data_type) : NULL
    +

    Invalidate method for data consistency

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    mixed$parameter
    mixed$variable
    int$data_type
    + + +

    Returns

    + NULL +
    +
    + +
    + +
    +
    + +
    +

    execute()

    + +
    execute(array $args) : \Query\Driver\Firebird_Result
    +

    Run a prepared statement query

    + + +

    Parameters

    + + + + + + +
    array$args
    + + +

    Returns

    + \Query\Driver\Firebird_Result +
    +
    + +
    + +
    +
    + +
    +

    fetch()

    + +
    fetch(int $fetch_style, mixed $cursor_orientation, mixed $cursor_offset) : mixed
    +

    Emulate PDO fetch public function

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    int$fetch_style
    mixed$cursor_orientation
    mixed$cursor_offset
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    fetchAll()

    + +
    fetchAll(int $fetch_style, mixed $statement, mixed $ctor_args) : mixed
    +

    Emulate PDO fetchAll public function

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    int$fetch_style
    mixed$statement
    mixed$ctor_args
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    fetchColumn()

    + +
    fetchColumn(int $column_num) : mixed
    +

    Emulate PDOStatement::fetchColumn

    + + +

    Parameters

    + + + + + + +
    int$column_num
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    fetchObject()

    + +
    fetchObject(string $class_name, array $ctor_args) : \Query\Driver\stdClass
    +

    Emulate PDOStatement::fetchObject, but only for the default use

    + + +

    Parameters

    + + + + + + + + + + + +
    string$class_name
    array$ctor_args
    + + +

    Returns

    + \Query\Driver\stdClass +
    +
    + +
    + +
    +
    + +
    +

    rowCount()

    + +
    rowCount() : int
    +

    Return the number of rows affected by the previous query

    + + + + +

    Returns

    + int +
    +
    + +
    + +
    +
    + +
    +

    errorCode()

    + +
    errorCode() : string
    +

    Method to emulate PDOStatement->errorCode

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    errorInfo()

    + +
    errorInfo() : array
    +

    Method to emulate PDO->errorInfo / PDOStatement->errorInfo

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Driver.Firebird_SQL.html b/docs/classes/Query.Driver.Firebird_SQL.html index 08e5efc..af422de 100644 --- a/docs/classes/Query.Driver.Firebird_SQL.html +++ b/docs/classes/Query.Driver.Firebird_SQL.html @@ -1,311 +1,959 @@ - + + - - - -Query » \Query\Driver\Firebird_SQL - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    - -
    - -
    -

    Firebird Specific SQL

    -
    -
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Return sql to list columns of the specified table

    -
    column_list(string $table) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list other databases

    -
    db_list() : NULL
    -
    -
    -
    -

    Returns

    -
    NULL
    -
    -
    -
    -

    Get the query plan for the sql query

    -
    explain(string $sql) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $sql

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the list of foreign keys for the current -table

    -
    fk_list($table) : string
    -
    -
    -
    - - - -
    parmastring $table
    -

    Parameters

    -

    $table

    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list functions

    -
    function_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the list of indexes for the current table

    -
    index_list(string $table) : array
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Limit clause

    -
    limit(string $sql, int $limit, int $offset = FALSE) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list stored procedures

    -
    procedure_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Random ordering keyword

    -
    random() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list sequences

    -
    sequence_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list system tables

    -
    system_table_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list tables

    -
    table_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list triggers

    -
    trigger_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    SQL to show list of field types

    -
    type_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list views

    -
    view_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -
    -
    -
    -
    +
  • Abstract_Table
  • +
  • Table_Builder
  • +
  • Table_Foreign_Key
  • +
  • Table_Column
  • +
  • Table_Index
  • + +
    + + + + +
    + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\DriverFirebird_SQL

    +

    Firebird Specific SQL

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + limit()
    + explain()
    + random()
    + db_list()
    + table_list()
    + system_table_list()
    + view_list()
    + trigger_list()
    + function_list()
    + procedure_list()
    + sequence_list()
    + column_list()
    + type_list()
    + fk_list()
    + index_list()
    +
    +
    + No public properties found +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + No protected properties found +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + No private properties found +
    +
    + N/A +
    +
    +
    +
    + +
    + + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    limit()

    + +
    limit(string $sql, int $limit, int $offset) : string
    +

    Limit clause

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$sql
    int$limit
    int$offset
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    explain()

    + +
    explain(string $sql) : string
    +

    Get the query plan for the sql query

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    random()

    + +
    random() : string
    +

    Random ordering keyword

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    db_list()

    + +
    db_list() : NULL
    +

    Returns sql to list other databases

    + + + + +

    Returns

    + NULL +
    +
    + +
    + +
    +
    + +
    +

    table_list()

    + +
    table_list() : string
    +

    Returns sql to list tables

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    system_table_list()

    + +
    system_table_list() : string
    +

    Returns sql to list system tables

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    view_list()

    + +
    view_list() : string
    +

    Returns sql to list views

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    trigger_list()

    + +
    trigger_list() : string
    +

    Returns sql to list triggers

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    function_list()

    + +
    function_list() : string
    +

    Return sql to list functions

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    procedure_list()

    + +
    procedure_list() : string
    +

    Return sql to list stored procedures

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    sequence_list()

    + +
    sequence_list() : string
    +

    Return sql to list sequences

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    column_list()

    + +
    column_list(string $table) : string
    +

    Return sql to list columns of the specified table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    type_list()

    + +
    type_list() : string
    +

    SQL to show list of field types

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    fk_list()

    + +
    fk_list(string $table) : string
    +

    Get the list of foreign keys for the current +table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    index_list()

    + +
    index_list(string $table) : array
    +

    Get the list of indexes for the current table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Driver.Firebird_Util.html b/docs/classes/Query.Driver.Firebird_Util.html index c7f9ad7..9ac6fa0 100644 --- a/docs/classes/Query.Driver.Firebird_Util.html +++ b/docs/classes/Query.Driver.Firebird_Util.html @@ -1,284 +1,897 @@ - + + - - - -Query » \Query\Driver\Firebird_Util - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    - -
    - -
    -

    Firebird-specific backup, import and creation methods

    -
    -
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Create an SQL backup file for the current database's data

    -
    backup_data(array $exclude = array(), bool $system_tables = FALSE) : string
    -
    -
    -
    - - - -
    codeCoverageIgnore
    -

    Parameters

    -
    -

    $exclude

    -array -
    -
    -

    $system_tables

    -bool -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Create an SQL backup file for the current database's structure

    -
    backup_structure() : string
    -
    -
    -
    - - - -
    codeCoverageIgnore
    -

    Returns

    -
    string
    -
    -
    -
    -

    Convienience public function to generate sql for creating a db table

    -
    create_table(string $name, array $fields, array $constraints = array()) : string
    -
    -
    -
    - - - -
    deprecatedUse the table builder class instead
    -

    Parameters

    -
    -

    $name

    -string -
    -
    -

    $fields

    -array -
    -
    -

    $constraints

    -array -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Drop the selected table

    -
    delete_table(string $name) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $name

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    get_service() -

    -
    get_service() : 
    -
    -
    -
    - - - - - - - - - -
    magic
    method
    -

    Returns

    -
    -
    -
    -
    -

    get_system_tables() -

    -
    get_system_tables() : 
    -
    -
    -
    - - - - - - - - - -
    magic
    method
    -

    Returns

    -
    -
    -
    -
    -

    get_tables() -

    -
    get_tables() : 
    -
    -
    -
    - - - - - - - - - -
    magic
    method
    -

    Returns

    -
    -
    -
    -
    -

    query() -

    -
    query() : 
    -
    -
    -
    - - - - - - - - - -
    magic
    method
    -

    Returns

    -
    -
    -
    -
    -
    -
    -
    -
    +
  • Abstract_Table
  • +
  • Table_Builder
  • +
  • Table_Foreign_Key
  • +
  • Table_Column
  • +
  • Table_Index
  • + +
    + + + + +
    + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\DriverFirebird_Util

    +

    Firebird-specific backup, import and creation methods

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + create_table()
    + delete_table()
    + backup_structure()
    + backup_data()
    + __construct()
    + __call()
    + get_system_tables()
    + get_tables()
    + query()
    + get_service()
    + quote_ident()
    + quote_table()
    +
    +
    + No public properties found +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + No protected properties found +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + $conn
    +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + +
    +

    $conn

    +
    $conn
    +

    Reference to the current connection object

    + + +
    +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    create_table()

    + +
    create_table(string $name, array $fields, array $constraints) : string
    +

    Convienience public function to generate sql for creating a db table

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$name
    array$fields
    array$constraints
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    delete_table()

    + +
    delete_table(string $name) : string
    +

    Drop the selected table

    + + +

    Parameters

    + + + + + + +
    string$name
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    backup_structure()

    + +
    backup_structure() : string
    +

    Return an SQL file with the database table structure

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    backup_data()

    + +
    backup_data() : string
    +

    Return an SQL file with the database data as insert statements

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    __construct()

    + +
    __construct(\Query\Driver\Driver_Interface $conn)
    +

    Save a reference to the connection object for later use

    + + +

    Parameters

    + + + + + + +
    \Query\Driver\Driver_Interface$conn
    + + +
    +
    + +
    + +
    +
    + +
    +

    __call()

    + +
    __call(string $method, array $args) : mixed
    +

    Enable calling driver methods

    + + +

    Parameters

    + + + + + + + + + + + +
    string$method
    array$args
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    get_system_tables()

    + +
    get_system_tables() : array
    +

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_tables()

    + +
    get_tables() : array
    +

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    query()

    + +
    query(string $sql) : object
    +

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + object +
    +
    + +
    + +
    +
    + +
    +

    get_service()

    + +
    get_service() : resource
    +

    + + + + +

    Returns

    + resource +
    +
    + +
    + +
    +
    + +
    +

    quote_ident()

    + +
    quote_ident(string $sql) : string
    +

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_table()

    + +
    quote_table(string $sql) : string
    +

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Driver.MySQL.html b/docs/classes/Query.Driver.MySQL.html index d06c2b2..6ef6349 100644 --- a/docs/classes/Query.Driver.MySQL.html +++ b/docs/classes/Query.Driver.MySQL.html @@ -1,170 +1,1770 @@ - + + - - - -Query » \Query\Driver\MySQL - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -

    MySQL specific class

    -
    -
    Extends PDO to simplify cross-database issues
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Connect to MySQL Database

    -
    __construct(string $dsn, string $username = null, string $password = null, array $options = array()
    -
    -
    -
    -

    Parameters

    -
    -

    $dsn

    -string -
    -
    -

    $username

    -string -
    -
    -

    $password

    -string -
    -
    -

    $options

    -array -
    -
    -
    -
    -

    Empty a table

    -
    truncate(string $table) 
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -
    -

    - Properties

    - 
    -

    Set the backtick as the MySQL escape character

    -
    $escape_char : string
    -
    -

    Default

    -
    '`'
    -
    -
    -
    -
    -
    -
    -
    -
    -
    +
  • Abstract_Table
  • +
  • Table_Builder
  • +
  • Table_Foreign_Key
  • +
  • Table_Column
  • +
  • Table_Index
  • + +
    + + + + +
    + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\DriverMySQL

    +

    MySQL specific class

    +

    Extends PDO to simplify cross-database issues

    + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + __construct()
    + truncate()
    + __call()
    + prepare_query()
    + prepare_execute()
    + affected_rows()
    + prefix_table()
    + quote_table()
    + quote_ident()
    + _quote()
    + get_schemas()
    + get_tables()
    + get_dbs()
    + get_views()
    + get_sequences()
    + get_functions()
    + get_procedures()
    + get_triggers()
    + get_system_tables()
    + get_columns()
    + get_fks()
    + get_indexes()
    + get_types()
    + driver_query()
    + num_rows()
    + insert_batch()
    +
    +
    + $sql
    + $util
    + $table
    + $last_query
    + $table_prefix
    +
    +
    + No constants found +
    +
    +
    +
    + _prefix()
    +
    +
    + $escape_char
    + $statement
    +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + No private properties found +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    + +
    +

    $util

    +
    $util : \Query\Driver\DB_Util
    +

    Reference to util class

    + + +

    Type

    + \Query\Driver\DB_Util +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    + +
    +

    $last_query

    +
    $last_query : string
    +

    Last query executed

    + + +

    Type

    + string +
    +
    + +
    + +
    +
    + +
    +

    $table_prefix

    +
    $table_prefix : string
    +

    Prefix to apply to table names

    + + +

    Type

    + string +
    +
    + +
    + +
    +
    + +
    +

    $escape_char

    +
    $escape_char : string
    +

    Character to escape indentifiers

    + + +

    Type

    + string +
    +
    + +
    + +
    +
    + +
    +

    $statement

    +
    $statement : \Query\Driver\PDOStatement
    +

    Reference to the last executed query

    + + +

    Type

    + \Query\Driver\PDOStatement +
    +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    __construct()

    + +
    __construct(string $dsn, string $username, string $password, array $driver_options)
    +

    PDO constructor wrapper

    + + +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + +
    string$dsn
    string$username
    string$password
    array$driver_options
    + + +
    +
    + +
    + +
    +
    + +
    +

    truncate()

    + +
    truncate(string $table) : void
    +

    Empty the passed table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +
    +
    + +
    + +
    +
    + +
    +

    __call()

    + +
    __call(string $name, array $args)
    +

    Allow invoke to work on table object

    + + +

    Parameters

    + + + + + + + + + + + +
    string$name
    array$args
    + + +
    +
    + +
    + +
    +
    + +
    +

    prepare_query()

    + +
    prepare_query(string $sql, array $data) : \PDOStatement
    +

    Simplifies prepared statements for database queries

    + + +

    Parameters

    + + + + + + + + + + + +
    string$sql
    array$data
    + +

    Throws

    +
    +
    \InvalidArgumentException
    +
    +
    + +

    Returns

    + \PDOStatement + —

    | FALSE

    +
    +
    + +
    + +
    +
    + +
    +

    prepare_execute()

    + +
    prepare_execute(string $sql, array $params) : \PDOStatement
    +

    Create and execute a prepared statement with the provided parameters

    + + +

    Parameters

    + + + + + + + + + + + +
    string$sql
    array$params
    + + +

    Returns

    + \PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    affected_rows()

    + +
    affected_rows() : int
    +

    Returns number of rows affected by an INSERT, UPDATE, DELETE type query

    + + + + +

    Returns

    + int +
    +
    + +
    + +
    +
    + +
    +

    prefix_table()

    + +
    prefix_table(string $table) : string
    +

    Prefixes a table if it is not already prefixed

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_table()

    + +
    quote_table(string $table) : string
    +

    Quote database table name, and set prefix

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_ident()

    + +
    quote_ident(mixed $ident) : string
    +

    Surrounds the string with the databases identifier escape characters

    + + +

    Parameters

    + + + + + + +
    mixed$ident
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    _quote()

    + +
    _quote(mixed $str) : mixed
    +

    Helper method for quote_ident

    + + +

    Parameters

    + + + + + + +
    mixed$str
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    get_schemas()

    + +
    get_schemas() : array
    +

    Return schemas for databases that list them

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_tables()

    + +
    get_tables() : array
    +

    Return list of tables for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_dbs()

    + +
    get_dbs() : array
    +

    Return list of dbs for the current connection, if possible

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_views()

    + +
    get_views() : array
    +

    Return list of views for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_sequences()

    + +
    get_sequences() : array
    +

    Return list of sequences for the current database, if they exist

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_functions()

    + +
    get_functions() : array
    +

    Return list of function for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_procedures()

    + +
    get_procedures() : array
    +

    Return list of stored procedures for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_triggers()

    + +
    get_triggers() : array
    +

    Return list of triggers for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_system_tables()

    + +
    get_system_tables() : array
    +

    Retreives an array of non-user-created tables for +the connection/database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_columns()

    + +
    get_columns(string $table) : array
    +

    Retrieve column information for the current database table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_fks()

    + +
    get_fks(string $table) : array
    +

    Retrieve foreign keys for the table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_indexes()

    + +
    get_indexes(string $table) : array
    +

    Retrieve indexes for the table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_types()

    + +
    get_types() : array
    +

    Retrieve list of data types for the database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    driver_query()

    + +
    driver_query(string|array|null $query, bool $filtered_index) : array
    +

    Method to simplify retreiving db results for meta-data queries

    + + +

    Parameters

    + + + + + + + + + + + +
    string|array|null$query
    bool$filtered_index
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    num_rows()

    + +
    num_rows() : int
    +

    Return the number of rows returned for a SELECT query

    + + + + +

    Returns

    + int +
    +
    + +
    + +
    +
    + +
    +

    insert_batch()

    + +
    insert_batch(string $table, array $data) : array
    +

    Create sql for batch insert

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    array$data
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    _prefix()

    + +
    _prefix(string $str) : string
    +

    Sets the table prefix on the passed string

    + + +

    Parameters

    + + + + + + +
    string$str
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Driver.MySQL_SQL.html b/docs/classes/Query.Driver.MySQL_SQL.html index 8c703e4..a02a679 100644 --- a/docs/classes/Query.Driver.MySQL_SQL.html +++ b/docs/classes/Query.Driver.MySQL_SQL.html @@ -1,316 +1,967 @@ - + + - - - -Query » \Query\Driver\MySQL_SQL - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    - -
    - -
    -

    MySQL specifc SQL

    -
    -
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    SQL to show infromation about columns in a table

    -
    column_list(string $table) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list other databases

    -
    db_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the query plan for the sql query

    -
    explain(string $sql) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $sql

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the list of foreign keys for the current -table

    -
    fk_list($table) : string
    -
    -
    -
    - - - -
    parmastring $table
    -

    Parameters

    -

    $table

    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list functions

    -
    function_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the list of indexes for the current table

    -
    index_list(string $table) : array
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Limit clause

    -
    limit(string $sql, int $limit, int $offset = FALSE) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list stored procedures

    -
    procedure_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Random ordering keyword

    -
    random() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list sequences

    -
    sequence_list() : NULL
    -
    -
    -
    -

    Returns

    -
    NULL
    -
    -
    -
    -

    Overridden in MySQL class

    -
    system_table_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list tables

    -
    table_list(string $database = '') : string
    -
    -
    -
    -

    Parameters

    -
    -

    $database

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list triggers

    -
    trigger_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    SQL to show list of field types

    -
    type_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list views

    -
    view_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -
    -
    -
    -
    +
  • Abstract_Table
  • +
  • Table_Builder
  • +
  • Table_Foreign_Key
  • +
  • Table_Column
  • +
  • Table_Index
  • + +
    + + + + +
    + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\DriverMySQL_SQL

    +

    MySQL specifc SQL

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + limit()
    + explain()
    + random()
    + db_list()
    + table_list()
    + system_table_list()
    + view_list()
    + trigger_list()
    + function_list()
    + procedure_list()
    + sequence_list()
    + type_list()
    + column_list()
    + fk_list()
    + index_list()
    +
    +
    + No public properties found +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + No protected properties found +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + No private properties found +
    +
    + N/A +
    +
    +
    +
    + +
    + + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    limit()

    + +
    limit(string $sql, int $limit, int $offset) : string
    +

    Limit clause

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$sql
    int$limit
    int$offset
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    explain()

    + +
    explain(string $sql) : string
    +

    Get the query plan for the sql query

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    random()

    + +
    random() : string
    +

    Random ordering keyword

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    db_list()

    + +
    db_list() : string
    +

    Returns sql to list other databases

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    table_list()

    + +
    table_list(string $database) : string
    +

    Returns sql to list tables

    + + +

    Parameters

    + + + + + + +
    string$database
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    system_table_list()

    + +
    system_table_list() : string
    +

    Overridden in MySQL class

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    view_list()

    + +
    view_list() : string
    +

    Returns sql to list views

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    trigger_list()

    + +
    trigger_list() : string
    +

    Returns sql to list triggers

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    function_list()

    + +
    function_list() : string
    +

    Return sql to list functions

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    procedure_list()

    + +
    procedure_list() : string
    +

    Return sql to list stored procedures

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    sequence_list()

    + +
    sequence_list() : NULL
    +

    Return sql to list sequences

    + + + + +

    Returns

    + NULL +
    +
    + +
    + +
    +
    + +
    +

    type_list()

    + +
    type_list() : string
    +

    SQL to show list of field types

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    column_list()

    + +
    column_list(string $table) : string
    +

    SQL to show infromation about columns in a table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    fk_list()

    + +
    fk_list(string $table) : string
    +

    Get the list of foreign keys for the current +table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    index_list()

    + +
    index_list(string $table) : array
    +

    Get the list of indexes for the current table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Driver.MySQL_Util.html b/docs/classes/Query.Driver.MySQL_Util.html index 26b1df4..a4511a4 100644 --- a/docs/classes/Query.Driver.MySQL_Util.html +++ b/docs/classes/Query.Driver.MySQL_Util.html @@ -1,274 +1,974 @@ - + + - - - -Query » \Query\Driver\MySQL_Util - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    - -
    - -
    -

    MySQL-specific backup, import and creation methods

    -
    -
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Create an SQL backup file for the current database's data

    -
    backup_data(array $exclude = array()) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $exclude

    -array -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Create an SQL backup file for the current database's structure

    -
    backup_structure() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    driver_query() -

    -
    driver_query() : 
    -
    -
    -
    - - - - - - - - - -
    magic
    method
    -

    Returns

    -
    -
    -
    -
    -

    get_dbs() -

    -
    get_dbs() : 
    -
    -
    -
    - - - - - - - - - -
    magic
    method
    -

    Returns

    -
    -
    -
    -
    -

    get_system_tables() -

    -
    get_system_tables() : 
    -
    -
    -
    - - - - - - - - - -
    magic
    method
    -

    Returns

    -
    -
    -
    -
    -

    get_tables() -

    -
    get_tables() : 
    -
    -
    -
    - - - - - - - - - -
    magic
    method
    -

    Returns

    -
    -
    -
    -
    -

    query() -

    -
    query() : 
    -
    -
    -
    - - - - - - - - - -
    magic
    method
    -

    Returns

    -
    -
    -
    -
    -

    quote() -

    -
    quote() : 
    -
    -
    -
    - - - - - - - - - -
    magic
    method
    -

    Returns

    -
    -
    -
    -
    -
    -
    -
    -
    +
  • Abstract_Table
  • +
  • Table_Builder
  • +
  • Table_Foreign_Key
  • +
  • Table_Column
  • +
  • Table_Index
  • + +
    + + + + +
    + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\DriverMySQL_Util

    +

    MySQL-specific backup, import and creation methods

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + backup_structure()
    + backup_data()
    + __construct()
    + __call()
    + create_table()
    + delete_table()
    + get_dbs()
    + driver_query()
    + get_system_tables()
    + get_tables()
    + query()
    + quote()
    + quote_ident()
    + quote_table()
    +
    +
    + No public properties found +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + No protected properties found +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + $conn
    +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + +
    +

    $conn

    +
    $conn
    +

    Reference to the current connection object

    + + +
    +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    backup_structure()

    + +
    backup_structure() : string
    +

    Return an SQL file with the database table structure

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    backup_data()

    + +
    backup_data() : string
    +

    Return an SQL file with the database data as insert statements

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    __construct()

    + +
    __construct(\Query\Driver\Driver_Interface $conn)
    +

    Save a reference to the connection object for later use

    + + +

    Parameters

    + + + + + + +
    \Query\Driver\Driver_Interface$conn
    + + +
    +
    + +
    + +
    +
    + +
    +

    __call()

    + +
    __call(string $method, array $args) : mixed
    +

    Enable calling driver methods

    + + +

    Parameters

    + + + + + + + + + + + +
    string$method
    array$args
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    create_table()

    + +
    create_table(string $name, array $fields, array $constraints) : string
    +

    Convienience public function to generate sql for creating a db table

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$name
    array$fields
    array$constraints
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    delete_table()

    + +
    delete_table(string $name) : string
    +

    Drop the selected table

    + + +

    Parameters

    + + + + + + +
    string$name
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    get_dbs()

    + +
    get_dbs() : array
    +

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    driver_query()

    + +
    driver_query(string $sql, bool $filtered_index=TRUE) : mixed
    +

    + + +

    Parameters

    + + + + + + + + + + + +
    string$sql
    bool$filtered_index=TRUE
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    get_system_tables()

    + +
    get_system_tables() : array
    +

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_tables()

    + +
    get_tables() : array
    +

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    query()

    + +
    query(string $sql) : mixed
    +

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    quote()

    + +
    quote(string $str) : string
    +

    + + +

    Parameters

    + + + + + + +
    string$str
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_ident()

    + +
    quote_ident(string $sql) : string
    +

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_table()

    + +
    quote_table(string $sql) : string
    +

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Driver.PgSQL.html b/docs/classes/Query.Driver.PgSQL.html index 11cf619..2fcb9ed 100644 --- a/docs/classes/Query.Driver.PgSQL.html +++ b/docs/classes/Query.Driver.PgSQL.html @@ -1,160 +1,1770 @@ - + + - - - -Query » \Query\Driver\PgSQL - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -

    PostgreSQL specifc class

    -
    -
    Extends PDO to simplify cross-database issues
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Connect to a PosgreSQL database

    -
    __construct(string $dsn, string $username = null, string $password = null, array $options = array()
    -
    -
    -
    -

    Parameters

    -
    -

    $dsn

    -string -
    -
    -

    $username

    -string -
    -
    -

    $password

    -string -
    -
    -

    $options

    -array -
    -
    -
    -
    -

    Get a list of schemas for the current connection

    -
    get_schemas() : array
    -
    -
    -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Empty a table

    -
    truncate(string $table) 
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -
    -
    -
    -
    -
    -
    +
  • Abstract_Table
  • +
  • Table_Builder
  • +
  • Table_Foreign_Key
  • +
  • Table_Column
  • +
  • Table_Index
  • + +
    + + + + +
    + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\DriverPgSQL

    +

    PostgreSQL specifc class

    +

    Extends PDO to simplify cross-database issues

    + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + __construct()
    + truncate()
    + get_schemas()
    + __call()
    + prepare_query()
    + prepare_execute()
    + affected_rows()
    + prefix_table()
    + quote_table()
    + quote_ident()
    + _quote()
    + get_tables()
    + get_dbs()
    + get_views()
    + get_sequences()
    + get_functions()
    + get_procedures()
    + get_triggers()
    + get_system_tables()
    + get_columns()
    + get_fks()
    + get_indexes()
    + get_types()
    + driver_query()
    + num_rows()
    + insert_batch()
    +
    +
    + $sql
    + $util
    + $table
    + $last_query
    + $table_prefix
    +
    +
    + No constants found +
    +
    +
    +
    + _prefix()
    +
    +
    + $statement
    + $escape_char
    +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + No private properties found +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    + +
    +

    $util

    +
    $util : \Query\Driver\DB_Util
    +

    Reference to util class

    + + +

    Type

    + \Query\Driver\DB_Util +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    + +
    +

    $last_query

    +
    $last_query : string
    +

    Last query executed

    + + +

    Type

    + string +
    +
    + +
    + +
    +
    + +
    +

    $table_prefix

    +
    $table_prefix : string
    +

    Prefix to apply to table names

    + + +

    Type

    + string +
    +
    + +
    + +
    +
    + +
    +

    $statement

    +
    $statement : \Query\Driver\PDOStatement
    +

    Reference to the last executed query

    + + +

    Type

    + \Query\Driver\PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    $escape_char

    +
    $escape_char : string
    +

    Character to escape indentifiers

    + + +

    Type

    + string +
    +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    __construct()

    + +
    __construct(string $dsn, string $username, string $password, array $driver_options)
    +

    PDO constructor wrapper

    + + +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + +
    string$dsn
    string$username
    string$password
    array$driver_options
    + + +
    +
    + +
    + +
    +
    + +
    +

    truncate()

    + +
    truncate(string $table) : void
    +

    Empty the passed table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +
    +
    + +
    + +
    +
    + +
    +

    get_schemas()

    + +
    get_schemas() : array
    +

    Return schemas for databases that list them

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    __call()

    + +
    __call(string $name, array $args)
    +

    Allow invoke to work on table object

    + + +

    Parameters

    + + + + + + + + + + + +
    string$name
    array$args
    + + +
    +
    + +
    + +
    +
    + +
    +

    prepare_query()

    + +
    prepare_query(string $sql, array $data) : \PDOStatement
    +

    Simplifies prepared statements for database queries

    + + +

    Parameters

    + + + + + + + + + + + +
    string$sql
    array$data
    + +

    Throws

    +
    +
    \InvalidArgumentException
    +
    +
    + +

    Returns

    + \PDOStatement + —

    | FALSE

    +
    +
    + +
    + +
    +
    + +
    +

    prepare_execute()

    + +
    prepare_execute(string $sql, array $params) : \PDOStatement
    +

    Create and execute a prepared statement with the provided parameters

    + + +

    Parameters

    + + + + + + + + + + + +
    string$sql
    array$params
    + + +

    Returns

    + \PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    affected_rows()

    + +
    affected_rows() : int
    +

    Returns number of rows affected by an INSERT, UPDATE, DELETE type query

    + + + + +

    Returns

    + int +
    +
    + +
    + +
    +
    + +
    +

    prefix_table()

    + +
    prefix_table(string $table) : string
    +

    Prefixes a table if it is not already prefixed

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_table()

    + +
    quote_table(string $table) : string
    +

    Quote database table name, and set prefix

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_ident()

    + +
    quote_ident(mixed $ident) : string
    +

    Surrounds the string with the databases identifier escape characters

    + + +

    Parameters

    + + + + + + +
    mixed$ident
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    _quote()

    + +
    _quote(mixed $str) : mixed
    +

    Helper method for quote_ident

    + + +

    Parameters

    + + + + + + +
    mixed$str
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    get_tables()

    + +
    get_tables() : array
    +

    Return list of tables for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_dbs()

    + +
    get_dbs() : array
    +

    Return list of dbs for the current connection, if possible

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_views()

    + +
    get_views() : array
    +

    Return list of views for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_sequences()

    + +
    get_sequences() : array
    +

    Return list of sequences for the current database, if they exist

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_functions()

    + +
    get_functions() : array
    +

    Return list of function for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_procedures()

    + +
    get_procedures() : array
    +

    Return list of stored procedures for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_triggers()

    + +
    get_triggers() : array
    +

    Return list of triggers for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_system_tables()

    + +
    get_system_tables() : array
    +

    Retreives an array of non-user-created tables for +the connection/database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_columns()

    + +
    get_columns(string $table) : array
    +

    Retrieve column information for the current database table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_fks()

    + +
    get_fks(string $table) : array
    +

    Retrieve foreign keys for the table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_indexes()

    + +
    get_indexes(string $table) : array
    +

    Retrieve indexes for the table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_types()

    + +
    get_types() : array
    +

    Retrieve list of data types for the database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    driver_query()

    + +
    driver_query(string|array|null $query, bool $filtered_index) : array
    +

    Method to simplify retreiving db results for meta-data queries

    + + +

    Parameters

    + + + + + + + + + + + +
    string|array|null$query
    bool$filtered_index
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    num_rows()

    + +
    num_rows() : int
    +

    Return the number of rows returned for a SELECT query

    + + + + +

    Returns

    + int +
    +
    + +
    + +
    +
    + +
    +

    insert_batch()

    + +
    insert_batch(string $table, array $data) : array
    +

    Create sql for batch insert

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    array$data
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    _prefix()

    + +
    _prefix(string $str) : string
    +

    Sets the table prefix on the passed string

    + + +

    Parameters

    + + + + + + +
    string$str
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Driver.PgSQL_SQL.html b/docs/classes/Query.Driver.PgSQL_SQL.html index 03a55ac..1c3ddf5 100644 --- a/docs/classes/Query.Driver.PgSQL_SQL.html +++ b/docs/classes/Query.Driver.PgSQL_SQL.html @@ -1,287 +1,959 @@ - + + - - - -Query » \Query\Driver\PgSQL_SQL - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    - -
    - -
    -

    PostgreSQL specifc SQL

    -
    -
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Return sql to list columns of the specified table

    -
    column_list(string $table) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list other databases

    -
    db_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the query plan for the sql query

    -
    explain(string $sql) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $sql

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the list of foreign keys for the current -table

    -
    fk_list($table) : string
    -
    -
    -
    - - - -
    parmastring $table
    -

    Parameters

    -

    $table

    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list functions

    -
    function_list() : NULL
    -
    -
    -
    -

    Returns

    -
    NULL
    -
    -
    -
    -

    Get the list of indexes for the current table

    -
    index_list(string $table) : array
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return sql to list stored procedures

    -
    procedure_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Random ordering keyword

    -
    random() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list sequences

    -
    sequence_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list system tables

    -
    system_table_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list tables

    -
    table_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list triggers

    -
    trigger_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    SQL to show list of field types

    -
    type_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list views

    -
    view_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -
    -
    -
    -
    +
  • Abstract_Table
  • +
  • Table_Builder
  • +
  • Table_Foreign_Key
  • +
  • Table_Column
  • +
  • Table_Index
  • + +
    + + + + +
    + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\DriverPgSQL_SQL

    +

    PostgreSQL specifc SQL

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + explain()
    + random()
    + db_list()
    + table_list()
    + system_table_list()
    + view_list()
    + trigger_list()
    + function_list()
    + procedure_list()
    + sequence_list()
    + column_list()
    + type_list()
    + fk_list()
    + index_list()
    + limit()
    +
    +
    + No public properties found +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + No protected properties found +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + No private properties found +
    +
    + N/A +
    +
    +
    +
    + +
    + + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    explain()

    + +
    explain(string $sql) : string
    +

    Get the query plan for the sql query

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    random()

    + +
    random() : string
    +

    Random ordering keyword

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    db_list()

    + +
    db_list() : string
    +

    Returns sql to list other databases

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    table_list()

    + +
    table_list() : string
    +

    Returns sql to list tables

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    system_table_list()

    + +
    system_table_list() : string
    +

    Returns sql to list system tables

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    view_list()

    + +
    view_list() : string
    +

    Returns sql to list views

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    trigger_list()

    + +
    trigger_list() : string
    +

    Returns sql to list triggers

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    function_list()

    + +
    function_list() : NULL
    +

    Return sql to list functions

    + + + + +

    Returns

    + NULL +
    +
    + +
    + +
    +
    + +
    +

    procedure_list()

    + +
    procedure_list() : string
    +

    Return sql to list stored procedures

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    sequence_list()

    + +
    sequence_list() : string
    +

    Return sql to list sequences

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    column_list()

    + +
    column_list(string $table) : string
    +

    Return sql to list columns of the specified table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    type_list()

    + +
    type_list() : string
    +

    SQL to show list of field types

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    fk_list()

    + +
    fk_list(string $table) : string
    +

    Get the list of foreign keys for the current +table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    index_list()

    + +
    index_list(string $table) : array
    +

    Get the list of indexes for the current table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    limit()

    + +
    limit(string $sql, int $limit, int $offset) : string
    +

    Limit clause

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$sql
    int$limit
    int$offset
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Driver.PgSQL_Util.html b/docs/classes/Query.Driver.PgSQL_Util.html index fab423c..4f0a243 100644 --- a/docs/classes/Query.Driver.PgSQL_Util.html +++ b/docs/classes/Query.Driver.PgSQL_Util.html @@ -1,182 +1,841 @@ - + + - - - -Query » \Query\Driver\PgSQL_Util - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -

    Posgres-specific backup, import and creation methods

    -
    -
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Create an SQL backup file for the current database's data

    -
    backup_data(array $exclude = array()) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $exclude

    -array -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Create an SQL backup file for the current database's structure

    -
    backup_structure() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    get_tables() -

    -
    get_tables() : 
    -
    -
    -
    - - - - - - - - - -
    magic
    method
    -

    Returns

    -
    -
    -
    -
    -

    query() -

    -
    query() : 
    -
    -
    -
    - - - - - - - - - -
    magic
    method
    -

    Returns

    -
    -
    -
    -
    -
    -
    -
    -
    +
  • Abstract_Table
  • +
  • Table_Builder
  • +
  • Table_Foreign_Key
  • +
  • Table_Column
  • +
  • Table_Index
  • + +
    + + + + +
    + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\DriverPgSQL_Util

    +

    Posgres-specific backup, import and creation methods

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + backup_structure()
    + backup_data()
    + __construct()
    + __call()
    + create_table()
    + delete_table()
    + query()
    + get_tables()
    + quote_ident()
    + quote_table()
    +
    +
    + No public properties found +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + No protected properties found +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + $conn
    +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + +
    +

    $conn

    +
    $conn
    +

    Reference to the current connection object

    + + +
    +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    backup_structure()

    + +
    backup_structure() : string
    +

    Return an SQL file with the database table structure

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    backup_data()

    + +
    backup_data() : string
    +

    Return an SQL file with the database data as insert statements

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    __construct()

    + +
    __construct(\Query\Driver\Driver_Interface $conn)
    +

    Save a reference to the connection object for later use

    + + +

    Parameters

    + + + + + + +
    \Query\Driver\Driver_Interface$conn
    + + +
    +
    + +
    + +
    +
    + +
    +

    __call()

    + +
    __call(string $method, array $args) : mixed
    +

    Enable calling driver methods

    + + +

    Parameters

    + + + + + + + + + + + +
    string$method
    array$args
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    create_table()

    + +
    create_table(string $name, array $fields, array $constraints) : string
    +

    Convienience public function to generate sql for creating a db table

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$name
    array$fields
    array$constraints
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    delete_table()

    + +
    delete_table(string $name) : string
    +

    Drop the selected table

    + + +

    Parameters

    + + + + + + +
    string$name
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    query()

    + +
    query(string $sql) : mixed
    +

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    get_tables()

    + +
    get_tables() : array
    +

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    quote_ident()

    + +
    quote_ident(string $sql) : string
    +

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_table()

    + +
    quote_table(string $sql) : string
    +

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Driver.SQL_Interface.html b/docs/classes/Query.Driver.SQL_Interface.html index 67bcc42..d4c09ec 100644 --- a/docs/classes/Query.Driver.SQL_Interface.html +++ b/docs/classes/Query.Driver.SQL_Interface.html @@ -1,324 +1,934 @@ - + + - - - -Query » \Query\Driver\SQL_Interface - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    - -
    - -
    -

    parent for database manipulation subclasses

    -
    -
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Get information about the columns in the -specified table

    -
    column_list(string $table) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list other databases

    -
    db_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Modify the query to get the query plan

    -
    explain(string $sql) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $sql

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the list of foreign keys for the current -table

    -
    fk_list($table) : array
    -
    -
    -
    - - - -
    parmastring $table
    -

    Parameters

    -

    $table

    -

    Returns

    -
    array
    -
    -
    -
    -

    Return sql to list functions

    -
    function_list() : NULL
    -
    -
    -
    -

    Returns

    -
    NULL
    -
    -
    -
    -

    Get the list of indexes for the current table

    -
    index_list(string $table) : array
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Get database specific sql for limit clause

    -
    limit(string $sql, int $limit, int $offset = FALSE) : string
    -
    -
    -
    - - - -
    abstract
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list stored procedures

    -
    procedure_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the sql for random ordering

    -
    random() : string
    -
    -
    -
    - - - -
    abstract
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list sequences

    -
    sequence_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list system tables

    -
    system_table_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list tables

    -
    table_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list triggers

    -
    trigger_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list database field types

    -
    type_list() : string | array
    -
    -
    -
    -

    Returns

    -
    -stringarray -
    -
    -
    -
    -

    Returns sql to list views

    -
    view_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -
    -
    -
    -
    +
  • Abstract_Table
  • +
  • Table_Builder
  • +
  • Table_Foreign_Key
  • +
  • Table_Column
  • +
  • Table_Index
  • + +
    + + + + +
    + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\DriverSQL_Interface

    +

    parent for database manipulation subclasses

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Constants +
    +
    +
    +
    + limit()
    + explain()
    + random()
    + db_list()
    + table_list()
    + system_table_list()
    + view_list()
    + trigger_list()
    + function_list()
    + procedure_list()
    + sequence_list()
    + type_list()
    + column_list()
    + fk_list()
    + index_list()
    +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + N/A +
    +
    +
    +
    + +
    + + +
    +
    +

    Methods

    +
    + +
    + +
    +
    + +
    +

    limit()

    + +
    limit(string $sql, int $limit, int $offset) : string
    +

    Get database specific sql for limit clause

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$sql
    int$limit
    int$offset
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    explain()

    + +
    explain(string $sql) : string
    +

    Modify the query to get the query plan

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    random()

    + +
    random() : string
    +

    Get the sql for random ordering

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    db_list()

    + +
    db_list() : string
    +

    Returns sql to list other databases

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    table_list()

    + +
    table_list() : string
    +

    Returns sql to list tables

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    system_table_list()

    + +
    system_table_list() : string
    +

    Returns sql to list system tables

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    view_list()

    + +
    view_list() : string
    +

    Returns sql to list views

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    trigger_list()

    + +
    trigger_list() : string
    +

    Returns sql to list triggers

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    function_list()

    + +
    function_list() : NULL
    +

    Return sql to list functions

    + + + + +

    Returns

    + NULL +
    +
    + +
    + +
    +
    + +
    +

    procedure_list()

    + +
    procedure_list() : string
    +

    Return sql to list stored procedures

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    sequence_list()

    + +
    sequence_list() : string
    +

    Return sql to list sequences

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    type_list()

    + +
    type_list() : string|array
    +

    Return sql to list database field types

    + + + + +

    Returns

    + string|array +
    +
    + +
    + +
    +
    + +
    +

    column_list()

    + +
    column_list(string $table) : string
    +

    Get information about the columns in the +specified table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    fk_list()

    + +
    fk_list(string $table) : array
    +

    Get the list of foreign keys for the current +table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    index_list()

    + +
    index_list(string $table) : array
    +

    Get the list of indexes for the current table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Driver.SQLite.html b/docs/classes/Query.Driver.SQLite.html index 80355a8..dbbf204 100644 --- a/docs/classes/Query.Driver.SQLite.html +++ b/docs/classes/Query.Driver.SQLite.html @@ -1,205 +1,1770 @@ - + + - - - -Query » \Query\Driver\SQLite - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -

    SQLite specific class

    -
    -
    Extends PDO to simplify cross-database issues
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Open SQLite Database

    -
    __construct(string $dsn, string $user = NULL, string $pass = NULL, array $driver_options = array()
    -
    -
    -
    -

    Parameters

    -
    -

    $dsn

    -string -
    -
    -

    $user

    -string -
    -
    -

    $pass

    -string -
    -
    -

    $driver_options

    -array -
    -
    -
    -
    -

    List tables for the current database

    -
    get_tables() : mixed
    -
    -
    -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Create sql for batch insert

    -
    insert_batch(string $table, array $data = array()) : string
    -
    -
    -
    - - - -
    codeCoverageIgnore
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $data

    -array -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Empty a table

    -
    truncate(string $table) 
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -
    -

    - Properties

    - 
    -

    Reference to the last executed sql query

    -
    $statement : \Query\Driver\PDOStatement
    -
    -

    Default

    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    +
  • Abstract_Table
  • +
  • Table_Builder
  • +
  • Table_Foreign_Key
  • +
  • Table_Column
  • +
  • Table_Index
  • + +
    + + + + +
    + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\DriverSQLite

    +

    SQLite specific class

    +

    Extends PDO to simplify cross-database issues

    + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + __construct()
    + truncate()
    + get_tables()
    + get_fks()
    + insert_batch()
    + __call()
    + prepare_query()
    + prepare_execute()
    + affected_rows()
    + prefix_table()
    + quote_table()
    + quote_ident()
    + _quote()
    + get_schemas()
    + get_dbs()
    + get_views()
    + get_sequences()
    + get_functions()
    + get_procedures()
    + get_triggers()
    + get_system_tables()
    + get_columns()
    + get_indexes()
    + get_types()
    + driver_query()
    + num_rows()
    +
    +
    + $sql
    + $util
    + $table
    + $last_query
    + $table_prefix
    +
    +
    + No constants found +
    +
    +
    +
    + _prefix()
    +
    +
    + $statement
    + $escape_char
    +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + No private properties found +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    + +
    +

    $util

    +
    $util : \Query\Driver\DB_Util
    +

    Reference to util class

    + + +

    Type

    + \Query\Driver\DB_Util +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    + +
    +

    $last_query

    +
    $last_query : string
    +

    Last query executed

    + + +

    Type

    + string +
    +
    + +
    + +
    +
    + +
    +

    $table_prefix

    +
    $table_prefix : string
    +

    Prefix to apply to table names

    + + +

    Type

    + string +
    +
    + +
    + +
    +
    + +
    +

    $statement

    +
    $statement : \Query\Driver\PDOStatement
    +

    Reference to the last executed query

    + + +

    Type

    + \Query\Driver\PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    $escape_char

    +
    $escape_char : string
    +

    Character to escape indentifiers

    + + +

    Type

    + string +
    +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    __construct()

    + +
    __construct(string $dsn, string $username, string $password, array $driver_options)
    +

    PDO constructor wrapper

    + + +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + +
    string$dsn
    string$username
    string$password
    array$driver_options
    + + +
    +
    + +
    + +
    +
    + +
    +

    truncate()

    + +
    truncate(string $table) : void
    +

    Empty the passed table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +
    +
    + +
    + +
    +
    + +
    +

    get_tables()

    + +
    get_tables() : array
    +

    Return list of tables for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_fks()

    + +
    get_fks(string $table) : array
    +

    Retrieve foreign keys for the table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    insert_batch()

    + +
    insert_batch(string $table, array $data) : array
    +

    Create sql for batch insert

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    array$data
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    __call()

    + +
    __call(string $name, array $args)
    +

    Allow invoke to work on table object

    + + +

    Parameters

    + + + + + + + + + + + +
    string$name
    array$args
    + + +
    +
    + +
    + +
    +
    + +
    +

    prepare_query()

    + +
    prepare_query(string $sql, array $data) : \PDOStatement
    +

    Simplifies prepared statements for database queries

    + + +

    Parameters

    + + + + + + + + + + + +
    string$sql
    array$data
    + +

    Throws

    +
    +
    \InvalidArgumentException
    +
    +
    + +

    Returns

    + \PDOStatement + —

    | FALSE

    +
    +
    + +
    + +
    +
    + +
    +

    prepare_execute()

    + +
    prepare_execute(string $sql, array $params) : \PDOStatement
    +

    Create and execute a prepared statement with the provided parameters

    + + +

    Parameters

    + + + + + + + + + + + +
    string$sql
    array$params
    + + +

    Returns

    + \PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    affected_rows()

    + +
    affected_rows() : int
    +

    Returns number of rows affected by an INSERT, UPDATE, DELETE type query

    + + + + +

    Returns

    + int +
    +
    + +
    + +
    +
    + +
    +

    prefix_table()

    + +
    prefix_table(string $table) : string
    +

    Prefixes a table if it is not already prefixed

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_table()

    + +
    quote_table(string $table) : string
    +

    Quote database table name, and set prefix

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_ident()

    + +
    quote_ident(mixed $ident) : string
    +

    Surrounds the string with the databases identifier escape characters

    + + +

    Parameters

    + + + + + + +
    mixed$ident
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    _quote()

    + +
    _quote(mixed $str) : mixed
    +

    Helper method for quote_ident

    + + +

    Parameters

    + + + + + + +
    mixed$str
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    get_schemas()

    + +
    get_schemas() : array
    +

    Return schemas for databases that list them

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_dbs()

    + +
    get_dbs() : array
    +

    Return list of dbs for the current connection, if possible

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_views()

    + +
    get_views() : array
    +

    Return list of views for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_sequences()

    + +
    get_sequences() : array
    +

    Return list of sequences for the current database, if they exist

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_functions()

    + +
    get_functions() : array
    +

    Return list of function for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_procedures()

    + +
    get_procedures() : array
    +

    Return list of stored procedures for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_triggers()

    + +
    get_triggers() : array
    +

    Return list of triggers for the current database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_system_tables()

    + +
    get_system_tables() : array
    +

    Retreives an array of non-user-created tables for +the connection/database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_columns()

    + +
    get_columns(string $table) : array
    +

    Retrieve column information for the current database table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_indexes()

    + +
    get_indexes(string $table) : array
    +

    Retrieve indexes for the table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    get_types()

    + +
    get_types() : array
    +

    Retrieve list of data types for the database

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    driver_query()

    + +
    driver_query(string|array|null $query, bool $filtered_index) : array
    +

    Method to simplify retreiving db results for meta-data queries

    + + +

    Parameters

    + + + + + + + + + + + +
    string|array|null$query
    bool$filtered_index
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    num_rows()

    + +
    num_rows() : int
    +

    Return the number of rows returned for a SELECT query

    + + + + +

    Returns

    + int +
    +
    + +
    + +
    +
    + +
    +

    _prefix()

    + +
    _prefix(string $str) : string
    +

    Sets the table prefix on the passed string

    + + +

    Parameters

    + + + + + + +
    string$str
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Driver.SQLite_SQL.html b/docs/classes/Query.Driver.SQLite_SQL.html index fc93b81..ce1a85c 100644 --- a/docs/classes/Query.Driver.SQLite_SQL.html +++ b/docs/classes/Query.Driver.SQLite_SQL.html @@ -1,286 +1,959 @@ - + + - - - -Query » \Query\Driver\SQLite_SQL - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    - -
    - -
    -

    SQLite Specific SQL

    -
    -
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    SQL to show infromation about columns in a table

    -
    column_list(string $table) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list other databases

    -
    db_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the query plan for the sql query

    -
    explain(string $sql) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $sql

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the list of foreign keys for the current -table

    -
    fk_list(string $table) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list functions

    -
    function_list() : NULL
    -
    -
    -
    -

    Returns

    -
    NULL
    -
    -
    -
    -

    Get the list of indexes for the current table

    -
    index_list(string $table) : array
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return sql to list stored procedures

    -
    procedure_list() : NULL
    -
    -
    -
    -

    Returns

    -
    NULL
    -
    -
    -
    -

    Random ordering keyword

    -
    random() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list sequences

    -
    sequence_list() : NULL
    -
    -
    -
    -

    Returns

    -
    NULL
    -
    -
    -
    -

    Overridden in SQLite class

    -
    system_table_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list tables

    -
    table_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list triggers

    -
    trigger_list() : NULL
    -
    -
    -
    -

    Returns

    -
    NULL
    -
    -
    -
    -

    SQL to show list of field types

    -
    type_list() : string[]
    -
    -
    -
    -

    Returns

    -
    string[]
    -
    -
    -
    -

    Returns sql to list views

    -
    view_list() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -
    -
    -
    -
    +
  • Abstract_Table
  • +
  • Table_Builder
  • +
  • Table_Foreign_Key
  • +
  • Table_Column
  • +
  • Table_Index
  • + +
    + + + + +
    + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\DriverSQLite_SQL

    +

    SQLite Specific SQL

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + explain()
    + random()
    + db_list()
    + table_list()
    + system_table_list()
    + view_list()
    + trigger_list()
    + function_list()
    + procedure_list()
    + sequence_list()
    + type_list()
    + column_list()
    + fk_list()
    + index_list()
    + limit()
    +
    +
    + No public properties found +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + No protected properties found +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + No private properties found +
    +
    + N/A +
    +
    +
    +
    + +
    + + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    explain()

    + +
    explain(string $sql) : string
    +

    Get the query plan for the sql query

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    random()

    + +
    random() : string
    +

    Random ordering keyword

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    db_list()

    + +
    db_list() : string
    +

    Returns sql to list other databases

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    table_list()

    + +
    table_list() : string
    +

    Returns sql to list tables

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    system_table_list()

    + +
    system_table_list() : string
    +

    Overridden in SQLite class

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    view_list()

    + +
    view_list() : string
    +

    Returns sql to list views

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    trigger_list()

    + +
    trigger_list() : NULL
    +

    Returns sql to list triggers

    + + + + +

    Returns

    + NULL +
    +
    + +
    + +
    +
    + +
    +

    function_list()

    + +
    function_list() : NULL
    +

    Return sql to list functions

    + + + + +

    Returns

    + NULL +
    +
    + +
    + +
    +
    + +
    +

    procedure_list()

    + +
    procedure_list() : NULL
    +

    Return sql to list stored procedures

    + + + + +

    Returns

    + NULL +
    +
    + +
    + +
    +
    + +
    +

    sequence_list()

    + +
    sequence_list() : NULL
    +

    Return sql to list sequences

    + + + + +

    Returns

    + NULL +
    +
    + +
    + +
    +
    + +
    +

    type_list()

    + +
    type_list() : string[]
    +

    SQL to show list of field types

    + + + + +

    Returns

    + string[] +
    +
    + +
    + +
    +
    + +
    +

    column_list()

    + +
    column_list(string $table) : string
    +

    SQL to show infromation about columns in a table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    fk_list()

    + +
    fk_list(string $table) : string
    +

    Get the list of foreign keys for the current +table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    index_list()

    + +
    index_list(string $table) : array
    +

    Get the list of indexes for the current table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    limit()

    + +
    limit(string $sql, int $limit, int $offset) : string
    +

    Limit clause

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$sql
    int$limit
    int$offset
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Driver.SQLite_Util.html b/docs/classes/Query.Driver.SQLite_Util.html index b66f82b..d441976 100644 --- a/docs/classes/Query.Driver.SQLite_Util.html +++ b/docs/classes/Query.Driver.SQLite_Util.html @@ -1,182 +1,849 @@ - + + - - - -Query » \Query\Driver\SQLite_Util - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -

    SQLite-specific backup, import and creation methods

    -
    -
    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Create an SQL backup file for the current database's data

    -
    backup_data(array $excluded = array()) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $excluded

    -array -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Create an SQL backup file for the current database's structure

    -
    backup_structure() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    query() -

    -
    query() : 
    -
    -
    -
    - - - - - - - - - -
    magic
    method
    -

    Returns

    -
    -
    -
    -
    -

    quote() -

    -
    quote() : 
    -
    -
    -
    - - - - - - - - - -
    magic
    method
    -

    Returns

    -
    -
    -
    -
    -
    -
    -
    -
    +
  • Abstract_Table
  • +
  • Table_Builder
  • +
  • Table_Foreign_Key
  • +
  • Table_Column
  • +
  • Table_Index
  • + +
    + + + + +
    + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\DriverSQLite_Util

    +

    SQLite-specific backup, import and creation methods

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + backup_data()
    + backup_structure()
    + __construct()
    + __call()
    + create_table()
    + delete_table()
    + query()
    + quote()
    + quote_ident()
    + quote_table()
    +
    +
    + No public properties found +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + No protected properties found +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + $conn
    +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + +
    +

    $conn

    +
    $conn
    +

    Reference to the current connection object

    + + +
    +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    backup_data()

    + +
    backup_data() : string
    +

    Return an SQL file with the database data as insert statements

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    backup_structure()

    + +
    backup_structure() : string
    +

    Return an SQL file with the database table structure

    + + + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    __construct()

    + +
    __construct(\Query\Driver\Driver_Interface $conn)
    +

    Save a reference to the connection object for later use

    + + +

    Parameters

    + + + + + + +
    \Query\Driver\Driver_Interface$conn
    + + +
    +
    + +
    + +
    +
    + +
    +

    __call()

    + +
    __call(string $method, array $args) : mixed
    +

    Enable calling driver methods

    + + +

    Parameters

    + + + + + + + + + + + +
    string$method
    array$args
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    create_table()

    + +
    create_table(string $name, array $fields, array $constraints) : string
    +

    Convienience public function to generate sql for creating a db table

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$name
    array$fields
    array$constraints
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    delete_table()

    + +
    delete_table(string $name) : string
    +

    Drop the selected table

    + + +

    Parameters

    + + + + + + +
    string$name
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    query()

    + +
    query(string $sql) : mixed
    +

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    quote()

    + +
    quote(string $str) : string
    +

    + + +

    Parameters

    + + + + + + +
    string$str
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_ident()

    + +
    quote_ident(string $sql) : string
    +

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    quote_table()

    + +
    quote_table(string $sql) : string
    +

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Query_Builder.html b/docs/classes/Query.Query_Builder.html index 0cde6f2..ad5d76b 100644 --- a/docs/classes/Query.Query_Builder.html +++ b/docs/classes/Query.Query_Builder.html @@ -1,1506 +1,3714 @@ - + + - - - -Query » \Query\Query_Builder - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    - - - - - - -
    -
    - -
    -

    Convienience class for creating sql queries - also the class that -instantiates the specific db driver

    -
    -
    - - - - - - - - - -
    packageQuery
    subpackageQuery_Builder
    -

    - Methods

    -
    -

    Calls a function further down the inheritence chain

    -
    __call(string $name, array $params) : mixed
    -
    -
    -
    -

    Parameters

    -
    -

    $name

    -string -
    -
    -

    $params

    -array -
    -

    Exceptions

    - - - -
    \Query\BadMethodCallException
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Constructor

    -
    __construct(\Query\Driver\Driver_Interface $db) 
    -
    -
    -
    -

    Parameters

    - -
    -
    -
    -

    Destructor

    -
    __destruct() 
    -
    -
    -
    - - - -
    codeCoverageIgnore
    -
    -
    -
    -

    Retreive the number of rows in the selected table

    -
    count_all(string $table) : int
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    int
    -
    -
    -
    -

    Retrieve the number of results for the generated query - used -in place of the get() method

    -
    count_all_results(string $table = '') : int
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    int
    -
    -
    -
    -

    Deletes data from a table

    -
    delete(string $table, mixed $where = '') : \Query\PDOStatement
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $where

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Adds the 'distinct' keyword to a query

    -
    distinct() : \Query\Query_Builder
    -
    -
    -
    -

    Returns

    - -
    -
    -
    -

    Tell the database to give you the query plan instead of result set

    -
    explain() : \Query\Query_Builder
    -
    -
    -
    -

    Returns

    - -
    -
    -
    -

    Specify the database table to select from

    -
    from(string $tblname) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $tblname

    -string -
    -

    Returns

    - -
    -
    -
    -

    Select and retrieve all records from the current table, and/or -execute current compiled query

    -
    get(mixed $table = '', int $limit = FALSE, int $offset = FALSE) : \Query\PDOStatement
    -
    -
    -
    -

    Parameters

    -

    $table

    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    - -
    -
    -
    -

    Returns the generated 'delete' sql query

    -
    get_compiled_delete(string $table = "", bool $reset = TRUE) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $reset

    -bool -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns the generated 'insert' sql query

    -
    get_compiled_insert(string $table, bool $reset = TRUE) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $reset

    -bool -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns the generated 'select' sql query

    -
    get_compiled_select(string $table = '', bool $reset = TRUE) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $reset

    -bool -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns the generated 'update' sql query

    -
    get_compiled_update(string $table = '', bool $reset = TRUE) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $reset

    -bool -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Convience method for get() with a where clause

    -
    get_where(string $table, array $where = array(), int $limit = FALSE, int $offset = FALSE) : \Query\PDOStatement
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $where

    -array -
    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    - -
    -
    -
    -

    Group the results by the selected field(s)

    -
    group_by(mixed $field) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Ends a query group

    -
    group_end() : \Query\Query_Builder
    -
    -
    -
    -

    Returns

    - -
    -
    -
    -

    Adds a paren to the current query for query grouping

    -
    group_start() : \Query\Query_Builder
    -
    -
    -
    -

    Returns

    - -
    -
    -
    -

    Generates a 'Having' clause

    -
    having(mixed $key, mixed $val = array()) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Creates an insert clause, and executes it

    -
    insert(string $table, mixed $data = array()) : \Query\PDOStatement
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $data

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Creates and executes a batch insertion query

    -
    insert_batch(string $table, array $data = array()) : \Query\PDOStatement
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $data

    -array -
    -

    Returns

    - -
    -
    -
    -

    Creates a join phrase in a compiled query

    -
    join(string $table, string $condition, string $type = '') : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $condition

    -string -
    -
    -

    $type

    -string -
    -

    Returns

    - -
    -
    -
    -

    Creates a Like clause in the sql statement

    -
    like(string $field, mixed $val, string $pos = 'both') : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -
    -

    $pos

    -string -
    -

    Returns

    - -
    -
    -
    -

    Set a limit on the current sql statement

    -
    limit(int $limit, int $offset = FALSE) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    - -
    -
    -
    -

    Generates a NOT LIKE clause

    -
    not_like(string $field, mixed $val, string $pos = 'both') : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -
    -

    $pos

    -string -
    -

    Returns

    - -
    -
    -
    -

    Adds a paren to the current query for query grouping, -prefixed with 'OR'

    -
    or_group_start() : \Query\Query_Builder
    -
    -
    -
    -

    Returns

    - -
    -
    -
    -

    Generates a 'Having' clause prefixed with 'OR'

    -
    or_having(mixed $key, mixed $val = array()) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Generates an OR Like clause

    -
    or_like(string $field, mixed $val, string $pos = 'both') : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -
    -

    $pos

    -string -
    -

    Returns

    - -
    -
    -
    -

    Adds a paren to the current query for query grouping, -prefixed with 'OR NOT'

    -
    or_not_group_start() : \Query\Query_Builder
    -
    -
    -
    -

    Returns

    - -
    -
    -
    -

    Generates a OR NOT LIKE clause

    -
    or_not_like(string $field, mixed $val, string $pos = 'both') : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -
    -

    $pos

    -string -
    -

    Returns

    - -
    -
    -
    -

    Where clause prefixed with "OR"

    -
    or_where(string $key, mixed $val = array()) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $key

    -string -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Where in statement prefixed with "or"

    -
    or_where_in(string $field, mixed $val = array()) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    OR WHERE NOT IN (FOO) clause

    -
    or_where_not_in(string $field, mixed $val = array()) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Order the results by the selected field(s)

    -
    order_by(string $field, string $type = "") : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $type

    -string -
    -

    Returns

    - -
    -
    -
    -

    Clear out the class variables, so the next query can be run

    -
    reset_query() : void
    -
    -
    -
    -
    -

    Specifies rows to select in a query

    -
    select(string $fields) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $fields

    -string -
    -

    Returns

    - -
    -
    -
    -

    Selects the average value of a field from a query

    -
    select_avg(string $field, string $as = FALSE) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $as

    -string -
    -

    Returns

    - -
    -
    -
    -

    Selects the maximum value of a field from a query

    -
    select_max(string $field, string $as = FALSE) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $as

    -string -
    -

    Returns

    - -
    -
    -
    -

    Selects the minimum value of a field from a query

    -
    select_min(string $field, string $as = FALSE) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $as

    -string -
    -

    Returns

    - -
    -
    -
    -

    Selects the sum of a field from a query

    -
    select_sum(string $field, string $as = FALSE) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $as

    -string -
    -

    Returns

    - -
    -
    -
    -

    Sets values for inserts / updates / deletes

    -
    set(mixed $key, mixed $val = NULL) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Creates an update clause, and executes it

    -
    update(string $table, mixed $data = array()) : \Query\PDOStatement
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $data

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    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

    -
    where(mixed $key, mixed $val = array(), mixed $escape = NULL) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -
    -

    $escape

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Where clause with 'IN' statement

    -
    where_in(mixed $field, mixed $val = array()) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    WHERE NOT IN (FOO) clause

    -
    where_not_in(string $field, mixed $val = array()) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Add an additional set of mapping pairs to a internal map

    -
    _append_map(string $conjunction = '', string $string = '', string $type = '') : void
    -
    -
    -
    -

    Parameters

    -
    -

    $conjunction

    -string -
    -
    -

    $string

    -string -
    -
    -

    $type

    -string -
    -
    -
    -
    -

    Convert the prepared statement into readable sql

    -
    _append_query(array $vals, string $sql, string $total_time) : void
    -
    -
    -
    -

    Parameters

    -
    -

    $vals

    -array -
    -
    -

    $sql

    -string -
    -
    -

    $total_time

    -string -
    -
    -
    -
    -

    String together the sql statements for sending to the db

    -
    _compile(string $type = '', string $table = '') : \Query\$string
    -
    -
    -
    -

    Parameters

    -
    -

    $type

    -string -
    -
    -

    $table

    -string -
    -

    Returns

    - -
    -
    -
    -

    Sub-method for generating sql strings

    -
    _compile_type(string $type = '', string $table = '') : string
    -
    -
    -
    -

    Parameters

    -
    -

    $type

    -string -
    -
    -

    $table

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Helper function for returning sql strings

    -
    _get_compile(string $type, string $table, bool $reset) 
    -
    -
    -
    - - - -
    resturnstring
    -

    Parameters

    -
    -

    $type

    -string -
    -
    -

    $table

    -string -
    -
    -

    $reset

    -bool -
    -
    -
    -
    -

    Simplify building having clauses

    -
    _having(mixed $key, mixed $val = array(), string $conj = 'AND') : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -
    -

    $conj

    -string -
    -

    Returns

    - -
    -
    - -
    -

    Executes the compiled query

    -
    _run(string $type, string $table, string $sql = NULL, array|null $vals = NULL) : \Query\PDOStatement
    -
    -
    -
    -

    Parameters

    -
    -

    $type

    -string -
    -
    -

    $table

    -string -
    -
    -

    $sql

    -string -
    -
    -

    $vals

    -arraynull -
    -

    Returns

    - -
    -
    -
    -

    Method to simplify select_ methods

    -
    _select(string $field, string $as = FALSE) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $as

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Do all the repeditive stuff for where/having type methods

    -
    _where(mixed $key, mixed $val = array()) : array
    -
    -
    -
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Simplify where_in methods

    -
    _where_in(mixed $key, mixed $val = array(), string $in = 'IN', string $conj = 'AND') : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -
    -

    $in

    -string
      +passed array with key / value pairs

      + + +

      Parameters

      + + + + + + + + + + + + + + + + +
      mixed$key
      mixed$val
      mixed$escape
      + + +

      Returns

      + \Query\Query_Builder + +
    + +
    + +
    +
    + +
    +

    or_where()

    + +
    or_where(string $key, mixed $val) : \Query\Query_Builder
    +

    Where clause prefixed with "OR"

    + + +

    Parameters

    + + + + + + + + + + + +
    string$key
    mixed$val
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    where_in()

    + +
    where_in(mixed $field, mixed $val) : \Query\Query_Builder
    +

    Where clause with 'IN' statement

    + + +

    Parameters

    + + + + + + + + + + + +
    mixed$field
    mixed$val
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    or_where_in()

    + +
    or_where_in(string $field, mixed $val) : \Query\Query_Builder
    +

    Where in statement prefixed with "or"

    + + +

    Parameters

    + + + + + + + + + + + +
    string$field
    mixed$val
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    where_not_in()

    + +
    where_not_in(string $field, mixed $val) : \Query\Query_Builder
    +

    WHERE NOT IN (FOO) clause

    + + +

    Parameters

    + + + + + + + + + + + +
    string$field
    mixed$val
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    or_where_not_in()

    + +
    or_where_not_in(string $field, mixed $val) : \Query\Query_Builder
    +

    OR WHERE NOT IN (FOO) clause

    + + +

    Parameters

    + + + + + + + + + + + +
    string$field
    mixed$val
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    set()

    + +
    set(mixed $key, mixed $val) : \Query\Query_Builder
    +

    Sets values for inserts / updates / deletes

    + + +

    Parameters

    + + + + + + + + + + + +
    mixed$key
    mixed$val
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    join()

    + +
    join(string $table, string $condition, string $type) : \Query\Query_Builder
    +

    Creates a join phrase in a compiled query

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$table
    string$condition
    string$type
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    group_by()

    + +
    group_by(mixed $field) : \Query\Query_Builder
    +

    Group the results by the selected field(s)

    + + +

    Parameters

    + + + + + + +
    mixed$field
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    order_by()

    + +
    order_by(string $field, string $type) : \Query\Query_Builder
    +

    Order the results by the selected field(s)

    + + +

    Parameters

    + + + + + + + + + + + +
    string$field
    string$type
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    limit()

    + +
    limit(int $limit, int $offset) : \Query\Query_Builder
    +

    Set a limit on the current sql statement

    + + +

    Parameters

    + + + + + + + + + + + +
    int$limit
    int$offset
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    group_start()

    + +
    group_start() : \Query\Query_Builder
    +

    Adds a paren to the current query for query grouping

    + + + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    or_group_start()

    + +
    or_group_start() : \Query\Query_Builder
    +

    Adds a paren to the current query for query grouping, +prefixed with 'OR'

    + + + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    or_not_group_start()

    + +
    or_not_group_start() : \Query\Query_Builder
    +

    Adds a paren to the current query for query grouping, +prefixed with 'OR NOT'

    + + + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    group_end()

    + +
    group_end() : \Query\Query_Builder
    +

    Ends a query group

    + + + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    get()

    + +
    get(mixed $table, int $limit, int $offset) : \Query\PDOStatement
    +

    Select and retrieve all records from the current table, and/or +execute current compiled query

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    mixed$table
    int$limit
    int$offset
    + + +

    Returns

    + \Query\PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    get_where()

    + +
    get_where(string $table, array $where, int $limit, int $offset) : \Query\PDOStatement
    +

    Convience method for get() with a where clause

    + + +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + +
    string$table
    array$where
    int$limit
    int$offset
    + + +

    Returns

    + \Query\PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    count_all()

    + +
    count_all(string $table) : int
    +

    Retreive the number of rows in the selected table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + int +
    +
    + +
    + +
    +
    + +
    +

    count_all_results()

    + +
    count_all_results(string $table) : int
    +

    Retrieve the number of results for the generated query - used +in place of the get() method

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + int +
    +
    + +
    + +
    +
    + +
    +

    insert()

    + +
    insert(string $table, mixed $data) : \Query\PDOStatement
    +

    Creates an insert clause, and executes it

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    mixed$data
    + + +

    Returns

    + \Query\PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    insert_batch()

    + +
    insert_batch(string $table, array $data) : \Query\PDOStatement
    +

    Creates and executes a batch insertion query

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    array$data
    + + +

    Returns

    + \Query\PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    update()

    + +
    update(string $table, mixed $data) : \Query\PDOStatement
    +

    Creates an update clause, and executes it

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    mixed$data
    + + +

    Returns

    + \Query\PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    delete()

    + +
    delete(string $table, mixed $where) : \Query\PDOStatement
    +

    Deletes data from a table

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    mixed$where
    + + +

    Returns

    + \Query\PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    get_compiled_select()

    + +
    get_compiled_select(string $table, bool $reset) : string
    +

    Returns the generated 'select' sql query

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    bool$reset
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    get_compiled_insert()

    + +
    get_compiled_insert(string $table, bool $reset) : string
    +

    Returns the generated 'insert' sql query

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    bool$reset
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    get_compiled_update()

    + +
    get_compiled_update(string $table, bool $reset) : string
    +

    Returns the generated 'update' sql query

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    bool$reset
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    get_compiled_delete()

    + +
    get_compiled_delete(string $table, bool $reset) : string
    +

    Returns the generated 'delete' sql query

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    bool$reset
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    reset_query()

    + +
    reset_query() : void
    +

    Clear out the class variables, so the next query can be run

    + + + + +
    +
    + +
    + +
    +
    + +
    +

    __call()

    + +
    __call(string $name, array $params) : mixed
    +

    Calls a function further down the inheritence chain

    + + +

    Parameters

    + + + + + + + + + + + +
    string$name
    array$params
    + +

    Throws

    +
    +
    \Query\BadMethodCallException
    +
    +
    + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    _select()

    + +
    _select(string $field, string $as) : string
    +

    Method to simplify select_ methods

    + + +

    Parameters

    + + + + + + + + + + + +
    string$field
    string$as
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    _like()

    + +
    _like(string $field, mixed $val, string $pos, string $like, string $conj) : \Query\Query_Builder
    +

    Simplify 'like' methods

    + + +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    string$field
    mixed$val
    string$pos
    string$like
    string$conj
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    _having()

    + +
    _having(mixed $key, mixed $val, string $conj) : \Query\Query_Builder
    +

    Simplify building having clauses

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    mixed$key
    mixed$val
    string$conj
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    _where()

    + +
    _where(mixed $key, mixed $val) : array
    +

    Do all the repeditive stuff for where/having type methods

    + + +

    Parameters

    + + + + + + + + + + + +
    mixed$key
    mixed$val
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    _where_string()

    + +
    _where_string(mixed $key, mixed $val, string $conj) : \Query\Query_Builder
    +

    Simplify generating where string

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    mixed$key
    mixed$val
    string$conj
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    _where_in()

    + +
    _where_in(mixed $key, mixed $val, string $in, string $conj) : \Query\Query_Builder
    +

    Simplify where_in methods

    + + +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + +
    mixed$key
    mixed$val
    string$in
    • The (not) in fragment
    • -
    -
    -

    $conj

    -string
      +
    string$conj
    • The where in conjunction
    • -
    -

    Returns

    - - - -
    -

    Simplify generating where string

    -
    _where_string(mixed $key, mixed $val = array(), string $conj = 'AND') : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -
    -

    $conj

    -string -
    -

    Returns

    - -
    -
    -

    - Properties

    - 
    -

    Convenience property for connection management

    -
    $conn_name : string
    -
    -

    Default

    -
    ""
    -
    -
    -
    -
    - 
    -

    The current database driver

    -
    $db : \Query\Driver\Driver_Interface
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    List of queries executed

    -
    $queries : array
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Alias to $this->db->sql

    -
    $sql : \Query\SQL_Interface
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Alias to $this->db->util

    -
    $util : \Query\DB_Util
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Whether to do only an explain on the query

    -
    $explain : bool
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Compiled 'from' clause

    -
    $from_string : \Query\type
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Key/val pairs for group by clause

    -
    $group_array : array
    -
    -

    Default

    -
    array()
    -
    -
    -
    -
    - 
    -

    Group by clause

    -
    $group_string : string
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Map for having clause

    -
    $having_map : array
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Value for limit string

    -
    $limit : \Query\type
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Value for offset in limit string

    -
    $offset : int
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Key/val pairs for order by clause

    -
    $order_array : array
    -
    -

    Default

    -
    array()
    -
    -
    -
    -
    - 
    -

    Order by clause

    -
    $order_string : string
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Query parser class instance

    -
    $parser : \Query\Query_Parser
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Query component order mapping -for complex select queries

    -
    $query_map : array
    -
    -

    Default

    -
    array()
    -
    -
    -
    Format: -array( - 'type' => 'where', - 'conjunction' => ' AND ', - 'string' => 'k=?' -)
    -
    - 
    -

    Compiled 'select' clause

    -
    $select_string : \Query\type
    -
    -

    Default

    -
    ''
    -
    -
    -
    -
    - 
    -

    Keys for insert/update statement

    -
    $set_array_keys : array
    -
    -

    Default

    -
    array()
    -
    -
    -
    -
    - 
    -

    Compiled arguments for insert / update

    -
    $set_string : string
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Values to apply to prepared statements

    -
    $values : array
    -
    -

    Default

    -
    array()
    -
    -
    -
    -
    - 
    -

    Values to apply to where clauses in prepared statements

    -
    $where_values : array
    -
    -

    Default

    -
    array()
    -
    -
    -
    -
    - - - - -
    +
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    _get_compile()

    + +
    _get_compile(string $type, string $table, bool $reset)
    +

    Helper function for returning sql strings

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$type
    string$table
    bool$reset
    + + +
    +
    + +
    + +
    +
    + +
    +

    _run()

    + +
    _run(string $type, string $table, string $sql, array|null $vals) : \Query\PDOStatement
    +

    Executes the compiled query

    + + +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + +
    string$type
    string$table
    string$sql
    array|null$vals
    + + +

    Returns

    + \Query\PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    _append_query()

    + +
    _append_query(array $vals, string $sql, string $total_time) : void
    +

    Convert the prepared statement into readable sql

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    array$vals
    string$sql
    string$total_time
    + + +
    +
    + +
    + +
    +
    + +
    +

    _append_map()

    + +
    _append_map(string $conjunction, string $string, string $type) : void
    +

    Add an additional set of mapping pairs to a internal map

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$conjunction
    string$string
    string$type
    + + +
    +
    + +
    + +
    +
    + +
    +

    _compile_type()

    + +
    _compile_type(string $type, string $table) : string
    +

    Sub-method for generating sql strings

    + + +

    Parameters

    + + + + + + + + + + + +
    string$type
    string$table
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    _compile()

    + +
    _compile(string $type, string $table) : \Query\$string
    +

    String together the sql statements for sending to the db

    + + +

    Parameters

    + + + + + + + + + + + +
    string$type
    string$table
    + + +

    Returns

    + \Query\$string +
    +
    + +
    + +
    + + + + +
    + diff --git a/docs/classes/Query.Query_Builder_Interface.html b/docs/classes/Query.Query_Builder_Interface.html index 9d474e5..ee7ab50 100644 --- a/docs/classes/Query.Query_Builder_Interface.html +++ b/docs/classes/Query.Query_Builder_Interface.html @@ -1,912 +1,2279 @@ - + + - - - -Query » \Query\Query_Builder_Interface - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    - - -
    -
    - -
    -

    Interface defining the Query Builder class

    -
    -
    - - - - - - - - - -
    packageQuery
    subpackageQuery_Builder
    -

    - Methods

    -
    -

    Retreive the number of rows in the selected table

    -
    count_all(string $table) : int
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    int
    -
    -
    -
    -

    Retrieve the number of results for the generated query - used -in place of the get() method

    -
    count_all_results(string $table = '') : int
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    int
    -
    -
    -
    -

    Deletes data from a table

    -
    delete(string $table, mixed $where = '') : \Query\PDOStatement
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $where

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Adds the 'distinct' keyword to a query

    -
    distinct() : \Query\Query_Builder
    -
    -
    -
    -

    Returns

    - -
    -
    -
    -

    Shows the query plan for the query

    -
    explain() : \Query\Query_Builder
    -
    -
    -
    -

    Returns

    - -
    -
    -
    -

    Specify the database table to select from

    -
    from(string $tblname) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $tblname

    -string -
    -

    Returns

    - -
    -
    -
    -

    Select and retrieve all records from the current table, and/or -execute current compiled query

    -
    get(mixed $table = '', int $limit = FALSE, int $offset = FALSE) : \Query\PDOStatement
    -
    -
    -
    -

    Parameters

    -

    $table

    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    - -
    -
    -
    -

    Returns the generated 'delete' sql query

    -
    get_compiled_delete(string $table = "", bool $reset = TRUE) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $reset

    -bool -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns the generated 'insert' sql query

    -
    get_compiled_insert(string $table, bool $reset = TRUE) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $reset

    -bool -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns the generated 'select' sql query

    -
    get_compiled_select(string $table = '', bool $reset = TRUE) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $reset

    -bool -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns the generated 'update' sql query

    -
    get_compiled_update(string $table = '', bool $reset = TRUE) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $reset

    -bool -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Convience method for get() with a where clause

    -
    get_where(string $table, array $where = array(), int $limit = FALSE, int $offset = FALSE) : \Query\PDOStatement
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $where

    -array -
    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    - -
    -
    -
    -

    Group the results by the selected field(s)

    -
    group_by(mixed $field) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Ends a query group

    -
    group_end() : \Query\Query_Builder
    -
    -
    -
    -

    Returns

    - -
    -
    -
    -

    Adds a paren to the current query for query grouping

    -
    group_start() : \Query\Query_Builder
    -
    -
    -
    -

    Returns

    - -
    -
    -
    -

    Generates a 'Having' clause

    -
    having(mixed $key, mixed $val = array()) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Creates an insert clause, and executes it

    -
    insert(string $table, mixed $data = array()) : \Query\PDOStatement
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $data

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Creates and executes a batch insertion query

    -
    insert_batch(string $table, array $data = array()) : \PDOStatement | null
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $data

    -array -
    -

    Returns

    - -
    -
    -
    -

    Creates a join phrase in a compiled query

    -
    join(string $table, string $condition, string $type = '') : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $condition

    -string -
    -
    -

    $type

    -string -
    -

    Returns

    - -
    -
    -
    -

    Creates a Like clause in the sql statement

    -
    like(string $field, mixed $val, string $pos = 'both') : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -
    -

    $pos

    -string -
    -

    Returns

    - -
    -
    -
    -

    Set a limit on the current sql statement

    -
    limit(int $limit, int $offset = FALSE) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Generates a NOT LIKE clause

    -
    not_like(string $field, mixed $val, string $pos = 'both') : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -
    -

    $pos

    -string -
    -

    Returns

    - -
    -
    -
    -

    Adds a paren to the current query for query grouping, -prefixed with 'OR'

    -
    or_group_start() : \Query\Query_Builder
    -
    -
    -
    -

    Returns

    - -
    -
    -
    -

    Generates a 'Having' clause prefixed with 'OR'

    -
    or_having(mixed $key, mixed $val = array()) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Generates an OR Like clause

    -
    or_like(string $field, mixed $val, string $pos = 'both') : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -
    -

    $pos

    -string -
    -

    Returns

    - -
    -
    -
    -

    Adds a paren to the current query for query grouping, -prefixed with 'OR NOT'

    -
    or_not_group_start() : \Query\Query_Builder
    -
    -
    -
    -

    Returns

    - -
    -
    -
    -

    Generates a OR NOT LIKE clause

    -
    or_not_like(string $field, mixed $val, string $pos = 'both') : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -
    -

    $pos

    -string -
    -

    Returns

    - -
    -
    -
    -

    Where clause prefixed with "OR"

    -
    or_where(string $key, mixed $val = array()) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $key

    -string -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Where in statement prefixed with "or"

    -
    or_where_in(string $field, mixed $val = array()) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    OR WHERE NOT IN (FOO) clause

    -
    or_where_not_in(string $field, mixed $val = array()) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Order the results by the selected field(s)

    -
    order_by(string $field, string $type = "") : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $type

    -string -
    -

    Returns

    - -
    -
    -
    -

    Clear out the class variables, so the next query can be run

    -
    reset_query() : void
    -
    -
    -
    -
    -

    Specifies rows to select in a query

    -
    select(string $fields) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $fields

    -string -
    -

    Returns

    - -
    -
    -
    -

    Selects the average value of a field from a query

    -
    select_avg(string $field, string $as = FALSE) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $as

    -string -
    -

    Returns

    - -
    -
    -
    -

    Selects the maximum value of a field from a query

    -
    select_max(string $field, string $as = FALSE) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $as

    -string -
    -

    Returns

    - -
    -
    -
    -

    Selects the minimum value of a field from a query

    -
    select_min(string $field, string $as = FALSE) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $as

    -string -
    -

    Returns

    - -
    -
    -
    -

    Selects the sum of a field from a query

    -
    select_sum(string $field, string $as = FALSE) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $as

    -string -
    -

    Returns

    - -
    -
    -
    -

    Sets values for inserts / updates / deletes

    -
    set(mixed $key, mixed $val = NULL) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Creates an update clause, and executes it

    -
    update(string $table, mixed $data = array()) : \Query\PDOStatement
    -
    -
    -
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $data

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    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

    -
    where(mixed $key, mixed $val = array(), bool $escape = NULL) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -
    -

    $escape

    -bool -
    -

    Returns

    - -
    -
    -
    -

    Where clause with 'IN' statement

    -
    where_in(mixed $field, mixed $val = array()) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    WHERE NOT IN (FOO) clause

    -
    where_not_in(string $field, mixed $val = array()) : \Query\Query_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -
    -
    -
    -
    -
    +passed array with key / value pairs

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    mixed$key
    mixed$val
    bool$escape
    + + +

    Returns

    + \Query\Query_Builder + +
    + +
    + +
    +
    + +
    +

    or_where()

    + +
    or_where(string $key, mixed $val) : \Query\Query_Builder
    +

    Where clause prefixed with "OR"

    + + +

    Parameters

    + + + + + + + + + + + +
    string$key
    mixed$val
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    where_in()

    + +
    where_in(mixed $field, mixed $val) : \Query\Query_Builder
    +

    Where clause with 'IN' statement

    + + +

    Parameters

    + + + + + + + + + + + +
    mixed$field
    mixed$val
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    or_where_in()

    + +
    or_where_in(string $field, mixed $val) : \Query\Query_Builder
    +

    Where in statement prefixed with "or"

    + + +

    Parameters

    + + + + + + + + + + + +
    string$field
    mixed$val
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    where_not_in()

    + +
    where_not_in(string $field, mixed $val) : \Query\Query_Builder
    +

    WHERE NOT IN (FOO) clause

    + + +

    Parameters

    + + + + + + + + + + + +
    string$field
    mixed$val
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    or_where_not_in()

    + +
    or_where_not_in(string $field, mixed $val) : \Query\Query_Builder
    +

    OR WHERE NOT IN (FOO) clause

    + + +

    Parameters

    + + + + + + + + + + + +
    string$field
    mixed$val
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    set()

    + +
    set(mixed $key, mixed $val) : \Query\Query_Builder
    +

    Sets values for inserts / updates / deletes

    + + +

    Parameters

    + + + + + + + + + + + +
    mixed$key
    mixed$val
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    join()

    + +
    join(string $table, string $condition, string $type) : \Query\Query_Builder
    +

    Creates a join phrase in a compiled query

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$table
    string$condition
    string$type
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    group_by()

    + +
    group_by(mixed $field) : \Query\Query_Builder
    +

    Group the results by the selected field(s)

    + + +

    Parameters

    + + + + + + +
    mixed$field
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    order_by()

    + +
    order_by(string $field, string $type) : \Query\Query_Builder
    +

    Order the results by the selected field(s)

    + + +

    Parameters

    + + + + + + + + + + + +
    string$field
    string$type
    + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    limit()

    + +
    limit(int $limit, int $offset) : string
    +

    Set a limit on the current sql statement

    + + +

    Parameters

    + + + + + + + + + + + +
    int$limit
    int$offset
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    group_start()

    + +
    group_start() : \Query\Query_Builder
    +

    Adds a paren to the current query for query grouping

    + + + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    or_group_start()

    + +
    or_group_start() : \Query\Query_Builder
    +

    Adds a paren to the current query for query grouping, +prefixed with 'OR'

    + + + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    or_not_group_start()

    + +
    or_not_group_start() : \Query\Query_Builder
    +

    Adds a paren to the current query for query grouping, +prefixed with 'OR NOT'

    + + + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    group_end()

    + +
    group_end() : \Query\Query_Builder
    +

    Ends a query group

    + + + + +

    Returns

    + \Query\Query_Builder +
    +
    + +
    + +
    +
    + +
    +

    get()

    + +
    get(mixed $table, int $limit, int $offset) : \Query\PDOStatement
    +

    Select and retrieve all records from the current table, and/or +execute current compiled query

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    mixed$table
    int$limit
    int$offset
    + + +

    Returns

    + \Query\PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    get_where()

    + +
    get_where(string $table, array $where, int $limit, int $offset) : \Query\PDOStatement
    +

    Convience method for get() with a where clause

    + + +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + +
    string$table
    array$where
    int$limit
    int$offset
    + + +

    Returns

    + \Query\PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    count_all()

    + +
    count_all(string $table) : int
    +

    Retreive the number of rows in the selected table

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + int +
    +
    + +
    + +
    +
    + +
    +

    count_all_results()

    + +
    count_all_results(string $table) : int
    +

    Retrieve the number of results for the generated query - used +in place of the get() method

    + + +

    Parameters

    + + + + + + +
    string$table
    + + +

    Returns

    + int +
    +
    + +
    + +
    +
    + +
    +

    insert()

    + +
    insert(string $table, mixed $data) : \Query\PDOStatement
    +

    Creates an insert clause, and executes it

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    mixed$data
    + + +

    Returns

    + \Query\PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    insert_batch()

    + +
    insert_batch(string $table, array $data) : \PDOStatement|null
    +

    Creates and executes a batch insertion query

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    array$data
    + + +

    Returns

    + \PDOStatement|null +
    +
    + +
    + +
    +
    + +
    +

    update()

    + +
    update(string $table, mixed $data) : \Query\PDOStatement
    +

    Creates an update clause, and executes it

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    mixed$data
    + + +

    Returns

    + \Query\PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    delete()

    + +
    delete(string $table, mixed $where) : \Query\PDOStatement
    +

    Deletes data from a table

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    mixed$where
    + + +

    Returns

    + \Query\PDOStatement +
    +
    + +
    + +
    +
    + +
    +

    get_compiled_select()

    + +
    get_compiled_select(string $table, bool $reset) : string
    +

    Returns the generated 'select' sql query

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    bool$reset
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    get_compiled_insert()

    + +
    get_compiled_insert(string $table, bool $reset) : string
    +

    Returns the generated 'insert' sql query

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    bool$reset
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    get_compiled_update()

    + +
    get_compiled_update(string $table, bool $reset) : string
    +

    Returns the generated 'update' sql query

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    bool$reset
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    get_compiled_delete()

    + +
    get_compiled_delete(string $table, bool $reset) : string
    +

    Returns the generated 'delete' sql query

    + + +

    Parameters

    + + + + + + + + + + + +
    string$table
    bool$reset
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    reset_query()

    + +
    reset_query() : void
    +

    Clear out the class variables, so the next query can be run

    + + + + +
    +
    + +
    + +
    + + + + + +
    + diff --git a/docs/classes/Query.Query_Parser.html b/docs/classes/Query.Query_Parser.html index 26bb4ff..ede645c 100644 --- a/docs/classes/Query.Query_Parser.html +++ b/docs/classes/Query.Query_Parser.html @@ -1,214 +1,656 @@ - + + - - - -Query » \Query\Query_Parser - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    - +
    +
    +
    +
    + + + + - - - -
    - -
    -

    Utility Class to parse sql clauses for properly escaping identifiers

    -
    -
    - - - - - - - - - -
    packageQuery
    subpackageQuery_Builder
    -

    - Methods

    -
    -

    Constructor/entry point into parser

    -
    __construct(\Query\Query_Builder $db) 
    -
    -
    -
    -

    Parameters

    - -
    -
    -
    -

    Compiles a join condition after parsing

    -
    compile_join(string $condition) : string
    -
    -
    -
    -

    Parameters

    -
    -

    $condition

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns a more useful match array

    -
    filter_array(array $array) : array
    -
    -
    -
    -

    Parameters

    -
    -

    $array

    -array -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Public parser method for seting the parse string

    -
    parse_join(string $sql) 
    -
    -
    -
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -
    -

    - Properties

    - 
    -

    Regex matches

    -
    $matches : array
    -
    -

    Default

    -
    array('functions' => array(), 'identifiers' => array(), 'operators' => array(), 'combined' => array())
    -
    -
    -
    -
    - 
    -

    DB Driver

    -
    $db : \Query\Driver\Driver_Interface
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Regex patterns for various syntax components

    -
    $match_patterns : array
    -
    -

    Default

    -
    array('function' => '([a-zA-Z0-9_]+\((.*?)\))', 'identifier' => '([a-zA-Z0-9_-]+\.?)+', 'operator' => '=|AND|&&?|~|\|\|?|\^|/|>=?|<=?|-|%|OR|\+|NOT|\!=?|<>|XOR')
    -
    -
    -
    -
    -
    -
    -
    - -
    +
  • Query_Builder_Interface
  • +
  • Query_Parser
  • +
  • Query_Builder
  • +
  • BadDBDriverException
  • +
  • Connection_Manager
  • + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \QueryQuery_Parser

    +

    Utility Class to parse sql clauses for properly escaping identifiers

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + __construct()
    + compile_join()
    +
    +
    + $matches
    +
    +
    + No constants found +
    +
    +
    +
    + parse_join()
    + filter_array()
    +
    +
    + No protected properties found +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + $db
    + $match_patterns
    +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + +
    +

    $matches

    +
    $matches : array
    +

    Regex matches

    + + +

    Type

    + array +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    + +
    +

    $match_patterns

    +
    $match_patterns : array
    +

    Regex patterns for various syntax components

    + + +

    Type

    + array +
    +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    __construct()

    + +
    __construct(\Query\Query_Builder $db)
    +

    Constructor/entry point into parser

    + + +

    Parameters

    + + + + + + +
    \Query\Query_Builder$db
    + + +
    +
    + +
    + +
    +
    + +
    +

    compile_join()

    + +
    compile_join(string $condition) : string
    +

    Compiles a join condition after parsing

    + + +

    Parameters

    + + + + + + +
    string$condition
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    parse_join()

    + +
    parse_join(string $sql)
    +

    Public parser method for seting the parse string

    + + +

    Parameters

    + + + + + + +
    string$sql
    + + +
    +
    + +
    + +
    +
    + +
    +

    filter_array()

    + +
    filter_array(array $array) : array
    +

    Returns a more useful match array

    + + +

    Parameters

    + + + + + + +
    array$array
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Table.Abstract_Table.html b/docs/classes/Query.Table.Abstract_Table.html index 9cf6a8f..ce3e307 100644 --- a/docs/classes/Query.Table.Abstract_Table.html +++ b/docs/classes/Query.Table.Abstract_Table.html @@ -1,176 +1,595 @@ - + + - - - -Query » \Query\Table\Abstract_Table - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -

    Base class for table builder component classes`

    -
    -
    -

    - Methods

    -
    -

    Getters

    -
    __get(mixed $name) : mixed
    -
    -
    -
    -

    Parameters

    -
    -

    $name

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Setters

    -
    __set(mixed $name, mixed $val) : \Query\Table_Column
    -
    -
    -
    -

    Parameters

    -
    -

    $name

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    String representation of the column/index

    -
    __toString() 
    -
    -
    -
    -
    -

    Set options for the current column

    -
    set_options(array $options) 
    -
    -
    -
    -

    Parameters

    -
    -

    $options

    -array

    return \Query\Table_Column

    -
    -
    -

    - Properties

    - 
    -

    Valid options for the current class

    -
    $valid_options : array
    -
    -

    Default

    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    +
  • Abstract_Table
  • +
  • Table_Builder
  • +
  • Table_Foreign_Key
  • +
  • Table_Column
  • +
  • Table_Index
  • + +
    + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\TableAbstract_Table

    +

    Base class for table builder component classes`

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + __toString()
    + set_options()
    + __get()
    + __set()
    +
    +
    + No public properties found +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + $valid_options
    +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + No private properties found +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + +
    +

    $valid_options

    +
    $valid_options : array
    +

    Valid options for the current class

    + + +

    Type

    + array +
    +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    __toString()

    + +
    __toString()
    +

    String representation of the column/index

    + + + + +
    +
    + +
    + +
    +
    + +
    +

    set_options()

    + +
    set_options(array $options)
    +

    Set options for the current column

    + + +

    Parameters

    + + + + + + +
    array$options

    return \Query\Table_Column

    + + +
    +
    + +
    + +
    +
    + +
    +

    __get()

    + +
    __get(mixed $name) : mixed
    +

    Getters

    + + +

    Parameters

    + + + + + + +
    mixed$name
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    __set()

    + +
    __set(mixed $name, mixed $val) : \Query\Table_Column
    +

    Setters

    + + +

    Parameters

    + + + + + + + + + + + +
    mixed$name
    mixed$val
    + + +

    Returns

    + \Query\Table_Column +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Table.Table_Builder.html b/docs/classes/Query.Table.Table_Builder.html index 4c04a78..fa8a360 100644 --- a/docs/classes/Query.Table.Table_Builder.html +++ b/docs/classes/Query.Table.Table_Builder.html @@ -1,519 +1,1608 @@ - + + - - - -Query » \Query\Table\Table_Builder - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + - + + +
    +
    +
    + + Driver +
    +
    + -
    - -
    -

    Abstract class defining database / table creation methods

    -
    -
    - - - - - - - - - -
    packageQuery
    subpackageTable_Builder
    -

    - Methods

    -
    -

    Constructor

    -
    __construct(\Query\Table\[string] $name = '', \Query\Table\[array] $options = array(), \Query\Table\[Driver_Interface] $driver = NULL) : \Query\Table\Table_Builder
    -
    -
    -
    -

    Parameters

    - -
    -

    $options

    -\Query\Table\[array] -
    - -

    Returns

    - -
    -
    -
    -

    Alias to constructor

    -
    __invoke(\Query\Table\[string] $name = '', \Query\Table\[array] $options = array(), \Query\Table\[\Query\Driver\Driver_Interface] $driver = NULL) : \Query\Table\Table_Builder
    -
    - -
    -
    -

    Add a column to the current table

    -
    add_column(string $column_name, string $type = NULL, array $options = array()) : \Query\Table\Table_Builder
    -
    -
    -
    -

    Parameters

    -
    -

    $column_name

    -string -
    -
    -

    $type

    -string -
    -
    -

    $options

    -array -
    -

    Returns

    - -
    -
    -
    -

    add_foreign_key() -

    -
    add_foreign_key($columns, $referenced_table, $referenced_columns = array('id'), $options = array()
    -
    -
    -
    -

    Parameters

    -

    $columns

    -

    $referenced_table

    -

    $referenced_columns

    -

    $options

    -
    -
    -
    -

    add_index() -

    -
    add_index($columns, $options = array()
    -
    -
    -
    -

    Parameters

    -

    $columns

    -

    $options

    -
    -
    -
    -

    change_column() -

    -
    change_column($column_name, $new_column_type, $options = array()
    -
    -
    -
    -

    Parameters

    -

    $column_name

    -

    $new_column_type

    -

    $options

    -
    -
    -
    -

    create() -

    -
    create() 
    -
    -
    -
    -
    -

    drop() -

    -
    drop() 
    -
    -
    -
    -
    -

    drop_foreign_key() -

    -
    drop_foreign_key($columns, $constraint = NULL
    -
    -
    -
    -

    Parameters

    -

    $columns

    -

    $constraint

    -
    -
    -
    -

    exists() -

    -
    exists() 
    -
    -
    -
    -
    -

    get_columns() -

    -
    get_columns() 
    -
    -
    -
    -
    -

    Get the current DB Driver

    -
    get_driver() : \Query\Driver_Interface
    -
    - -
    -
    -

    has_column() -

    -
    has_column($column_name, $options = array()
    -
    -
    -
    -

    Parameters

    -

    $column_name

    -

    $options

    -
    -
    -
    -

    has_foreign_key() -

    -
    has_foreign_key($columns, $constraint = NULL
    -
    -
    -
    -

    Parameters

    -

    $columns

    -

    $constraint

    -
    -
    -
    -

    has_index() -

    -
    has_index($columns, $options = array()
    -
    -
    -
    -

    Parameters

    -

    $columns

    -

    $options

    -
    -
    -
    -

    remove_column() -

    -
    remove_column($column_name) 
    -
    -
    -
    -

    Parameters

    -

    $column_name

    -
    -
    -
    -

    remove_index() -

    -
    remove_index($columns, $options = array()
    -
    -
    -
    -

    Parameters

    -

    $columns

    -

    $options

    -
    -
    -
    -

    remove_index_by_name() -

    -
    remove_index_by_name($name) 
    -
    -
    -
    -

    Parameters

    -

    $name

    -
    -
    -
    -

    rename() -

    -
    rename($new_table_name) 
    -
    -
    -
    -

    Parameters

    -

    $new_table_name

    -
    -
    -
    -

    rename_column() -

    -
    rename_column($old_name, $new_name) 
    -
    -
    -
    -

    Parameters

    -

    $old_name

    -

    $new_name

    -
    -
    -
    -

    reset() -

    -
    reset() 
    -
    -
    -
    -
    -

    save() -

    -
    save() 
    -
    -
    -
    -
    -

    Set the reference to the current database driver

    -
    set_driver(\Query\Driver\Driver_Interface $driver = NULL) : \Query\Table\Table_Builder
    -
    -
    -
    -

    Parameters

    - -

    Returns

    - -
    -
    -
    -

    update() -

    -
    update() 
    -
    -
    -
    -

    - Properties

    - 
    -

    The name of the current table

    -
    $name : string
    -
    -

    Default

    -
    ''
    -
    -
    -
    -
    - 
    -

    Columns to be added/updated for the current table

    -
    $columns : array
    -
    -

    Default

    -
    array()
    -
    -
    -
    -
    - 
    -

    Driver for the current db

    -
    $driver : \Query\Driver\Driver_Interface
    -
    -

    Default

    -
    NULL
    -
    -
    -
    -
    - 
    -

    Foreign keys to be added/updated for the current table

    -
    $foreign_keys : array
    -
    -

    Default

    -
    array()
    -
    -
    -
    -
    - 
    -

    Indexes to be added/updated for the current table

    -
    $indexes : array
    -
    -

    Default

    -
    array()
    -
    -
    -
    -
    - 
    -

    Options for the current table

    -
    $table_options : array
    -
    -

    Default

    -
    array()
    -
    -
    -
    -
    -
    -
    -
    -
    -
    +
  • SQL_Interface
  • +
  • Driver_Interface
  • +
  • Abstract_SQL
  • +
  • Firebird_Result
  • +
  • Firebird_Util
  • +
  • Firebird
  • +
  • MySQL_Util
  • +
  • Abstract_Util
  • +
  • Abstract_Driver
  • +
  • SQLite_Util
  • +
  • PgSQL_Util
  • +
  • PgSQL_SQL
  • +
  • MySQL_SQL
  • +
  • Firebird_SQL
  • +
  • SQLite
  • +
  • SQLite_SQL
  • +
  • PgSQL
  • +
  • MySQL
  • + +
    +
    + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\TableTable_Builder

    +

    Abstract class defining database / table creation methods

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + __construct()
    + __invoke()
    + set_driver()
    + get_driver()
    + add_column()
    + remove_column()
    + rename_column()
    + change_column()
    + has_column()
    + add_index()
    + remove_index()
    + remove_index_by_name()
    + has_index()
    + add_foreign_key()
    + drop_foreign_key()
    + has_foreign_key()
    + exists()
    + drop()
    + rename()
    + get_columns()
    + create()
    + update()
    + save()
    + reset()
    +
    +
    + No public properties found +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + $name
    +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + $driver
    + $table_options
    + $columns
    + $indexes
    + $foreign_keys
    +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + +
    +

    $name

    +
    $name : string
    +

    The name of the current table

    + + +

    Type

    + string +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    + +
    +

    $table_options

    +
    $table_options : array
    +

    Options for the current table

    + + +

    Type

    + array +
    +
    + +
    + +
    +
    + +
    +

    $columns

    +
    $columns : array
    +

    Columns to be added/updated for the current table

    + + +

    Type

    + array +
    +
    + +
    + +
    +
    + +
    +

    $indexes

    +
    $indexes : array
    +

    Indexes to be added/updated for the current table

    + + +

    Type

    + array +
    +
    + +
    + +
    +
    + +
    +

    $foreign_keys

    +
    $foreign_keys : array
    +

    Foreign keys to be added/updated for the current table

    + + +

    Type

    + array +
    +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    __construct()

    + +
    __construct(string $name, array $options, \Query\Driver\Driver_Interface $driver) : \Query\Table\Table_Builder
    +

    Constructor

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$name
    array$options
    \Query\Driver\Driver_Interface$driver
    + + +

    Returns

    + \Query\Table\Table_Builder +
    +
    + +
    + +
    +
    + +
    +

    __invoke()

    + +
    __invoke(string $name, array $options, \Query\Driver\Driver_Interface $driver) : \Query\Table\Table_Builder
    +

    Alias to constructor

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$name
    array$options
    \Query\Driver\Driver_Interface$driver
    + + +

    Returns

    + \Query\Table\Table_Builder +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    + +
    +

    add_column()

    + +
    add_column(string $column_name, string $type, array $options) : \Query\Table\Table_Builder
    +

    Add a column to the current table

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$column_name
    string$type
    array$options
    + + +

    Returns

    + \Query\Table\Table_Builder +
    +
    + +
    + +
    +
    + +
    +

    remove_column()

    + +
    remove_column(string $column_name) : \Query\Table\Table_Builder
    +

    Remove the specified column name from the current table

    + + +

    Parameters

    + + + + + + +
    string$column_name
    + + +

    Returns

    + \Query\Table\Table_Builder +
    +
    + +
    + +
    +
    + +
    +

    rename_column()

    + +
    rename_column(string $old_name, string $new_name) : \Query\Table\Table_Builder
    +

    Rename the specified column on the current table

    + + +

    Parameters

    + + + + + + + + + + + +
    string$old_name
    string$new_name
    + + +

    Returns

    + \Query\Table\Table_Builder +
    +
    + +
    + +
    +
    + +
    +

    change_column()

    + +
    change_column(string $column_name, string $new_column_type, array $options) : \Query\Table\Table_Builder
    +

    Change the specified column on the current table

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$column_name
    string$new_column_type
    array$options
    + + +

    Returns

    + \Query\Table\Table_Builder +
    +
    + +
    + +
    +
    + +
    +

    has_column()

    + +
    has_column(string $column_name, array $options) : bool
    +

    Determine whether the column currently exists on the current table

    + + +

    Parameters

    + + + + + + + + + + + +
    string$column_name
    array$options
    + + +

    Returns

    + bool +
    +
    + +
    + +
    +
    + +
    +

    add_index()

    + +
    add_index(array $columns, array $options) : \Query\Table\Table_Builder
    +

    Add an index to the current table

    + + +

    Parameters

    + + + + + + + + + + + +
    array$columns
    array$options
    + + +

    Returns

    + \Query\Table\Table_Builder +
    +
    + +
    + +
    +
    + +
    +

    remove_index()

    + +
    remove_index(array $columns, array $options) : \Query\Table\Table_Builder
    +

    Remove an index from the current table

    + + +

    Parameters

    + + + + + + + + + + + +
    array$columns
    array$options
    + + +

    Returns

    + \Query\Table\Table_Builder +
    +
    + +
    + +
    +
    + +
    +

    remove_index_by_name()

    + +
    remove_index_by_name(string $name) : \Query\Table\Table_Builder
    +

    Remove an index by its name from the current table

    + + +

    Parameters

    + + + + + + +
    string$name
    + + +

    Returns

    + \Query\Table\Table_Builder +
    +
    + +
    + +
    +
    + +
    +

    has_index()

    + +
    has_index(array $columns, array $options) : bool
    +

    Check if the current table has an index on the specified columns

    + + +

    Parameters

    + + + + + + + + + + + +
    array$columns
    array$options
    + + +

    Returns

    + bool +
    +
    + +
    + +
    +
    + +
    +

    add_foreign_key()

    + +
    add_foreign_key(array $columns, string $referenced_table, array $referenced_columns, array $options) : \Query\Table\Table_Builder
    +

    Add a foreign key to the current table

    + + +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + +
    array$columns
    string$referenced_table
    array$referenced_columns
    array$options
    + + +

    Returns

    + \Query\Table\Table_Builder +
    +
    + +
    + +
    +
    + +
    +

    drop_foreign_key()

    + +
    drop_foreign_key(array $columns, string $constraint) : \Query\Table\Table_Builder
    +

    Drop the foreign key from the current table

    + + +

    Parameters

    + + + + + + + + + + + +
    array$columns
    string$constraint
    + + +

    Returns

    + \Query\Table\Table_Builder +
    +
    + +
    + +
    +
    + +
    +

    has_foreign_key()

    + +
    has_foreign_key(array $columns, string $constraint) : bool
    +

    Determine whether the current table has the specified foreign key

    + + +

    Parameters

    + + + + + + + + + + + +
    array$columns
    string$constraint
    + + +

    Returns

    + bool +
    +
    + +
    + +
    +
    + +
    +

    exists()

    + +
    exists() : bool
    +

    Check whether the current table exists

    + + + + +

    Returns

    + bool +
    +
    + +
    + +
    +
    + +
    +

    drop()

    + +
    drop() : void
    +

    Drop the current table

    + + + + +
    +
    + +
    + +
    +
    + +
    +

    rename()

    + +
    rename(string $new_table_name) : void
    +

    Rename the current table

    + + +

    Parameters

    + + + + + + +
    string$new_table_name
    + + +
    +
    + +
    + +
    +
    + +
    +

    get_columns()

    + +
    get_columns() : array
    +

    Get the list of columns for the current table

    + + + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    create()

    + +
    create() : void
    +

    Create the table from the previously set options

    + + + + +
    +
    + +
    + +
    +
    + +
    +

    update()

    + +
    update() : void
    +

    Update the current table with the changes made

    + + + + +
    +
    + +
    + +
    +
    + +
    +

    save()

    + +
    save() : void
    +

    Save the changes made to the table

    + + + + +
    +
    + +
    + +
    +
    + +
    +

    reset()

    + +
    reset() : void
    +

    Reset the state of the table builder

    + + + + +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Table.Table_Column.html b/docs/classes/Query.Table.Table_Column.html index 4c77fef..a5300fa 100644 --- a/docs/classes/Query.Table.Table_Column.html +++ b/docs/classes/Query.Table.Table_Column.html @@ -1,177 +1,718 @@ - + + - - - -Query » \Query\Table\Table_Column - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    - +
    +
    +
    + + +
    +
    +
    + + Driver +
    +
    +
    + + - - -
    -
    - -
    -

    Class representing a column when creating a table

    -
    -
    -

    - Methods

    -
    -

    Set the attributes for the column

    -
    __construct(string $name, \Query\Table\[string] $type = NULL, \Query\Table\[array] $options = array()
    -
    -
    -
    -

    Parameters

    -
    -

    $name

    -string -
    - -
    -

    $options

    -\Query\Table\[array] -
    -
    -
    -
    -

    Return the string to create the column

    -
    __toString() : string
    -
    -
    -
    -

    Returns

    -
    string
    -
    -
    -

    - Properties

    - 
    -

    The name of the column

    -
    $name : string
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    The type of the column

    -
    $type : string
    -
    -

    Default

    -
    -
    -
    -
    -
    - 
    -

    Valid column options

    -
    $valid_options : \Query\Table\type
    -
    -

    Default

    -
    array('limit', 'length', 'default', 'null', 'precision', 'scale', 'after', 'update', 'comment')
    -
    -
    -
    -
    -
    -
    -
    -
    -
    +
  • SQL_Interface
  • +
  • Driver_Interface
  • +
  • Abstract_SQL
  • +
  • Firebird_Result
  • +
  • Firebird_Util
  • +
  • Firebird
  • +
  • MySQL_Util
  • +
  • Abstract_Util
  • +
  • Abstract_Driver
  • +
  • SQLite_Util
  • +
  • PgSQL_Util
  • +
  • PgSQL_SQL
  • +
  • MySQL_SQL
  • +
  • Firebird_SQL
  • +
  • SQLite
  • +
  • SQLite_SQL
  • +
  • PgSQL
  • +
  • MySQL
  • + +
    +
    + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +

    \Query\TableTable_Column

    +

    Class representing a column when creating a table

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + __construct()
    + __toString()
    + set_options()
    + __get()
    + __set()
    +
    +
    + No public properties found +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + $name
    + $type
    + $valid_options
    +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + No private properties found +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + +
    +

    $name

    +
    $name : string
    +

    The name of the column

    + + +

    Type

    + string +
    +
    + +
    + +
    +
    + +
    +

    $type

    +
    $type : string
    +

    The type of the column

    + + +

    Type

    + string +
    +
    + +
    + +
    +
    + +
    +

    $valid_options

    +
    $valid_options : array
    +

    Valid options for the current class

    + + +

    Type

    + array +
    +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    __construct()

    + +
    __construct(string $name, \Query\Table\[string] $type, \Query\Table\[array] $options)
    +

    Set the attributes for the column

    + + +

    Parameters

    + + + + + + + + + + + + + + + + +
    string$name
    \Query\Table\[string]$type
    \Query\Table\[array]$options
    + + +
    +
    + +
    + +
    +
    + +
    +

    __toString()

    + +
    __toString()
    +

    String representation of the column/index

    + + + + +
    +
    + +
    + +
    +
    + +
    +

    set_options()

    + +
    set_options(array $options)
    +

    Set options for the current column

    + + +

    Parameters

    + + + + + + +
    array$options

    return \Query\Table_Column

    + + +
    +
    + +
    + +
    +
    + +
    +

    __get()

    + +
    __get(mixed $name) : mixed
    +

    Getters

    + + +

    Parameters

    + + + + + + +
    mixed$name
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    __set()

    + +
    __set(mixed $name, mixed $val) : \Query\Table_Column
    +

    Setters

    + + +

    Parameters

    + + + + + + + + + + + +
    mixed$name
    mixed$val
    + + +

    Returns

    + \Query\Table_Column +
    +
    + +
    + +
    +
    + + + + + diff --git a/docs/classes/Query.Table.Table_Foreign_Key.html b/docs/classes/Query.Table.Table_Foreign_Key.html index c3796dd..edde087 100644 --- a/docs/classes/Query.Table.Table_Foreign_Key.html +++ b/docs/classes/Query.Table.Table_Foreign_Key.html @@ -1,125 +1,606 @@ - + + - - - -Query » \Query\Table\Table_Foreign_Key - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -

    Class representing a foreign key

    -
    -
    -

    - Methods

    -
    -

    String representation of the foreign key

    -
    __toString() 
    -
    -
    -
    -

    - Properties

    - 
    -

    Valid options for a foreign key

    -
    $valid_options : \Query\Table\type
    -
    -

    Default

    -
    array('delete', 'update', 'constraint')
    -
    -
    -
    -
    -
    -
    -
    -
    -
    + +
    +
    + +
    +
    +
    +
    +
    + + + +

    \Query\TableTable_Foreign_Key

    +

    Class representing a foreign key

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + __toString()
    + set_options()
    + __get()
    + __set()
    +
    +
    + No public properties found +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + $valid_options
    +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + No private properties found +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + +
    +

    $valid_options

    +
    $valid_options : array
    +

    Valid options for the current class

    + + +

    Type

    + array +
    +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    __toString()

    + +
    __toString()
    +

    String representation of the column/index

    + + + + +
    +
    + +
    + +
    +
    + +
    +

    set_options()

    + +
    set_options(array $options)
    +

    Set options for the current column

    + + +

    Parameters

    + + + + + + +
    array$options

    return \Query\Table_Column

    + + +
    +
    + +
    + +
    +
    + +
    +

    __get()

    + +
    __get(mixed $name) : mixed
    +

    Getters

    + + +

    Parameters

    + + + + + + +
    mixed$name
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    __set()

    + +
    __set(mixed $name, mixed $val) : \Query\Table_Column
    +

    Setters

    + + +

    Parameters

    + + + + + + + + + + + +
    mixed$name
    mixed$val
    + + +

    Returns

    + \Query\Table_Column +
    +
    + +
    + +
    +
    + + + +
    + diff --git a/docs/classes/Query.Table.Table_Index.html b/docs/classes/Query.Table.Table_Index.html index b0be2de..1eff4c6 100644 --- a/docs/classes/Query.Table.Table_Index.html +++ b/docs/classes/Query.Table.Table_Index.html @@ -1,125 +1,606 @@ - + + - - - -Query » \Query\Table\Table_Index - - - - - - - + + + Query + + + + + + + + + + + + + + + + + + + + + + -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -

    Class representing indicies when creating a table

    -
    -
    -

    - Methods

    -
    -

    Return the string representation of the current index

    -
    __toString() 
    -
    -
    -
    -

    - Properties

    - 
    -

    Valid options for a table index

    -
    $valid_options : array
    -
    -

    Default

    -
    array('type', 'unique', 'name')
    -
    -
    -
    -
    -
    -
    -
    -
    -
    + +
    +
    + +
    +
    +
    +
    +
    + + + +

    \Query\TableTable_Index

    +

    Class representing indicies when creating a table

    + + +
    +

    Summary

    +
    +
    + Methods +
    +
    + Properties +
    +
    + Constants +
    +
    +
    +
    + __toString()
    + set_options()
    + __get()
    + __set()
    +
    +
    + No public properties found +
    +
    + No constants found +
    +
    +
    +
    + No protected methods found +
    +
    + $valid_options
    +
    +
    + N/A +
    +
    +
    +
    + No private methods found +
    +
    + No private properties found +
    +
    + N/A +
    +
    +
    +
    + +
    + + + +
    +
    +

    Properties

    +
    + +
    + +
    +
    + +
    +

    $valid_options

    +
    $valid_options : array
    +

    Valid options for the current class

    + + +

    Type

    + array +
    +
    + +
    + + + +
    +

    Methods

    + +
    + +
    +
    + +
    +

    __toString()

    + +
    __toString()
    +

    String representation of the column/index

    + + + + +
    +
    + +
    + +
    +
    + +
    +

    set_options()

    + +
    set_options(array $options)
    +

    Set options for the current column

    + + +

    Parameters

    + + + + + + +
    array$options

    return \Query\Table_Column

    + + +
    +
    + +
    + +
    +
    + +
    +

    __get()

    + +
    __get(mixed $name) : mixed
    +

    Getters

    + + +

    Parameters

    + + + + + + +
    mixed$name
    + + +

    Returns

    + mixed +
    +
    + +
    + +
    +
    + +
    +

    __set()

    + +
    __set(mixed $name, mixed $val) : \Query\Table_Column
    +

    Setters

    + + +

    Parameters

    + + + + + + + + + + + +
    mixed$name
    mixed$val
    + + +

    Returns

    + \Query\Table_Column +
    +
    + +
    + +
    +
    + + + +
    + diff --git a/docs/css/bootstrap-responsive.css b/docs/css/bootstrap-responsive.css deleted file mode 100644 index 4b032cd..0000000 --- a/docs/css/bootstrap-responsive.css +++ /dev/null @@ -1,567 +0,0 @@ -/*! - * Bootstrap Responsive v2.0.0 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ -.hidden { - display: none; - visibility: hidden; -} -@media (max-width: 480px) { - .nav-collapse { - -webkit-transform: translate3d(0, 0, 0); - } - .page-header h1 small { - display: block; - line-height: 18px; - } - input[class*="span"], - select[class*="span"], - textarea[class*="span"], - .uneditable-input { - display: block; - width: 100%; - height: 28px; - /* Make inputs at least the height of their button counterpart */ - - /* Makes inputs behave like true block-level elements */ - - -webkit-box-sizing: border-box; - /* Older Webkit */ - - -moz-box-sizing: border-box; - /* Older FF */ - - -ms-box-sizing: border-box; - /* IE8 */ - - box-sizing: border-box; - /* CSS3 spec*/ - - } - .input-prepend input[class*="span"], .input-append input[class*="span"] { - width: auto; - } - input[type="checkbox"], input[type="radio"] { - border: 1px solid #ccc; - } - .form-horizontal .control-group > label { - float: none; - width: auto; - padding-top: 0; - text-align: left; - } - .form-horizontal .controls { - margin-left: 0; - } - .form-horizontal .control-list { - padding-top: 0; - } - .form-horizontal .form-actions { - padding-left: 10px; - padding-right: 10px; - } - .modal { - position: absolute; - top: 10px; - left: 10px; - right: 10px; - width: auto; - margin: 0; - } - .modal.fade.in { - top: auto; - } - .modal-header .close { - padding: 10px; - margin: -10px; - } - .carousel-caption { - position: static; - } -} -@media (max-width: 768px) { - .container { - width: auto; - padding: 0 20px; - } - .row-fluid { - width: 100%; - } - .row { - margin-left: 0; - } - .row > [class*="span"], .row-fluid > [class*="span"] { - float: none; - display: block; - width: auto; - margin: 0; - } -} -@media (min-width: 768px) and (max-width: 980px) { - .row { - margin-left: -20px; - *zoom: 1; - } - .row:before, .row:after { - display: table; - content: ""; - } - .row:after { - clear: both; - } - [class*="span"] { - float: left; - margin-left: 20px; - } - .span1 { - width: 42px; - } - .span2 { - width: 104px; - } - .span3 { - width: 166px; - } - .span4 { - width: 228px; - } - .span5 { - width: 290px; - } - .span6 { - width: 352px; - } - .span7 { - width: 414px; - } - .span8 { - width: 476px; - } - .span9 { - width: 538px; - } - .span10 { - width: 600px; - } - .span11 { - width: 662px; - } - .span12, .container { - width: 724px; - } - .offset1 { - margin-left: 82px; - } - .offset2 { - margin-left: 144px; - } - .offset3 { - margin-left: 206px; - } - .offset4 { - margin-left: 268px; - } - .offset5 { - margin-left: 330px; - } - .offset6 { - margin-left: 392px; - } - .offset7 { - margin-left: 454px; - } - .offset8 { - margin-left: 516px; - } - .offset9 { - margin-left: 578px; - } - .offset10 { - margin-left: 640px; - } - .offset11 { - margin-left: 702px; - } - .row-fluid { - width: 100%; - *zoom: 1; - } - .row-fluid:before, .row-fluid:after { - display: table; - content: ""; - } - .row-fluid:after { - clear: both; - } - .row-fluid > [class*="span"] { - float: left; - margin-left: 2.762430939%; - } - .row-fluid > [class*="span"]:first-child { - margin-left: 0; - } - .row-fluid .span1 { - width: 5.801104972%; - } - .row-fluid .span2 { - width: 14.364640883%; - } - .row-fluid .span3 { - width: 22.928176794%; - } - .row-fluid .span4 { - width: 31.491712705%; - } - .row-fluid .span5 { - width: 40.055248616%; - } - .row-fluid .span6 { - width: 48.618784527%; - } - .row-fluid .span7 { - width: 57.182320438000005%; - } - .row-fluid .span8 { - width: 65.74585634900001%; - } - .row-fluid .span9 { - width: 74.30939226%; - } - .row-fluid .span10 { - width: 82.87292817100001%; - } - .row-fluid .span11 { - width: 91.436464082%; - } - .row-fluid .span12 { - width: 99.999999993%; - } - input.span1, textarea.span1, .uneditable-input.span1 { - width: 32px; - } - input.span2, textarea.span2, .uneditable-input.span2 { - width: 94px; - } - input.span3, textarea.span3, .uneditable-input.span3 { - width: 156px; - } - input.span4, textarea.span4, .uneditable-input.span4 { - width: 218px; - } - input.span5, textarea.span5, .uneditable-input.span5 { - width: 280px; - } - input.span6, textarea.span6, .uneditable-input.span6 { - width: 342px; - } - input.span7, textarea.span7, .uneditable-input.span7 { - width: 404px; - } - input.span8, textarea.span8, .uneditable-input.span8 { - width: 466px; - } - input.span9, textarea.span9, .uneditable-input.span9 { - width: 528px; - } - input.span10, textarea.span10, .uneditable-input.span10 { - width: 590px; - } - input.span11, textarea.span11, .uneditable-input.span11 { - width: 652px; - } - input.span12, textarea.span12, .uneditable-input.span12 { - width: 714px; - } -} -@media (max-width: 980px) { - body { - padding-top: 0; - } - .navbar-fixed-top { - position: static; - margin-bottom: 18px; - } - .navbar-fixed-top .navbar-inner { - padding: 5px; - } - .navbar .container { - width: auto; - padding: 0; - } - .navbar .brand { - padding-left: 10px; - padding-right: 10px; - margin: 0 0 0 -5px; - } - .navbar .nav-collapse { - clear: left; - } - .navbar .nav { - float: none; - margin: 0 0 9px; - } - .navbar .nav > li { - float: none; - } - .navbar .nav > li > a { - margin-bottom: 2px; - } - .navbar .nav > .divider-vertical { - display: none; - } - .navbar .nav > li > a, .navbar .dropdown-menu a { - padding: 6px 15px; - font-weight: bold; - color: #999999; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; - } - .navbar .dropdown-menu li + li a { - margin-bottom: 2px; - } - .navbar .nav > li > a:hover, .navbar .dropdown-menu a:hover { - background-color: #222222; - } - .navbar .dropdown-menu { - position: static; - top: auto; - left: auto; - float: none; - display: block; - max-width: none; - margin: 0 15px; - padding: 0; - background-color: transparent; - border: none; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - } - .navbar .dropdown-menu:before, .navbar .dropdown-menu:after { - display: none; - } - .navbar .dropdown-menu .divider { - display: none; - } - .navbar-form, .navbar-search { - float: none; - padding: 9px 15px; - margin: 9px 0; - border-top: 1px solid #222222; - border-bottom: 1px solid #222222; - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); - -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); - } - .navbar .nav.pull-right { - float: none; - margin-left: 0; - } - .navbar-static .navbar-inner { - padding-left: 10px; - padding-right: 10px; - } - .btn-navbar { - display: block; - } - .nav-collapse { - overflow: hidden; - height: 0; - } -} -@media (min-width: 980px) { - .nav-collapse.collapse { - height: auto !important; - } -} -@media (min-width: 1200px) { - .row { - margin-left: -30px; - *zoom: 1; - } - .row:before, .row:after { - display: table; - content: ""; - } - .row:after { - clear: both; - } - [class*="span"] { - float: left; - margin-left: 30px; - } - .span1 { - width: 70px; - } - .span2 { - width: 170px; - } - .span3 { - width: 270px; - } - .span4 { - width: 370px; - } - .span5 { - width: 470px; - } - .span6 { - width: 570px; - } - .span7 { - width: 670px; - } - .span8 { - width: 770px; - } - .span9 { - width: 870px; - } - .span10 { - width: 970px; - } - .span11 { - width: 1070px; - } - .span12, .container { - width: 1170px; - } - .offset1 { - margin-left: 130px; - } - .offset2 { - margin-left: 230px; - } - .offset3 { - margin-left: 330px; - } - .offset4 { - margin-left: 430px; - } - .offset5 { - margin-left: 530px; - } - .offset6 { - margin-left: 630px; - } - .offset7 { - margin-left: 730px; - } - .offset8 { - margin-left: 830px; - } - .offset9 { - margin-left: 930px; - } - .offset10 { - margin-left: 1030px; - } - .offset11 { - margin-left: 1130px; - } - .row-fluid { - width: 100%; - *zoom: 1; - } - .row-fluid:before, .row-fluid:after { - display: table; - content: ""; - } - .row-fluid:after { - clear: both; - } - .row-fluid > [class*="span"] { - float: left; - margin-left: 2.564102564%; - } - .row-fluid > [class*="span"]:first-child { - margin-left: 0; - } - .row-fluid .span1 { - width: 5.982905983%; - } - .row-fluid .span2 { - width: 14.529914530000001%; - } - .row-fluid .span3 { - width: 23.076923077%; - } - .row-fluid .span4 { - width: 31.623931624%; - } - .row-fluid .span5 { - width: 40.170940171000005%; - } - .row-fluid .span6 { - width: 48.717948718%; - } - .row-fluid .span7 { - width: 57.264957265%; - } - .row-fluid .span8 { - width: 65.81196581200001%; - } - .row-fluid .span9 { - width: 74.358974359%; - } - .row-fluid .span10 { - width: 82.905982906%; - } - .row-fluid .span11 { - width: 91.45299145300001%; - } - .row-fluid .span12 { - width: 100%; - } - input.span1, textarea.span1, .uneditable-input.span1 { - width: 60px; - } - input.span2, textarea.span2, .uneditable-input.span2 { - width: 160px; - } - input.span3, textarea.span3, .uneditable-input.span3 { - width: 260px; - } - input.span4, textarea.span4, .uneditable-input.span4 { - width: 360px; - } - input.span5, textarea.span5, .uneditable-input.span5 { - width: 460px; - } - input.span6, textarea.span6, .uneditable-input.span6 { - width: 560px; - } - input.span7, textarea.span7, .uneditable-input.span7 { - width: 660px; - } - input.span8, textarea.span8, .uneditable-input.span8 { - width: 760px; - } - input.span9, textarea.span9, .uneditable-input.span9 { - width: 860px; - } - input.span10, textarea.span10, .uneditable-input.span10 { - width: 960px; - } - input.span11, textarea.span11, .uneditable-input.span11 { - width: 1060px; - } - input.span12, textarea.span12, .uneditable-input.span12 { - width: 1160px; - } - .thumbnails { - margin-left: -30px; - } - .thumbnails > li { - margin-left: 30px; - } -} diff --git a/docs/css/bootstrap-responsive.min.css b/docs/css/bootstrap-responsive.min.css deleted file mode 100644 index bc3f2ab..0000000 --- a/docs/css/bootstrap-responsive.min.css +++ /dev/null @@ -1,3 +0,0 @@ - -.hidden{display:none;visibility:hidden;} -@media (max-width:480px){.nav-collapse{-webkit-transform:translate3d(0, 0, 0);} .page-header h1 small{display:block;line-height:18px;} input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{display:block;width:100%;height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;} .input-prepend input[class*="span"],.input-append input[class*="span"]{width:auto;} input[type="checkbox"],input[type="radio"]{border:1px solid #ccc;} .form-horizontal .control-group>label{float:none;width:auto;padding-top:0;text-align:left;} .form-horizontal .controls{margin-left:0;} .form-horizontal .control-list{padding-top:0;} .form-horizontal .form-actions{padding-left:10px;padding-right:10px;} .modal{position:absolute;top:10px;left:10px;right:10px;width:auto;margin:0;}.modal.fade.in{top:auto;} .modal-header .close{padding:10px;margin:-10px;} .carousel-caption{position:static;}}@media (max-width:768px){.container{width:auto;padding:0 20px;} .row-fluid{width:100%;} .row{margin-left:0;} .row>[class*="span"],.row-fluid>[class*="span"]{float:none;display:block;width:auto;margin:0;}}@media (min-width:768px) and (max-width:980px){.row{margin-left:-20px;*zoom:1;}.row:before,.row:after{display:table;content:"";} .row:after{clear:both;} [class*="span"]{float:left;margin-left:20px;} .span1{width:42px;} .span2{width:104px;} .span3{width:166px;} .span4{width:228px;} .span5{width:290px;} .span6{width:352px;} .span7{width:414px;} .span8{width:476px;} .span9{width:538px;} .span10{width:600px;} .span11{width:662px;} .span12,.container{width:724px;} .offset1{margin-left:82px;} .offset2{margin-left:144px;} .offset3{margin-left:206px;} .offset4{margin-left:268px;} .offset5{margin-left:330px;} .offset6{margin-left:392px;} .offset7{margin-left:454px;} .offset8{margin-left:516px;} .offset9{margin-left:578px;} .offset10{margin-left:640px;} .offset11{margin-left:702px;} .row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";} .row-fluid:after{clear:both;} .row-fluid>[class*="span"]{float:left;margin-left:2.762430939%;} .row-fluid>[class*="span"]:first-child{margin-left:0;} .row-fluid .span1{width:5.801104972%;} .row-fluid .span2{width:14.364640883%;} .row-fluid .span3{width:22.928176794%;} .row-fluid .span4{width:31.491712705%;} .row-fluid .span5{width:40.055248616%;} .row-fluid .span6{width:48.618784527%;} .row-fluid .span7{width:57.182320438000005%;} .row-fluid .span8{width:65.74585634900001%;} .row-fluid .span9{width:74.30939226%;} .row-fluid .span10{width:82.87292817100001%;} .row-fluid .span11{width:91.436464082%;} .row-fluid .span12{width:99.999999993%;} input.span1,textarea.span1,.uneditable-input.span1{width:32px;} input.span2,textarea.span2,.uneditable-input.span2{width:94px;} input.span3,textarea.span3,.uneditable-input.span3{width:156px;} input.span4,textarea.span4,.uneditable-input.span4{width:218px;} input.span5,textarea.span5,.uneditable-input.span5{width:280px;} input.span6,textarea.span6,.uneditable-input.span6{width:342px;} input.span7,textarea.span7,.uneditable-input.span7{width:404px;} input.span8,textarea.span8,.uneditable-input.span8{width:466px;} input.span9,textarea.span9,.uneditable-input.span9{width:528px;} input.span10,textarea.span10,.uneditable-input.span10{width:590px;} input.span11,textarea.span11,.uneditable-input.span11{width:652px;} input.span12,textarea.span12,.uneditable-input.span12{width:714px;}}@media (max-width:980px){body{padding-top:0;} .navbar-fixed-top{position:static;margin-bottom:18px;} .navbar-fixed-top .navbar-inner{padding:5px;} .navbar .container{width:auto;padding:0;} .navbar .brand{padding-left:10px;padding-right:10px;margin:0 0 0 -5px;} .navbar .nav-collapse{clear:left;} .navbar .nav{float:none;margin:0 0 9px;} .navbar .nav>li{float:none;} .navbar .nav>li>a{margin-bottom:2px;} .navbar .nav>.divider-vertical{display:none;} .navbar .nav>li>a,.navbar .dropdown-menu a{padding:6px 15px;font-weight:bold;color:#999999;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} .navbar .dropdown-menu li+li a{margin-bottom:2px;} .navbar .nav>li>a:hover,.navbar .dropdown-menu a:hover{background-color:#222222;} .navbar .dropdown-menu{position:static;top:auto;left:auto;float:none;display:block;max-width:none;margin:0 15px;padding:0;background-color:transparent;border:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} .navbar .dropdown-menu:before,.navbar .dropdown-menu:after{display:none;} .navbar .dropdown-menu .divider{display:none;} .navbar-form,.navbar-search{float:none;padding:9px 15px;margin:9px 0;border-top:1px solid #222222;border-bottom:1px solid #222222;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.1);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.1);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.1);} .navbar .nav.pull-right{float:none;margin-left:0;} .navbar-static .navbar-inner{padding-left:10px;padding-right:10px;} .btn-navbar{display:block;} .nav-collapse{overflow:hidden;height:0;}}@media (min-width:980px){.nav-collapse.collapse{height:auto !important;}}@media (min-width:1200px){.row{margin-left:-30px;*zoom:1;}.row:before,.row:after{display:table;content:"";} .row:after{clear:both;} [class*="span"]{float:left;margin-left:30px;} .span1{width:70px;} .span2{width:170px;} .span3{width:270px;} .span4{width:370px;} .span5{width:470px;} .span6{width:570px;} .span7{width:670px;} .span8{width:770px;} .span9{width:870px;} .span10{width:970px;} .span11{width:1070px;} .span12,.container{width:1170px;} .offset1{margin-left:130px;} .offset2{margin-left:230px;} .offset3{margin-left:330px;} .offset4{margin-left:430px;} .offset5{margin-left:530px;} .offset6{margin-left:630px;} .offset7{margin-left:730px;} .offset8{margin-left:830px;} .offset9{margin-left:930px;} .offset10{margin-left:1030px;} .offset11{margin-left:1130px;} .row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";} .row-fluid:after{clear:both;} .row-fluid>[class*="span"]{float:left;margin-left:2.564102564%;} .row-fluid>[class*="span"]:first-child{margin-left:0;} .row-fluid .span1{width:5.982905983%;} .row-fluid .span2{width:14.529914530000001%;} .row-fluid .span3{width:23.076923077%;} .row-fluid .span4{width:31.623931624%;} .row-fluid .span5{width:40.170940171000005%;} .row-fluid .span6{width:48.717948718%;} .row-fluid .span7{width:57.264957265%;} .row-fluid .span8{width:65.81196581200001%;} .row-fluid .span9{width:74.358974359%;} .row-fluid .span10{width:82.905982906%;} .row-fluid .span11{width:91.45299145300001%;} .row-fluid .span12{width:100%;} input.span1,textarea.span1,.uneditable-input.span1{width:60px;} input.span2,textarea.span2,.uneditable-input.span2{width:160px;} input.span3,textarea.span3,.uneditable-input.span3{width:260px;} input.span4,textarea.span4,.uneditable-input.span4{width:360px;} input.span5,textarea.span5,.uneditable-input.span5{width:460px;} input.span6,textarea.span6,.uneditable-input.span6{width:560px;} input.span7,textarea.span7,.uneditable-input.span7{width:660px;} input.span8,textarea.span8,.uneditable-input.span8{width:760px;} input.span9,textarea.span9,.uneditable-input.span9{width:860px;} input.span10,textarea.span10,.uneditable-input.span10{width:960px;} input.span11,textarea.span11,.uneditable-input.span11{width:1060px;} input.span12,textarea.span12,.uneditable-input.span12{width:1160px;} .thumbnails{margin-left:-30px;} .thumbnails>li{margin-left:30px;}} diff --git a/docs/css/bootstrap.css b/docs/css/bootstrap.css deleted file mode 100644 index 563050c..0000000 --- a/docs/css/bootstrap.css +++ /dev/null @@ -1,3370 +0,0 @@ -/*! - * Bootstrap v2.0.0 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section { - display: block; -} -audio, canvas, video { - display: inline-block; - *display: inline; - *zoom: 1; -} -audio:not([controls]) { - display: none; -} -html { - font-size: 100%; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -a:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -a:hover, a:active { - outline: 0; -} -sub, sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -img { - max-width: 100%; - height: auto; - border: 0; - -ms-interpolation-mode: bicubic; -} -button, -input, -select, -textarea { - margin: 0; - font-size: 100%; - vertical-align: middle; -} -button, input { - *overflow: visible; - line-height: normal; -} -button::-moz-focus-inner, input::-moz-focus-inner { - padding: 0; - border: 0; -} -button, -input[type="button"], -input[type="reset"], -input[type="submit"] { - cursor: pointer; - -webkit-appearance: button; -} -input[type="search"] { - -webkit-appearance: textfield; - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; -} -input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; -} -textarea { - overflow: auto; - vertical-align: top; -} -body { - margin: 0; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 13px; - line-height: 18px; - color: #333333; - background-color: #ffffff; -} -a { - color: #0088cc; - text-decoration: none; -} -a:hover { - color: #005580; - text-decoration: underline; -} -.row { - margin-left: -20px; - *zoom: 1; -} -.row:before, .row:after { - display: table; - content: ""; -} -.row:after { - clear: both; -} -[class*="span"] { - float: left; - margin-left: 20px; -} -.span1 { - width: 60px; -} -.span2 { - width: 140px; -} -.span3 { - width: 220px; -} -.span4 { - width: 300px; -} -.span5 { - width: 380px; -} -.span6 { - width: 460px; -} -.span7 { - width: 540px; -} -.span8 { - width: 620px; -} -.span9 { - width: 700px; -} -.span10 { - width: 780px; -} -.span11 { - width: 860px; -} -.span12, .container { - width: 940px; -} -.offset1 { - margin-left: 100px; -} -.offset2 { - margin-left: 180px; -} -.offset3 { - margin-left: 260px; -} -.offset4 { - margin-left: 340px; -} -.offset5 { - margin-left: 420px; -} -.offset6 { - margin-left: 500px; -} -.offset7 { - margin-left: 580px; -} -.offset8 { - margin-left: 660px; -} -.offset9 { - margin-left: 740px; -} -.offset10 { - margin-left: 820px; -} -.offset11 { - margin-left: 900px; -} -.row-fluid { - width: 100%; - *zoom: 1; -} -.row-fluid:before, .row-fluid:after { - display: table; - content: ""; -} -.row-fluid:after { - clear: both; -} -.row-fluid > [class*="span"] { - float: left; - margin-left: 2.127659574%; -} -.row-fluid > [class*="span"]:first-child { - margin-left: 0; -} -.row-fluid .span1 { - width: 6.382978723%; -} -.row-fluid .span2 { - width: 14.89361702%; -} -.row-fluid .span3 { - width: 23.404255317%; -} -.row-fluid .span4 { - width: 31.914893614%; -} -.row-fluid .span5 { - width: 40.425531911%; -} -.row-fluid .span6 { - width: 48.93617020799999%; -} -.row-fluid .span7 { - width: 57.446808505%; -} -.row-fluid .span8 { - width: 65.95744680199999%; -} -.row-fluid .span9 { - width: 74.468085099%; -} -.row-fluid .span10 { - width: 82.97872339599999%; -} -.row-fluid .span11 { - width: 91.489361693%; -} -.row-fluid .span12 { - width: 99.99999998999999%; -} -.container { - width: 940px; - margin-left: auto; - margin-right: auto; - *zoom: 1; -} -.container:before, .container:after { - display: table; - content: ""; -} -.container:after { - clear: both; -} -.container-fluid { - padding-left: 20px; - padding-right: 20px; - *zoom: 1; -} -.container-fluid:before, .container-fluid:after { - display: table; - content: ""; -} -.container-fluid:after { - clear: both; -} -p { - margin: 0 0 9px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 13px; - line-height: 18px; -} -p small { - font-size: 11px; - color: #999999; -} -.lead { - margin-bottom: 18px; - font-size: 20px; - font-weight: 200; - line-height: 27px; -} -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 0; - font-weight: bold; - color: #333333; - text-rendering: optimizelegibility; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - font-weight: normal; - color: #999999; -} -h1 { - font-size: 30px; - line-height: 36px; -} -h1 small { - font-size: 18px; -} -h2 { - font-size: 24px; - line-height: 36px; -} -h2 small { - font-size: 18px; -} -h3 { - line-height: 27px; - font-size: 18px; -} -h3 small { - font-size: 14px; -} -h4, h5, h6 { - line-height: 18px; -} -h4 { - font-size: 14px; -} -h4 small { - font-size: 12px; -} -h5 { - font-size: 12px; -} -h6 { - font-size: 11px; - color: #999999; - text-transform: uppercase; -} -.page-header { - padding-bottom: 17px; - margin: 18px 0; - border-bottom: 1px solid #eeeeee; -} -.page-header h1 { - line-height: 1; -} -ul, ol { - padding: 0; - margin: 0 0 9px 25px; -} -ul ul, -ul ol, -ol ol, -ol ul { - margin-bottom: 0; -} -ul { - list-style: disc; -} -ol { - list-style: decimal; -} -li { - line-height: 18px; -} -ul.unstyled { - margin-left: 0; - list-style: none; -} -dl { - margin-bottom: 18px; -} -dt, dd { - line-height: 18px; -} -dt { - font-weight: bold; -} -dd { - margin-left: 9px; -} -hr { - margin: 18px 0; - border: 0; - border-top: 1px solid #e5e5e5; - border-bottom: 1px solid #ffffff; -} -strong { - font-weight: bold; -} -em { - font-style: italic; -} -.muted { - color: #999999; -} -abbr { - font-size: 90%; - text-transform: uppercase; - border-bottom: 1px dotted #ddd; - cursor: help; -} -blockquote { - padding: 0 0 0 15px; - margin: 0 0 18px; - border-left: 5px solid #eeeeee; -} -blockquote p { - margin-bottom: 0; - font-size: 16px; - font-weight: 300; - line-height: 22.5px; -} -blockquote small { - display: block; - line-height: 18px; - color: #999999; -} -blockquote small:before { - content: '\2014 \00A0'; -} -blockquote.pull-right { - float: right; - padding-left: 0; - padding-right: 15px; - border-left: 0; - border-right: 5px solid #eeeeee; -} -blockquote.pull-right p, blockquote.pull-right small { - text-align: right; -} -q:before, -q:after, -blockquote:before, -blockquote:after { - content: ""; -} -address { - display: block; - margin-bottom: 18px; - line-height: 18px; - font-style: normal; -} -small { - font-size: 100%; -} -cite { - font-style: normal; -} -code, pre { - padding: 0 3px 2px; - font-family: Menlo, Monaco, "Courier New", monospace; - font-size: 12px; - color: #333333; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -code { - padding: 3px 4px; - color: #d14; - background-color: #f7f7f9; - border: 1px solid #e1e1e8; -} -pre { - display: block; - padding: 8.5px; - margin: 0 0 9px; - font-size: 12px; - line-height: 18px; - background-color: #f5f5f5; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.15); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - white-space: pre; - white-space: pre-wrap; - word-break: break-all; -} -pre.prettyprint { - margin-bottom: 18px; -} -pre code { - padding: 0; - background-color: transparent; -} -form { - margin: 0 0 18px; -} -fieldset { - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 27px; - font-size: 19.5px; - line-height: 36px; - color: #333333; - border: 0; - border-bottom: 1px solid #eee; -} -label, -input, -button, -select, -textarea { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 13px; - font-weight: normal; - line-height: 18px; -} -label { - display: block; - margin-bottom: 5px; - color: #333333; -} -input, -textarea, -select, -.uneditable-input { - display: inline-block; - width: 210px; - height: 18px; - padding: 4px; - margin-bottom: 9px; - font-size: 13px; - line-height: 18px; - color: #555555; - border: 1px solid #ccc; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.uneditable-textarea { - width: auto; - height: auto; -} -label input, label textarea, label select { - display: block; -} -input[type="image"], input[type="checkbox"], input[type="radio"] { - width: auto; - height: auto; - padding: 0; - margin: 3px 0; - *margin-top: 0; - /* IE7 */ - - line-height: normal; - border: 0; - cursor: pointer; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -input[type="file"] { - padding: initial; - line-height: initial; - border: initial; - background-color: #ffffff; - background-color: initial; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -input[type="button"], input[type="reset"], input[type="submit"] { - width: auto; - height: auto; -} -select, input[type="file"] { - height: 28px; - /* In IE7, the height of the select element cannot be changed by height, only font-size */ - - *margin-top: 4px; - /* For IE7, add top margin to align select with labels */ - - line-height: 28px; -} -select { - width: 220px; - background-color: #ffffff; -} -select[multiple], select[size] { - height: auto; -} -input[type="image"] { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -textarea { - height: auto; -} -input[type="hidden"] { - display: none; -} -.radio, .checkbox { - padding-left: 18px; -} -.radio input[type="radio"], .checkbox input[type="checkbox"] { - float: left; - margin-left: -18px; -} -.controls > .radio:first-child, .controls > .checkbox:first-child { - padding-top: 5px; -} -.radio.inline, .checkbox.inline { - display: inline-block; - margin-bottom: 0; - vertical-align: middle; -} -.radio.inline + .radio.inline, .checkbox.inline + .checkbox.inline { - margin-left: 10px; -} -.controls > .radio.inline:first-child, .controls > .checkbox.inline:first-child { - padding-top: 0; -} -input, textarea { - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; - -moz-transition: border linear 0.2s, box-shadow linear 0.2s; - -ms-transition: border linear 0.2s, box-shadow linear 0.2s; - -o-transition: border linear 0.2s, box-shadow linear 0.2s; - transition: border linear 0.2s, box-shadow linear 0.2s; -} -input:focus, textarea:focus { - border-color: rgba(82, 168, 236, 0.8); - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); - outline: 0; - outline: thin dotted \9; - /* IE6-8 */ - -} -input[type="file"]:focus, input[type="checkbox"]:focus, select:focus { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.input-mini { - width: 60px; -} -.input-small { - width: 90px; -} -.input-medium { - width: 150px; -} -.input-large { - width: 210px; -} -.input-xlarge { - width: 270px; -} -.input-xxlarge { - width: 530px; -} -input[class*="span"], -select[class*="span"], -textarea[class*="span"], -.uneditable-input { - float: none; - margin-left: 0; -} -input.span1, textarea.span1, .uneditable-input.span1 { - width: 50px; -} -input.span2, textarea.span2, .uneditable-input.span2 { - width: 130px; -} -input.span3, textarea.span3, .uneditable-input.span3 { - width: 210px; -} -input.span4, textarea.span4, .uneditable-input.span4 { - width: 290px; -} -input.span5, textarea.span5, .uneditable-input.span5 { - width: 370px; -} -input.span6, textarea.span6, .uneditable-input.span6 { - width: 450px; -} -input.span7, textarea.span7, .uneditable-input.span7 { - width: 530px; -} -input.span8, textarea.span8, .uneditable-input.span8 { - width: 610px; -} -input.span9, textarea.span9, .uneditable-input.span9 { - width: 690px; -} -input.span10, textarea.span10, .uneditable-input.span10 { - width: 770px; -} -input.span11, textarea.span11, .uneditable-input.span11 { - width: 850px; -} -input.span12, textarea.span12, .uneditable-input.span12 { - width: 930px; -} -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - background-color: #f5f5f5; - border-color: #ddd; - cursor: not-allowed; -} -.control-group.warning > label, .control-group.warning .help-block, .control-group.warning .help-inline { - color: #c09853; -} -.control-group.warning input, .control-group.warning select, .control-group.warning textarea { - color: #c09853; - border-color: #c09853; -} -.control-group.warning input:focus, .control-group.warning select:focus, .control-group.warning textarea:focus { - border-color: #a47e3c; - -webkit-box-shadow: 0 0 6px #dbc59e; - -moz-box-shadow: 0 0 6px #dbc59e; - box-shadow: 0 0 6px #dbc59e; -} -.control-group.warning .input-prepend .add-on, .control-group.warning .input-append .add-on { - color: #c09853; - background-color: #fcf8e3; - border-color: #c09853; -} -.control-group.error > label, .control-group.error .help-block, .control-group.error .help-inline { - color: #b94a48; -} -.control-group.error input, .control-group.error select, .control-group.error textarea { - color: #b94a48; - border-color: #b94a48; -} -.control-group.error input:focus, .control-group.error select:focus, .control-group.error textarea:focus { - border-color: #953b39; - -webkit-box-shadow: 0 0 6px #d59392; - -moz-box-shadow: 0 0 6px #d59392; - box-shadow: 0 0 6px #d59392; -} -.control-group.error .input-prepend .add-on, .control-group.error .input-append .add-on { - color: #b94a48; - background-color: #f2dede; - border-color: #b94a48; -} -.control-group.success > label, .control-group.success .help-block, .control-group.success .help-inline { - color: #468847; -} -.control-group.success input, .control-group.success select, .control-group.success textarea { - color: #468847; - border-color: #468847; -} -.control-group.success input:focus, .control-group.success select:focus, .control-group.success textarea:focus { - border-color: #356635; - -webkit-box-shadow: 0 0 6px #7aba7b; - -moz-box-shadow: 0 0 6px #7aba7b; - box-shadow: 0 0 6px #7aba7b; -} -.control-group.success .input-prepend .add-on, .control-group.success .input-append .add-on { - color: #468847; - background-color: #dff0d8; - border-color: #468847; -} -input:focus:required:invalid, textarea:focus:required:invalid, select:focus:required:invalid { - color: #b94a48; - border-color: #ee5f5b; -} -input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, select:focus:required:invalid:focus { - border-color: #e9322d; - -webkit-box-shadow: 0 0 6px #f8b9b7; - -moz-box-shadow: 0 0 6px #f8b9b7; - box-shadow: 0 0 6px #f8b9b7; -} -.form-actions { - padding: 17px 20px 18px; - margin-top: 18px; - margin-bottom: 18px; - background-color: #f5f5f5; - border-top: 1px solid #ddd; -} -.uneditable-input { - display: block; - background-color: #ffffff; - border-color: #eee; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - cursor: not-allowed; -} -:-moz-placeholder { - color: #999999; -} -::-webkit-input-placeholder { - color: #999999; -} -.help-block { - margin-top: 5px; - margin-bottom: 0; - color: #999999; -} -.help-inline { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-bottom: 9px; - vertical-align: middle; - padding-left: 5px; -} -.input-prepend, .input-append { - margin-bottom: 5px; - *zoom: 1; -} -.input-prepend:before, -.input-append:before, -.input-prepend:after, -.input-append:after { - display: table; - content: ""; -} -.input-prepend:after, .input-append:after { - clear: both; -} -.input-prepend input, -.input-append input, -.input-prepend .uneditable-input, -.input-append .uneditable-input { - -webkit-border-radius: 0 3px 3px 0; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; -} -.input-prepend input:focus, -.input-append input:focus, -.input-prepend .uneditable-input:focus, -.input-append .uneditable-input:focus { - position: relative; - z-index: 2; -} -.input-prepend .uneditable-input, .input-append .uneditable-input { - border-left-color: #ccc; -} -.input-prepend .add-on, .input-append .add-on { - float: left; - display: block; - width: auto; - min-width: 16px; - height: 18px; - margin-right: -1px; - padding: 4px 5px; - font-weight: normal; - line-height: 18px; - color: #999999; - text-align: center; - text-shadow: 0 1px 0 #ffffff; - background-color: #f5f5f5; - border: 1px solid #ccc; - -webkit-border-radius: 3px 0 0 3px; - -moz-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; -} -.input-prepend .active, .input-append .active { - background-color: #a9dba9; - border-color: #46a546; -} -.input-prepend .add-on { - *margin-top: 1px; - /* IE6-7 */ - -} -.input-append input, .input-append .uneditable-input { - float: left; - -webkit-border-radius: 3px 0 0 3px; - -moz-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; -} -.input-append .uneditable-input { - border-right-color: #ccc; -} -.input-append .add-on { - margin-right: 0; - margin-left: -1px; - -webkit-border-radius: 0 3px 3px 0; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; -} -.input-append input:first-child { - *margin-left: -160px; -} -.input-append input:first-child + .add-on { - *margin-left: -21px; -} -.search-query { - padding-left: 14px; - padding-right: 14px; - margin-bottom: 0; - -webkit-border-radius: 14px; - -moz-border-radius: 14px; - border-radius: 14px; -} -.form-search input, -.form-inline input, -.form-horizontal input, -.form-search textarea, -.form-inline textarea, -.form-horizontal textarea, -.form-search select, -.form-inline select, -.form-horizontal select, -.form-search .help-inline, -.form-inline .help-inline, -.form-horizontal .help-inline, -.form-search .uneditable-input, -.form-inline .uneditable-input, -.form-horizontal .uneditable-input { - display: inline-block; - margin-bottom: 0; -} -.form-search label, -.form-inline label, -.form-search .input-append, -.form-inline .input-append, -.form-search .input-prepend, -.form-inline .input-prepend { - display: inline-block; -} -.form-search .input-append .add-on, -.form-inline .input-prepend .add-on, -.form-search .input-append .add-on, -.form-inline .input-prepend .add-on { - vertical-align: middle; -} -.control-group { - margin-bottom: 9px; -} -.form-horizontal legend + .control-group { - margin-top: 18px; - -webkit-margin-top-collapse: separate; -} -.form-horizontal .control-group { - margin-bottom: 18px; - *zoom: 1; -} -.form-horizontal .control-group:before, .form-horizontal .control-group:after { - display: table; - content: ""; -} -.form-horizontal .control-group:after { - clear: both; -} -.form-horizontal .control-group > label { - float: left; - width: 140px; - padding-top: 5px; - text-align: right; -} -.form-horizontal .controls { - margin-left: 160px; -} -.form-horizontal .form-actions { - padding-left: 160px; -} -table { - max-width: 100%; - border-collapse: collapse; - border-spacing: 0; -} -.table { - width: 100%; - margin-bottom: 18px; -} -.table th, .table td { - padding: 8px; - line-height: 18px; - text-align: left; - border-top: 1px solid #ddd; -} -.table th { - font-weight: bold; - vertical-align: bottom; -} -.table td { - vertical-align: top; -} -.table thead:first-child tr th, .table thead:first-child tr td { - border-top: 0; -} -.table tbody + tbody { - border-top: 2px solid #ddd; -} -.table-condensed th, .table-condensed td { - padding: 4px 5px; -} -.table-bordered { - border: 1px solid #ddd; - border-collapse: separate; - *border-collapse: collapsed; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.table-bordered th + th, -.table-bordered td + td, -.table-bordered th + td, -.table-bordered td + th { - border-left: 1px solid #ddd; -} -.table-bordered thead:first-child tr:first-child th, .table-bordered tbody:first-child tr:first-child th, .table-bordered tbody:first-child tr:first-child td { - border-top: 0; -} -.table-bordered thead:first-child tr:first-child th:first-child, .table-bordered tbody:first-child tr:first-child td:first-child { - -webkit-border-radius: 4px 0 0 0; - -moz-border-radius: 4px 0 0 0; - border-radius: 4px 0 0 0; -} -.table-bordered thead:first-child tr:first-child th:last-child, .table-bordered tbody:first-child tr:first-child td:last-child { - -webkit-border-radius: 0 4px 0 0; - -moz-border-radius: 0 4px 0 0; - border-radius: 0 4px 0 0; -} -.table-bordered thead:last-child tr:last-child th:first-child, .table-bordered tbody:last-child tr:last-child td:first-child { - -webkit-border-radius: 0 0 0 4px; - -moz-border-radius: 0 0 0 4px; - border-radius: 0 0 0 4px; -} -.table-bordered thead:last-child tr:last-child th:last-child, .table-bordered tbody:last-child tr:last-child td:last-child { - -webkit-border-radius: 0 0 4px 0; - -moz-border-radius: 0 0 4px 0; - border-radius: 0 0 4px 0; -} -.table-striped tbody tr:nth-child(odd) td, .table-striped tbody tr:nth-child(odd) th { - background-color: #f9f9f9; -} -table .span1 { - float: none; - width: 44px; - margin-left: 0; -} -table .span2 { - float: none; - width: 124px; - margin-left: 0; -} -table .span3 { - float: none; - width: 204px; - margin-left: 0; -} -table .span4 { - float: none; - width: 284px; - margin-left: 0; -} -table .span5 { - float: none; - width: 364px; - margin-left: 0; -} -table .span6 { - float: none; - width: 444px; - margin-left: 0; -} -table .span7 { - float: none; - width: 524px; - margin-left: 0; -} -table .span8 { - float: none; - width: 604px; - margin-left: 0; -} -table .span9 { - float: none; - width: 684px; - margin-left: 0; -} -table .span10 { - float: none; - width: 764px; - margin-left: 0; -} -table .span11 { - float: none; - width: 844px; - margin-left: 0; -} -table .span12 { - float: none; - width: 924px; - margin-left: 0; -} -[class^="icon-"] { - display: inline-block; - width: 14px; - height: 14px; - vertical-align: text-top; - background-image: url(../img/glyphicons-halflings.png); - background-position: 14px 14px; - background-repeat: no-repeat; - *margin-right: .3em; -} -[class^="icon-"]:last-child { - *margin-left: 0; -} -.icon-white { - background-image: url(../img/glyphicons-halflings-white.png); -} -.icon-glass { - background-position: 0 0; -} -.icon-music { - background-position: -24px 0; -} -.icon-search { - background-position: -48px 0; -} -.icon-envelope { - background-position: -72px 0; -} -.icon-heart { - background-position: -96px 0; -} -.icon-star { - background-position: -120px 0; -} -.icon-star-empty { - background-position: -144px 0; -} -.icon-user { - background-position: -168px 0; -} -.icon-film { - background-position: -192px 0; -} -.icon-th-large { - background-position: -216px 0; -} -.icon-th { - background-position: -240px 0; -} -.icon-th-list { - background-position: -264px 0; -} -.icon-ok { - background-position: -288px 0; -} -.icon-remove { - background-position: -312px 0; -} -.icon-zoom-in { - background-position: -336px 0; -} -.icon-zoom-out { - background-position: -360px 0; -} -.icon-off { - background-position: -384px 0; -} -.icon-signal { - background-position: -408px 0; -} -.icon-cog { - background-position: -432px 0; -} -.icon-trash { - background-position: -456px 0; -} -.icon-home { - background-position: 0 -24px; -} -.icon-file { - background-position: -24px -24px; -} -.icon-time { - background-position: -48px -24px; -} -.icon-road { - background-position: -72px -24px; -} -.icon-download-alt { - background-position: -96px -24px; -} -.icon-download { - background-position: -120px -24px; -} -.icon-upload { - background-position: -144px -24px; -} -.icon-inbox { - background-position: -168px -24px; -} -.icon-play-circle { - background-position: -192px -24px; -} -.icon-repeat { - background-position: -216px -24px; -} -.icon-refresh { - background-position: -240px -24px; -} -.icon-list-alt { - background-position: -264px -24px; -} -.icon-lock { - background-position: -287px -24px; -} -.icon-flag { - background-position: -312px -24px; -} -.icon-headphones { - background-position: -336px -24px; -} -.icon-volume-off { - background-position: -360px -24px; -} -.icon-volume-down { - background-position: -384px -24px; -} -.icon-volume-up { - background-position: -408px -24px; -} -.icon-qrcode { - background-position: -432px -24px; -} -.icon-barcode { - background-position: -456px -24px; -} -.icon-tag { - background-position: 0 -48px; -} -.icon-tags { - background-position: -25px -48px; -} -.icon-book { - background-position: -48px -48px; -} -.icon-bookmark { - background-position: -72px -48px; -} -.icon-print { - background-position: -96px -48px; -} -.icon-camera { - background-position: -120px -48px; -} -.icon-font { - background-position: -144px -48px; -} -.icon-bold { - background-position: -167px -48px; -} -.icon-italic { - background-position: -192px -48px; -} -.icon-text-height { - background-position: -216px -48px; -} -.icon-text-width { - background-position: -240px -48px; -} -.icon-align-left { - background-position: -264px -48px; -} -.icon-align-center { - background-position: -288px -48px; -} -.icon-align-right { - background-position: -312px -48px; -} -.icon-align-justify { - background-position: -336px -48px; -} -.icon-list { - background-position: -360px -48px; -} -.icon-indent-left { - background-position: -384px -48px; -} -.icon-indent-right { - background-position: -408px -48px; -} -.icon-facetime-video { - background-position: -432px -48px; -} -.icon-picture { - background-position: -456px -48px; -} -.icon-pencil { - background-position: 0 -72px; -} -.icon-map-marker { - background-position: -24px -72px; -} -.icon-adjust { - background-position: -48px -72px; -} -.icon-tint { - background-position: -72px -72px; -} -.icon-edit { - background-position: -96px -72px; -} -.icon-share { - background-position: -120px -72px; -} -.icon-check { - background-position: -144px -72px; -} -.icon-move { - background-position: -168px -72px; -} -.icon-step-backward { - background-position: -192px -72px; -} -.icon-fast-backward { - background-position: -216px -72px; -} -.icon-backward { - background-position: -240px -72px; -} -.icon-play { - background-position: -264px -72px; -} -.icon-pause { - background-position: -288px -72px; -} -.icon-stop { - background-position: -312px -72px; -} -.icon-forward { - background-position: -336px -72px; -} -.icon-fast-forward { - background-position: -360px -72px; -} -.icon-step-forward { - background-position: -384px -72px; -} -.icon-eject { - background-position: -408px -72px; -} -.icon-chevron-left { - background-position: -432px -72px; -} -.icon-chevron-right { - background-position: -456px -72px; -} -.icon-plus-sign { - background-position: 0 -96px; -} -.icon-minus-sign { - background-position: -24px -96px; -} -.icon-remove-sign { - background-position: -48px -96px; -} -.icon-ok-sign { - background-position: -72px -96px; -} -.icon-question-sign { - background-position: -96px -96px; -} -.icon-info-sign { - background-position: -120px -96px; -} -.icon-screenshot { - background-position: -144px -96px; -} -.icon-remove-circle { - background-position: -168px -96px; -} -.icon-ok-circle { - background-position: -192px -96px; -} -.icon-ban-circle { - background-position: -216px -96px; -} -.icon-arrow-left { - background-position: -240px -96px; -} -.icon-arrow-right { - background-position: -264px -96px; -} -.icon-arrow-up { - background-position: -289px -96px; -} -.icon-arrow-down { - background-position: -312px -96px; -} -.icon-share-alt { - background-position: -336px -96px; -} -.icon-resize-full { - background-position: -360px -96px; -} -.icon-resize-small { - background-position: -384px -96px; -} -.icon-plus { - background-position: -408px -96px; -} -.icon-minus { - background-position: -433px -96px; -} -.icon-asterisk { - background-position: -456px -96px; -} -.icon-exclamation-sign { - background-position: 0 -120px; -} -.icon-gift { - background-position: -24px -120px; -} -.icon-leaf { - background-position: -48px -120px; -} -.icon-fire { - background-position: -72px -120px; -} -.icon-eye-open { - background-position: -96px -120px; -} -.icon-eye-close { - background-position: -120px -120px; -} -.icon-warning-sign { - background-position: -144px -120px; -} -.icon-plane { - background-position: -168px -120px; -} -.icon-calendar { - background-position: -192px -120px; -} -.icon-random { - background-position: -216px -120px; -} -.icon-comment { - background-position: -240px -120px; -} -.icon-magnet { - background-position: -264px -120px; -} -.icon-chevron-up { - background-position: -288px -120px; -} -.icon-chevron-down { - background-position: -313px -119px; -} -.icon-retweet { - background-position: -336px -120px; -} -.icon-shopping-cart { - background-position: -360px -120px; -} -.icon-folder-close { - background-position: -384px -120px; -} -.icon-folder-open { - background-position: -408px -120px; -} -.icon-resize-vertical { - background-position: -432px -119px; -} -.icon-resize-horizontal { - background-position: -456px -118px; -} -.dropdown { - position: relative; -} -.dropdown-toggle { - *margin-bottom: -3px; -} -.dropdown-toggle:active, .open .dropdown-toggle { - outline: 0; -} -.caret { - display: inline-block; - width: 0; - height: 0; - text-indent: -99999px; - *text-indent: 0; - vertical-align: top; - border-left: 4px solid transparent; - border-right: 4px solid transparent; - border-top: 4px solid #000000; - opacity: 0.3; - filter: alpha(opacity=30); - content: "\2193"; -} -.dropdown .caret { - margin-top: 8px; - margin-left: 2px; -} -.dropdown:hover .caret, .open.dropdown .caret { - opacity: 1; - filter: alpha(opacity=100); -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - float: left; - display: none; - min-width: 160px; - max-width: 220px; - _width: 160px; - padding: 4px 0; - margin: 0; - list-style: none; - background-color: #ffffff; - border-color: #ccc; - border-color: rgba(0, 0, 0, 0.2); - border-style: solid; - border-width: 1px; - -webkit-border-radius: 0 0 5px 5px; - -moz-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - *border-right-width: 2px; - *border-bottom-width: 2px; -} -.dropdown-menu.bottom-up { - top: auto; - bottom: 100%; - margin-bottom: 2px; -} -.dropdown-menu .divider { - height: 1px; - margin: 5px 1px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; - *width: 100%; - *margin: -5px 0 5px; -} -.dropdown-menu a { - display: block; - padding: 3px 15px; - clear: both; - font-weight: normal; - line-height: 18px; - color: #555555; - white-space: nowrap; -} -.dropdown-menu li > a:hover, .dropdown-menu .active > a, .dropdown-menu .active > a:hover { - color: #ffffff; - text-decoration: none; - background-color: #0088cc; -} -.dropdown.open { - *z-index: 1000; -} -.dropdown.open .dropdown-toggle { - color: #ffffff; - background: #ccc; - background: rgba(0, 0, 0, 0.3); -} -.dropdown.open .dropdown-menu { - display: block; -} -.typeahead { - margin-top: 2px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #f5f5f5; - border: 1px solid #eee; - border: 1px solid rgba(0, 0, 0, 0.05); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -} -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, 0.15); -} -.fade { - -webkit-transition: opacity 0.15s linear; - -moz-transition: opacity 0.15s linear; - -ms-transition: opacity 0.15s linear; - -o-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - opacity: 0; -} -.fade.in { - opacity: 1; -} -.collapse { - -webkit-transition: height 0.35s ease; - -moz-transition: height 0.35s ease; - -ms-transition: height 0.35s ease; - -o-transition: height 0.35s ease; - transition: height 0.35s ease; - position: relative; - overflow: hidden; - height: 0; -} -.collapse.in { - height: auto; -} -.close { - float: right; - font-size: 20px; - font-weight: bold; - line-height: 18px; - color: #000000; - text-shadow: 0 1px 0 #ffffff; - opacity: 0.2; - filter: alpha(opacity=20); -} -.close:hover { - color: #000000; - text-decoration: none; - opacity: 0.4; - filter: alpha(opacity=40); - cursor: pointer; -} -.btn { - display: inline-block; - padding: 4px 10px 4px; - font-size: 13px; - line-height: 18px; - color: #333333; - text-align: center; - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); - background-color: #fafafa; - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6)); - background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6); - background-image: -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6); - background-image: -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6); - background-image: -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6); - background-image: linear-gradient(#ffffff, #ffffff 25%, #e6e6e6); - background-repeat: no-repeat; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0); - border: 1px solid #ccc; - border-bottom-color: #bbb; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); - cursor: pointer; - *margin-left: .3em; -} -.btn:first-child { - *margin-left: 0; -} -.btn:hover { - color: #333333; - text-decoration: none; - background-color: #e6e6e6; - background-position: 0 -15px; - -webkit-transition: background-position 0.1s linear; - -moz-transition: background-position 0.1s linear; - -ms-transition: background-position 0.1s linear; - -o-transition: background-position 0.1s linear; - transition: background-position 0.1s linear; -} -.btn:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn.active, .btn:active { - background-image: none; - -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); - background-color: #e6e6e6; - background-color: #d9d9d9 \9; - color: rgba(0, 0, 0, 0.5); - outline: 0; -} -.btn.disabled, .btn[disabled] { - cursor: default; - background-image: none; - background-color: #e6e6e6; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-large { - padding: 9px 14px; - font-size: 15px; - line-height: normal; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.btn-large .icon { - margin-top: 1px; -} -.btn-small { - padding: 5px 9px; - font-size: 11px; - line-height: 16px; -} -.btn-small .icon { - margin-top: -1px; -} -.btn-primary, -.btn-primary:hover, -.btn-warning, -.btn-warning:hover, -.btn-danger, -.btn-danger:hover, -.btn-success, -.btn-success:hover, -.btn-info, -.btn-info:hover { - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - color: #ffffff; -} -.btn-primary.active, -.btn-warning.active, -.btn-danger.active, -.btn-success.active, -.btn-info.active { - color: rgba(255, 255, 255, 0.75); -} -.btn-primary { - background-color: #006dcc; - background-image: -moz-linear-gradient(top, #0088cc, #0044cc); - background-image: -ms-linear-gradient(top, #0088cc, #0044cc); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc)); - background-image: -webkit-linear-gradient(top, #0088cc, #0044cc); - background-image: -o-linear-gradient(top, #0088cc, #0044cc); - background-image: linear-gradient(top, #0088cc, #0044cc); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0); - border-color: #0044cc #0044cc #002a80; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-primary:hover, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - background-color: #0044cc; -} -.btn-primary:active, .btn-primary.active { - background-color: #003399 \9; -} -.btn-warning { - background-color: #faa732; - background-image: -moz-linear-gradient(top, #fbb450, #f89406); - background-image: -ms-linear-gradient(top, #fbb450, #f89406); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)); - background-image: -webkit-linear-gradient(top, #fbb450, #f89406); - background-image: -o-linear-gradient(top, #fbb450, #f89406); - background-image: linear-gradient(top, #fbb450, #f89406); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0); - border-color: #f89406 #f89406 #ad6704; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - background-color: #f89406; -} -.btn-warning:active, .btn-warning.active { - background-color: #c67605 \9; -} -.btn-danger { - background-color: #da4f49; - background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f); - background-image: -ms-linear-gradient(top, #ee5f5b, #bd362f); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f); - background-image: -o-linear-gradient(top, #ee5f5b, #bd362f); - background-image: linear-gradient(top, #ee5f5b, #bd362f); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0); - border-color: #bd362f #bd362f #802420; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-danger:hover, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - background-color: #bd362f; -} -.btn-danger:active, .btn-danger.active { - background-color: #942a25 \9; -} -.btn-success { - background-color: #5bb75b; - background-image: -moz-linear-gradient(top, #62c462, #51a351); - background-image: -ms-linear-gradient(top, #62c462, #51a351); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351)); - background-image: -webkit-linear-gradient(top, #62c462, #51a351); - background-image: -o-linear-gradient(top, #62c462, #51a351); - background-image: linear-gradient(top, #62c462, #51a351); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0); - border-color: #51a351 #51a351 #387038; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-success:hover, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - background-color: #51a351; -} -.btn-success:active, .btn-success.active { - background-color: #408140 \9; -} -.btn-info { - background-color: #49afcd; - background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4); - background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4)); - background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4); - background-image: -o-linear-gradient(top, #5bc0de, #2f96b4); - background-image: linear-gradient(top, #5bc0de, #2f96b4); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0); - border-color: #2f96b4 #2f96b4 #1f6377; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-info:hover, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - background-color: #2f96b4; -} -.btn-info:active, .btn-info.active { - background-color: #24748c \9; -} -button.btn, input[type="submit"].btn { - *padding-top: 2px; - *padding-bottom: 2px; -} -button.btn::-moz-focus-inner, input[type="submit"].btn::-moz-focus-inner { - padding: 0; - border: 0; -} -button.btn.large, input[type="submit"].btn.large { - *padding-top: 7px; - *padding-bottom: 7px; -} -button.btn.small, input[type="submit"].btn.small { - *padding-top: 3px; - *padding-bottom: 3px; -} -.btn-group { - position: relative; - *zoom: 1; - *margin-left: .3em; -} -.btn-group:before, .btn-group:after { - display: table; - content: ""; -} -.btn-group:after { - clear: both; -} -.btn-group:first-child { - *margin-left: 0; -} -.btn-group + .btn-group { - margin-left: 5px; -} -.btn-toolbar { - margin-top: 9px; - margin-bottom: 9px; -} -.btn-toolbar .btn-group { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; -} -.btn-group .btn { - position: relative; - float: left; - margin-left: -1px; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group .btn:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.btn-group .btn:last-child, .btn-group .dropdown-toggle { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.btn-group .btn.large:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.btn-group .btn.large:last-child, .btn-group .large.dropdown-toggle { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.btn-group .btn:hover, -.btn-group .btn:focus, -.btn-group .btn:active, -.btn-group .btn.active { - z-index: 2; -} -.btn-group .dropdown-toggle:active, .btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group .dropdown-toggle { - padding-left: 8px; - padding-right: 8px; - -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); - *padding-top: 5px; - *padding-bottom: 5px; -} -.btn-group.open { - *z-index: 1000; -} -.btn-group.open .dropdown-menu { - display: block; - margin-top: 1px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.btn-group.open .dropdown-toggle { - background-image: none; - -webkit-box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); -} -.btn .caret { - margin-top: 7px; - margin-left: 0; -} -.btn:hover .caret, .open.btn-group .caret { - opacity: 1; - filter: alpha(opacity=100); -} -.btn-primary .caret, -.btn-danger .caret, -.btn-info .caret, -.btn-success .caret { - border-top-color: #ffffff; - opacity: 0.75; - filter: alpha(opacity=75); -} -.btn-small .caret { - margin-top: 4px; -} -.alert { - padding: 8px 35px 8px 14px; - margin-bottom: 18px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - background-color: #fcf8e3; - border: 1px solid #fbeed5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.alert, .alert-heading { - color: #c09853; -} -.alert .close { - position: relative; - top: -2px; - right: -21px; - line-height: 18px; -} -.alert-success { - background-color: #dff0d8; - border-color: #d6e9c6; -} -.alert-success, .alert-success .alert-heading { - color: #468847; -} -.alert-danger, .alert-error { - background-color: #f2dede; - border-color: #eed3d7; -} -.alert-danger, -.alert-error, -.alert-danger .alert-heading, -.alert-error .alert-heading { - color: #b94a48; -} -.alert-info { - background-color: #d9edf7; - border-color: #bce8f1; -} -.alert-info, .alert-info .alert-heading { - color: #3a87ad; -} -.alert-block { - padding-top: 14px; - padding-bottom: 14px; -} -.alert-block > p, .alert-block > ul { - margin-bottom: 0; -} -.alert-block p + p { - margin-top: 5px; -} -.nav { - margin-left: 0; - margin-bottom: 18px; - list-style: none; -} -.nav > li > a { - display: block; -} -.nav > li > a:hover { - text-decoration: none; - background-color: #eeeeee; -} -.nav-list { - padding-left: 14px; - padding-right: 14px; - margin-bottom: 0; -} -.nav-list > li > a, .nav-list .nav-header { - display: block; - padding: 3px 15px; - margin-left: -15px; - margin-right: -15px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} -.nav-list .nav-header { - font-size: 11px; - font-weight: bold; - line-height: 18px; - color: #999999; - text-transform: uppercase; -} - -.nav-list .nav-header * { - text-transform:none; -} - -.nav-list > li + .nav-header { - margin-top: 9px; -} -.nav-list .active > a, .nav-list .active > a:hover { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); - background-color: #0088cc; -} -.nav-list [class^="icon-"] { - margin-right: 2px; -} -.nav-tabs, .nav-pills { - *zoom: 1; -} -.nav-tabs:before, -.nav-pills:before, -.nav-tabs:after, -.nav-pills:after { - display: table; - content: ""; -} -.nav-tabs:after, .nav-pills:after { - clear: both; -} -.nav-tabs > li, .nav-pills > li { - float: left; -} -.nav-tabs > li > a, .nav-pills > li > a { - padding-right: 12px; - padding-left: 12px; - margin-right: 2px; - line-height: 14px; -} -.nav-tabs { - border-bottom: 1px solid #ddd; -} -.nav-tabs > li { - margin-bottom: -1px; -} -.nav-tabs > li > a { - padding-top: 9px; - padding-bottom: 9px; - border: 1px solid transparent; - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover { - border-color: #eeeeee #eeeeee #dddddd; -} -.nav-tabs > .active > a, .nav-tabs > .active > a:hover { - color: #555555; - background-color: #ffffff; - border: 1px solid #ddd; - border-bottom-color: transparent; - cursor: default; -} -.nav-pills > li > a { - padding-top: 8px; - padding-bottom: 8px; - margin-top: 2px; - margin-bottom: 2px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.nav-pills .active > a, .nav-pills .active > a:hover { - color: #ffffff; - background-color: #0088cc; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li > a { - margin-right: 0; -} -.nav-tabs.nav-stacked { - border-bottom: 0; -} -.nav-tabs.nav-stacked > li > a { - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-tabs.nav-stacked > li:first-child > a { - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.nav-tabs.nav-stacked > li:last-child > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.nav-tabs.nav-stacked > li > a:hover { - border-color: #ddd; - z-index: 2; -} -.nav-pills.nav-stacked > li > a { - margin-bottom: 3px; -} -.nav-pills.nav-stacked > li:last-child > a { - margin-bottom: 1px; -} -.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu { - margin-top: 1px; - border-width: 1px; -} -.nav-pills .dropdown-menu { - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.nav-tabs .dropdown-toggle .caret, .nav-pills .dropdown-toggle .caret { - border-top-color: #0088cc; - margin-top: 6px; -} -.nav-tabs .dropdown-toggle:hover .caret, .nav-pills .dropdown-toggle:hover .caret { - border-top-color: #005580; -} -.nav-tabs .active .dropdown-toggle .caret, .nav-pills .active .dropdown-toggle .caret { - border-top-color: #333333; -} -.nav > .dropdown.active > a:hover { - color: #000000; - cursor: pointer; -} -.nav-tabs .open .dropdown-toggle, .nav-pills .open .dropdown-toggle, .nav > .open.active > a:hover { - color: #ffffff; - background-color: #999999; - border-color: #999999; -} -.nav .open .caret, .nav .open.active .caret, .nav .open a:hover .caret { - border-top-color: #ffffff; - opacity: 1; - filter: alpha(opacity=100); -} -.tabs-stacked .open > a:hover { - border-color: #999999; -} -.tabbable { - *zoom: 1; -} -.tabbable:before, .tabbable:after { - display: table; - content: ""; -} -.tabbable:after { - clear: both; -} -.tabs-below .nav-tabs, .tabs-right .nav-tabs, .tabs-left .nav-tabs { - border-bottom: 0; -} -.tab-content > .tab-pane, .pill-content > .pill-pane { - display: none; -} -.tab-content > .active, .pill-content > .active { - display: block; -} -.tabs-below .nav-tabs { - border-top: 1px solid #ddd; -} -.tabs-below .nav-tabs > li { - margin-top: -1px; - margin-bottom: 0; -} -.tabs-below .nav-tabs > li > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.tabs-below .nav-tabs > li > a:hover { - border-bottom-color: transparent; - border-top-color: #ddd; -} -.tabs-below .nav-tabs .active > a, .tabs-below .nav-tabs .active > a:hover { - border-color: transparent #ddd #ddd #ddd; -} -.tabs-left .nav-tabs > li, .tabs-right .nav-tabs > li { - float: none; -} -.tabs-left .nav-tabs > li > a, .tabs-right .nav-tabs > li > a { - min-width: 74px; - margin-right: 0; - margin-bottom: 3px; -} -.tabs-left .nav-tabs { - float: left; - margin-right: 19px; - border-right: 1px solid #ddd; -} -.tabs-left .nav-tabs > li > a { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.tabs-left .nav-tabs > li > a:hover { - border-color: #eeeeee #dddddd #eeeeee #eeeeee; -} -.tabs-left .nav-tabs .active > a, .tabs-left .nav-tabs .active > a:hover { - border-color: #ddd transparent #ddd #ddd; - *border-right-color: #ffffff; -} -.tabs-right .nav-tabs { - float: right; - margin-left: 19px; - border-left: 1px solid #ddd; -} -.tabs-right .nav-tabs > li > a { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.tabs-right .nav-tabs > li > a:hover { - border-color: #eeeeee #eeeeee #eeeeee #dddddd; -} -.tabs-right .nav-tabs .active > a, .tabs-right .nav-tabs .active > a:hover { - border-color: #ddd #ddd #ddd transparent; - *border-left-color: #ffffff; -} -.navbar { - overflow: visible; - margin-bottom: 18px; -} -.navbar-inner { - padding-left: 20px; - padding-right: 20px; - background-color: #2c2c2c; - background-image: -moz-linear-gradient(top, #333333, #222222); - background-image: -ms-linear-gradient(top, #333333, #222222); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222)); - background-image: -webkit-linear-gradient(top, #333333, #222222); - background-image: -o-linear-gradient(top, #333333, #222222); - background-image: linear-gradient(top, #333333, #222222); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); -} -.btn-navbar { - display: none; - float: right; - padding: 7px 10px; - margin-left: 5px; - margin-right: 5px; - background-color: #2c2c2c; - background-image: -moz-linear-gradient(top, #333333, #222222); - background-image: -ms-linear-gradient(top, #333333, #222222); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222)); - background-image: -webkit-linear-gradient(top, #333333, #222222); - background-image: -o-linear-gradient(top, #333333, #222222); - background-image: linear-gradient(top, #333333, #222222); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0); - border-color: #222222 #222222 #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); - -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); -} -.btn-navbar:hover, -.btn-navbar:active, -.btn-navbar.active, -.btn-navbar.disabled, -.btn-navbar[disabled] { - background-color: #222222; -} -.btn-navbar:active, .btn-navbar.active { - background-color: #080808 \9; -} -.btn-navbar .icon-bar { - display: block; - width: 18px; - height: 2px; - background-color: #f5f5f5; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -} -.btn-navbar .icon-bar + .icon-bar { - margin-top: 3px; -} -.nav-collapse.collapse { - height: auto; -} -.navbar .brand:hover { - text-decoration: none; -} -.navbar .brand { - float: left; - display: block; - padding: 8px 20px 12px; - margin-left: -20px; - font-size: 20px; - font-weight: 200; - line-height: 1; - color: #ffffff; -} -.navbar .navbar-text { - margin-bottom: 0; - line-height: 40px; - color: #999999; -} -.navbar .navbar-text a:hover { - color: #ffffff; - background-color: transparent; -} -.navbar .btn, .navbar .btn-group { - margin-top: 5px; -} -.navbar .btn-group .btn { - margin-top: 0; -} -.navbar-form { - margin-bottom: 0; - *zoom: 1; -} -.navbar-form:before, .navbar-form:after { - display: table; - content: ""; -} -.navbar-form:after { - clear: both; -} -.navbar-form input, .navbar-form select { - display: inline-block; - margin-top: 5px; - margin-bottom: 0; -} -.navbar-form .radio, .navbar-form .checkbox { - margin-top: 5px; -} -.navbar-form input[type="image"], .navbar-form input[type="checkbox"], .navbar-form input[type="radio"] { - margin-top: 3px; -} -.navbar-search { - position: relative; - float: left; - margin-top: 6px; - margin-bottom: 0; -} -.navbar-search .search-query { - padding: 4px 9px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 13px; - font-weight: normal; - line-height: 1; - color: #ffffff; - color: rgba(255, 255, 255, 0.75); - background: #666; - background: rgba(255, 255, 255, 0.3); - border: 1px solid #111; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.15); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.15); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.15); - -webkit-transition: none; - -moz-transition: none; - -ms-transition: none; - -o-transition: none; - transition: none; -} -.navbar-search .search-query :-moz-placeholder { - color: #eeeeee; -} -.navbar-search .search-query::-webkit-input-placeholder { - color: #eeeeee; -} -.navbar-search .search-query:hover { - color: #ffffff; - background-color: #999999; - background-color: rgba(255, 255, 255, 0.5); -} -.navbar-search .search-query:focus, .navbar-search .search-query.focused { - padding: 5px 10px; - color: #333333; - text-shadow: 0 1px 0 #ffffff; - background-color: #ffffff; - border: 0; - -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - outline: 0; -} -.navbar-fixed-top { - position: fixed; - top: 0; - right: 0; - left: 0; - z-index: 1030; -} -.navbar-fixed-top .navbar-inner { - padding-left: 0; - padding-right: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar .nav { - position: relative; - left: 0; - display: block; - float: left; - margin: 0 10px 0 0; -} -.navbar .nav.pull-right { - float: right; -} -.navbar .nav > li { - display: block; - float: left; -} -.navbar .nav > li > a { - float: none; - padding: 10px 10px 11px; - line-height: 19px; - color: #999999; - text-decoration: none; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.navbar .nav > li > a:hover { - background-color: transparent; - color: #ffffff; - text-decoration: none; -} -.navbar .nav .active > a, .navbar .nav .active > a:hover { - color: #ffffff; - text-decoration: none; - background-color: #222222; - background-color: rgba(0, 0, 0, 0.5); -} -.navbar .divider-vertical { - height: 40px; - width: 1px; - margin: 0 9px; - overflow: hidden; - background-color: #222222; - border-right: 1px solid #333333; -} -.navbar .nav.pull-right { - margin-left: 10px; - margin-right: 0; -} -.navbar .dropdown-menu { - margin-top: 1px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.navbar .dropdown-menu:before { - content: ''; - display: inline-block; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-bottom-color: rgba(0, 0, 0, 0.2); - position: absolute; - top: -7px; - left: 9px; -} -.navbar .dropdown-menu:after { - content: ''; - display: inline-block; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid #ffffff; - position: absolute; - top: -6px; - left: 10px; -} -.navbar .nav .dropdown-toggle .caret, .navbar .nav .open.dropdown .caret { - border-top-color: #ffffff; -} -.navbar .nav .active .caret { - opacity: 1; - filter: alpha(opacity=100); -} -.navbar .nav .open > .dropdown-toggle, .navbar .nav .active > .dropdown-toggle, .navbar .nav .open.active > .dropdown-toggle { - background-color: transparent; -} -.navbar .nav .active > .dropdown-toggle:hover { - color: #ffffff; -} -.navbar .nav.pull-right .dropdown-menu { - left: auto; - right: 0; -} -.navbar .nav.pull-right .dropdown-menu:before { - left: auto; - right: 12px; -} -.navbar .nav.pull-right .dropdown-menu:after { - left: auto; - right: 13px; -} -.breadcrumb { - padding: 7px 14px; - margin: 0 0 18px; - background-color: #fbfbfb; - background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5); - background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5)); - background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5); - background-image: -o-linear-gradient(top, #ffffff, #f5f5f5); - background-image: linear-gradient(top, #ffffff, #f5f5f5); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0); - border: 1px solid #ddd; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; -} -.breadcrumb li { - display: inline; - text-shadow: 0 1px 0 #ffffff; -} -.breadcrumb .divider { - padding: 0 5px; - color: #999999; -} -.breadcrumb .active a { - color: #333333; -} -.pagination { - height: 36px; - margin: 18px 0; -} -.pagination ul { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-left: 0; - margin-bottom: 0; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); -} -.pagination li { - display: inline; -} -.pagination a { - float: left; - padding: 0 14px; - line-height: 34px; - text-decoration: none; - border: 1px solid #ddd; - border-left-width: 0; -} -.pagination a:hover, .pagination .active a { - background-color: #f5f5f5; -} -.pagination .active a { - color: #999999; - cursor: default; -} -.pagination .disabled a, .pagination .disabled a:hover { - color: #999999; - background-color: transparent; - cursor: default; -} -.pagination li:first-child a { - border-left-width: 1px; - -webkit-border-radius: 3px 0 0 3px; - -moz-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; -} -.pagination li:last-child a { - -webkit-border-radius: 0 3px 3px 0; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; -} -.pagination-centered { - text-align: center; -} -.pagination-right { - text-align: right; -} -.pager { - margin-left: 0; - margin-bottom: 18px; - list-style: none; - text-align: center; - *zoom: 1; -} -.pager:before, .pager:after { - display: table; - content: ""; -} -.pager:after { - clear: both; -} -.pager li { - display: inline; -} -.pager a { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.pager a:hover { - text-decoration: none; - background-color: #f5f5f5; -} -.pager .next a { - float: right; -} -.pager .previous a { - float: left; -} -.modal-open .dropdown-menu { - z-index: 2050; -} -.modal-open .dropdown.open { - *z-index: 2050; -} -.modal-open .popover { - z-index: 2060; -} -.modal-open .tooltip { - z-index: 2070; -} -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000000; -} -.modal-backdrop.fade { - opacity: 0; -} -.modal-backdrop, .modal-backdrop.fade.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.modal { - position: fixed; - top: 50%; - left: 50%; - z-index: 1050; - max-height: 500px; - overflow: auto; - width: 560px; - margin: -250px 0 0 -280px; - background-color: #ffffff; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, 0.3); - *border: 1px solid #999; - /* IE6-7 */ - - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; -} -.modal.fade { - -webkit-transition: opacity .3s linear, top .3s ease-out; - -moz-transition: opacity .3s linear, top .3s ease-out; - -ms-transition: opacity .3s linear, top .3s ease-out; - -o-transition: opacity .3s linear, top .3s ease-out; - transition: opacity .3s linear, top .3s ease-out; - top: -25%; -} -.modal.fade.in { - top: 50%; -} -.modal-header { - padding: 9px 15px; - border-bottom: 1px solid #eee; -} -.modal-header .close { - margin-top: 2px; -} -.modal-body { - padding: 15px; -} -.modal-footer { - padding: 14px 15px 15px; - margin-bottom: 0; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; - *zoom: 1; -} -.modal-footer:before, .modal-footer:after { - display: table; - content: ""; -} -.modal-footer:after { - clear: both; -} -.modal-footer .btn { - float: right; - margin-left: 5px; - margin-bottom: 0; -} -.tooltip { - position: absolute; - z-index: 1020; - display: block; - visibility: visible; - padding: 5px; - font-size: 11px; - opacity: 0; - filter: alpha(opacity=0); -} -.tooltip.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.tooltip.top { - margin-top: -2px; -} -.tooltip.right { - margin-left: 2px; -} -.tooltip.bottom { - margin-top: 2px; -} -.tooltip.left { - margin-left: -2px; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-left: 5px solid transparent; - border-right: 5px solid transparent; - border-top: 5px solid #000000; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-top: 5px solid transparent; - border-bottom: 5px solid transparent; - border-left: 5px solid #000000; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-left: 5px solid transparent; - border-right: 5px solid transparent; - border-bottom: 5px solid #000000; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-top: 5px solid transparent; - border-bottom: 5px solid transparent; - border-right: 5px solid #000000; -} -.tooltip-inner { - max-width: 200px; - padding: 3px 8px; - color: #ffffff; - text-align: center; - text-decoration: none; - background-color: #000000; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1010; - display: none; - padding: 5px; -} -.popover.top { - margin-top: -5px; -} -.popover.right { - margin-left: 5px; -} -.popover.bottom { - margin-top: 5px; -} -.popover.left { - margin-left: -5px; -} -.popover.top .arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-left: 5px solid transparent; - border-right: 5px solid transparent; - border-top: 5px solid #000000; -} -.popover.right .arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-top: 5px solid transparent; - border-bottom: 5px solid transparent; - border-right: 5px solid #000000; -} -.popover.bottom .arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-left: 5px solid transparent; - border-right: 5px solid transparent; - border-bottom: 5px solid #000000; -} -.popover.left .arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-top: 5px solid transparent; - border-bottom: 5px solid transparent; - border-left: 5px solid #000000; -} -.popover .arrow { - position: absolute; - width: 0; - height: 0; -} -.popover-inner { - padding: 3px; - width: 280px; - overflow: hidden; - background: #000000; - background: rgba(0, 0, 0, 0.8); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); -} -.popover-title { - padding: 9px 15px; - line-height: 1; - background-color: #f5f5f5; - border-bottom: 1px solid #eee; - -webkit-border-radius: 3px 3px 0 0; - -moz-border-radius: 3px 3px 0 0; - border-radius: 3px 3px 0 0; -} -.popover-content { - padding: 14px; - background-color: #ffffff; - -webkit-border-radius: 0 0 3px 3px; - -moz-border-radius: 0 0 3px 3px; - border-radius: 0 0 3px 3px; - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; -} -.popover-content p, .popover-content ul, .popover-content ol { - margin-bottom: 0; -} -.thumbnails { - margin-left: -20px; - list-style: none; - *zoom: 1; -} -.thumbnails:before, .thumbnails:after { - display: table; - content: ""; -} -.thumbnails:after { - clear: both; -} -.thumbnails > li { - float: left; - margin: 0 0 18px 20px; -} -.thumbnail { - display: block; - padding: 4px; - line-height: 1; - border: 1px solid #ddd; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075); -} -a.thumbnail:hover { - border-color: #0088cc; - -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); -} -.thumbnail > img { - display: block; - max-width: 100%; - margin-left: auto; - margin-right: auto; -} -.thumbnail .caption { - padding: 9px; -} -.label { - padding: 1px 3px 2px; - font-size: 9.75px; - font-weight: bold; - color: #ffffff; - text-transform: uppercase; - background-color: #999999; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.label-important { - background-color: #b94a48; -} -.label-warning { - background-color: #f89406; -} -.label-success { - background-color: #468847; -} -.label-info { - background-color: #3a87ad; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 0 0; - } - to { - background-position: 40px 0; - } -} -@-moz-keyframes progress-bar-stripes { - from { - background-position: 0 0; - } - to { - background-position: 40px 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 0 0; - } - to { - background-position: 40px 0; - } -} -.progress { - overflow: hidden; - height: 18px; - margin-bottom: 18px; - background-color: #f7f7f7; - background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -ms-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); - background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: linear-gradient(top, #f5f5f5, #f9f9f9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0); - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.progress .bar { - width: 0%; - height: 18px; - color: #ffffff; - font-size: 12px; - text-align: center; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0e90d2; - background-image: -moz-linear-gradient(top, #149bdf, #0480be); - background-image: -ms-linear-gradient(top, #149bdf, #0480be); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); - background-image: -webkit-linear-gradient(top, #149bdf, #0480be); - background-image: -o-linear-gradient(top, #149bdf, #0480be); - background-image: linear-gradient(top, #149bdf, #0480be); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0); - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-transition: width 0.6s ease; - -moz-transition: width 0.6s ease; - -ms-transition: width 0.6s ease; - -o-transition: width 0.6s ease; - transition: width 0.6s ease; -} -.progress-striped .bar { - background-color: #62c462; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - -webkit-background-size: 40px 40px; - -moz-background-size: 40px 40px; - -o-background-size: 40px 40px; - background-size: 40px 40px; -} -.progress.active .bar { - -webkit-animation: progress-bar-stripes 2s linear infinite; - -moz-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} -.progress-danger .bar { - background-color: #dd514c; - background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); - background-image: linear-gradient(top, #ee5f5b, #c43c35); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0); -} -.progress-danger.progress-striped .bar { - background-color: #ee5f5b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-success .bar { - background-color: #5eb95e; - background-image: -moz-linear-gradient(top, #62c462, #57a957); - background-image: -ms-linear-gradient(top, #62c462, #57a957); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); - background-image: -webkit-linear-gradient(top, #62c462, #57a957); - background-image: -o-linear-gradient(top, #62c462, #57a957); - background-image: linear-gradient(top, #62c462, #57a957); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0); -} -.progress-success.progress-striped .bar { - background-color: #62c462; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-info .bar { - background-color: #4bb1cf; - background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); - background-image: -ms-linear-gradient(top, #5bc0de, #339bb9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); - background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); - background-image: -o-linear-gradient(top, #5bc0de, #339bb9); - background-image: linear-gradient(top, #5bc0de, #339bb9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0); -} -.progress-info.progress-striped .bar { - background-color: #5bc0de; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.accordion { - margin-bottom: 18px; -} -.accordion-group { - margin-bottom: 2px; - border: 1px solid #e5e5e5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.accordion-heading { - border-bottom: 0; -} -.accordion-heading .accordion-toggle { - display: block; - padding: 8px 15px; -} -.accordion-inner { - padding: 9px 15px; - border-top: 1px solid #e5e5e5; -} -.carousel { - position: relative; - margin-bottom: 18px; - line-height: 1; -} -.carousel-inner { - overflow: hidden; - width: 100%; - position: relative; -} -.carousel .item { - display: none; - position: relative; - -webkit-transition: 0.6s ease-in-out left; - -moz-transition: 0.6s ease-in-out left; - -ms-transition: 0.6s ease-in-out left; - -o-transition: 0.6s ease-in-out left; - transition: 0.6s ease-in-out left; -} -.carousel .item > img { - display: block; - line-height: 1; -} -.carousel .active, .carousel .next, .carousel .prev { - display: block; -} -.carousel .active { - left: 0; -} -.carousel .next, .carousel .prev { - position: absolute; - top: 0; - width: 100%; -} -.carousel .next { - left: 100%; -} -.carousel .prev { - left: -100%; -} -.carousel .next.left, .carousel .prev.right { - left: 0; -} -.carousel .active.left { - left: -100%; -} -.carousel .active.right { - left: 100%; -} -.carousel-control { - position: absolute; - top: 40%; - left: 15px; - width: 40px; - height: 40px; - margin-top: -20px; - font-size: 60px; - font-weight: 100; - line-height: 30px; - color: #ffffff; - text-align: center; - background: #222222; - border: 3px solid #ffffff; - -webkit-border-radius: 23px; - -moz-border-radius: 23px; - border-radius: 23px; - opacity: 0.5; - filter: alpha(opacity=50); -} -.carousel-control.right { - left: auto; - right: 15px; -} -.carousel-control:hover { - color: #ffffff; - text-decoration: none; - opacity: 0.9; - filter: alpha(opacity=90); -} -.carousel-caption { - position: absolute; - left: 0; - right: 0; - bottom: 0; - padding: 10px 15px 5px; - background: #333333; - background: rgba(0, 0, 0, 0.75); -} -.carousel-caption h4, .carousel-caption p { - color: #ffffff; -} -.hero-unit { - padding: 60px; - margin-bottom: 30px; - background-color: #f5f5f5; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.hero-unit h1 { - margin-bottom: 0; - font-size: 60px; - line-height: 1; - letter-spacing: -1px; -} -.hero-unit p { - font-size: 18px; - font-weight: 200; - line-height: 27px; -} -.pull-right { - float: right; -} -.pull-left { - float: left; -} -.hide { - display: none; -} -.show { - display: block; -} -.invisible { - visibility: hidden; -} diff --git a/docs/css/bootstrap.min.css b/docs/css/bootstrap.min.css deleted file mode 100644 index d522124..0000000 --- a/docs/css/bootstrap.min.css +++ /dev/null @@ -1,611 +0,0 @@ -article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block;} -audio,canvas,video{display:inline-block;*display:inline;*zoom:1;} -audio:not([controls]){display:none;} -html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;} -a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;} -a:hover,a:active{outline:0;} -sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;} -sup{top:-0.5em;} -sub{bottom:-0.25em;} -img{max-width:100%;height:auto;border:0;-ms-interpolation-mode:bicubic;} -button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;} -button,input{*overflow:visible;line-height:normal;} -button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;} -button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;} -input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;} -input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;} -textarea{overflow:auto;vertical-align:top;} -body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;color:#333333;background-color:#ffffff;} -a{color:#0088cc;text-decoration:none;} -a:hover{color:#005580;text-decoration:underline;} -.row{margin-left:-20px;*zoom:1;}.row:before,.row:after{display:table;content:"";} -.row:after{clear:both;} -[class*="span"]{float:left;margin-left:20px;} -.span1{width:60px;} -.span2{width:140px;} -.span3{width:220px;} -.span4{width:300px;} -.span5{width:380px;} -.span6{width:460px;} -.span7{width:540px;} -.span8{width:620px;} -.span9{width:700px;} -.span10{width:780px;} -.span11{width:860px;} -.span12,.container{width:940px;} -.offset1{margin-left:100px;} -.offset2{margin-left:180px;} -.offset3{margin-left:260px;} -.offset4{margin-left:340px;} -.offset5{margin-left:420px;} -.offset6{margin-left:500px;} -.offset7{margin-left:580px;} -.offset8{margin-left:660px;} -.offset9{margin-left:740px;} -.offset10{margin-left:820px;} -.offset11{margin-left:900px;} -.row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";} -.row-fluid:after{clear:both;} -.row-fluid>[class*="span"]{float:left;margin-left:2.127659574%;} -.row-fluid>[class*="span"]:first-child{margin-left:0;} -.row-fluid .span1{width:6.382978723%;} -.row-fluid .span2{width:14.89361702%;} -.row-fluid .span3{width:23.404255317%;} -.row-fluid .span4{width:31.914893614%;} -.row-fluid .span5{width:40.425531911%;} -.row-fluid .span6{width:48.93617020799999%;} -.row-fluid .span7{width:57.446808505%;} -.row-fluid .span8{width:65.95744680199999%;} -.row-fluid .span9{width:74.468085099%;} -.row-fluid .span10{width:82.97872339599999%;} -.row-fluid .span11{width:91.489361693%;} -.row-fluid .span12{width:99.99999998999999%;} -.container{width:940px;margin-left:auto;margin-right:auto;*zoom:1;}.container:before,.container:after{display:table;content:"";} -.container:after{clear:both;} -.container-fluid{padding-left:20px;padding-right:20px;*zoom:1;}.container-fluid:before,.container-fluid:after{display:table;content:"";} -.container-fluid:after{clear:both;} -p{margin:0 0 9px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;}p small{font-size:11px;color:#999999;} -.lead{margin-bottom:18px;font-size:20px;font-weight:200;line-height:27px;} -h1,h2,h3,h4,h5,h6{margin:0;font-weight:bold;color:#333333;text-rendering:optimizelegibility;}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;color:#999999;} -h1{font-size:30px;line-height:36px;}h1 small{font-size:18px;} -h2{font-size:24px;line-height:36px;}h2 small{font-size:18px;} -h3{line-height:27px;font-size:18px;}h3 small{font-size:14px;} -h4,h5,h6{line-height:18px;} -h4{font-size:14px;}h4 small{font-size:12px;} -h5{font-size:12px;} -h6{font-size:11px;color:#999999;text-transform:uppercase;} -.page-header{padding-bottom:17px;margin:18px 0;border-bottom:1px solid #eeeeee;} -.page-header h1{line-height:1;} -ul,ol{padding:0;margin:0 0 9px 25px;} -ul ul,ul ol,ol ol,ol ul{margin-bottom:0;} -ul{list-style:disc;} -ol{list-style:decimal;} -li{line-height:18px;} -ul.unstyled{margin-left:0;list-style:none;} -dl{margin-bottom:18px;} -dt,dd{line-height:18px;} -dt{font-weight:bold;} -dd{margin-left:9px;} -hr{margin:18px 0;border:0;border-top:1px solid #e5e5e5;border-bottom:1px solid #ffffff;} -strong{font-weight:bold;} -em{font-style:italic;} -.muted{color:#999999;} -abbr{font-size:90%;text-transform:uppercase;border-bottom:1px dotted #ddd;cursor:help;} -blockquote{padding:0 0 0 15px;margin:0 0 18px;border-left:5px solid #eeeeee;}blockquote p{margin-bottom:0;font-size:16px;font-weight:300;line-height:22.5px;} -blockquote small{display:block;line-height:18px;color:#999999;}blockquote small:before{content:'\2014 \00A0';} -blockquote.pull-right{float:right;padding-left:0;padding-right:15px;border-left:0;border-right:5px solid #eeeeee;}blockquote.pull-right p,blockquote.pull-right small{text-align:right;} -q:before,q:after,blockquote:before,blockquote:after{content:"";} -address{display:block;margin-bottom:18px;line-height:18px;font-style:normal;} -small{font-size:100%;} -cite{font-style:normal;} -code,pre{padding:0 3px 2px;font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;color:#333333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} -code{padding:3px 4px;color:#d14;background-color:#f7f7f9;border:1px solid #e1e1e8;} -pre{display:block;padding:8.5px;margin:0 0 9px;font-size:12px;line-height:18px;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;white-space:pre;white-space:pre-wrap;word-break:break-all;}pre.prettyprint{margin-bottom:18px;} -pre code{padding:0;background-color:transparent;} -form{margin:0 0 18px;} -fieldset{padding:0;margin:0;border:0;} -legend{display:block;width:100%;padding:0;margin-bottom:27px;font-size:19.5px;line-height:36px;color:#333333;border:0;border-bottom:1px solid #eee;} -label,input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:18px;} -label{display:block;margin-bottom:5px;color:#333333;} -input,textarea,select,.uneditable-input{display:inline-block;width:210px;height:18px;padding:4px;margin-bottom:9px;font-size:13px;line-height:18px;color:#555555;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} -.uneditable-textarea{width:auto;height:auto;} -label input,label textarea,label select{display:block;} -input[type="image"],input[type="checkbox"],input[type="radio"]{width:auto;height:auto;padding:0;margin:3px 0;*margin-top:0;line-height:normal;border:0;cursor:pointer;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;} -input[type="file"]{padding:initial;line-height:initial;border:initial;background-color:#ffffff;background-color:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} -input[type="button"],input[type="reset"],input[type="submit"]{width:auto;height:auto;} -select,input[type="file"]{height:28px;*margin-top:4px;line-height:28px;} -select{width:220px;background-color:#ffffff;} -select[multiple],select[size]{height:auto;} -input[type="image"]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} -textarea{height:auto;} -input[type="hidden"]{display:none;} -.radio,.checkbox{padding-left:18px;} -.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-18px;} -.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px;} -.radio.inline,.checkbox.inline{display:inline-block;margin-bottom:0;vertical-align:middle;} -.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px;} -.controls>.radio.inline:first-child,.controls>.checkbox.inline:first-child{padding-top:0;} -input,textarea{-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s;} -input:focus,textarea:focus{border-color:rgba(82, 168, 236, 0.8);-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);outline:0;outline:thin dotted \9;} -input[type="file"]:focus,input[type="checkbox"]:focus,select:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;} -.input-mini{width:60px;} -.input-small{width:90px;} -.input-medium{width:150px;} -.input-large{width:210px;} -.input-xlarge{width:270px;} -.input-xxlarge{width:530px;} -input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{float:none;margin-left:0;} -input.span1,textarea.span1,.uneditable-input.span1{width:50px;} -input.span2,textarea.span2,.uneditable-input.span2{width:130px;} -input.span3,textarea.span3,.uneditable-input.span3{width:210px;} -input.span4,textarea.span4,.uneditable-input.span4{width:290px;} -input.span5,textarea.span5,.uneditable-input.span5{width:370px;} -input.span6,textarea.span6,.uneditable-input.span6{width:450px;} -input.span7,textarea.span7,.uneditable-input.span7{width:530px;} -input.span8,textarea.span8,.uneditable-input.span8{width:610px;} -input.span9,textarea.span9,.uneditable-input.span9{width:690px;} -input.span10,textarea.span10,.uneditable-input.span10{width:770px;} -input.span11,textarea.span11,.uneditable-input.span11{width:850px;} -input.span12,textarea.span12,.uneditable-input.span12{width:930px;} -input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{background-color:#f5f5f5;border-color:#ddd;cursor:not-allowed;} -.control-group.warning>label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853;} -.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853;border-color:#c09853;}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:0 0 6px #dbc59e;-moz-box-shadow:0 0 6px #dbc59e;box-shadow:0 0 6px #dbc59e;} -.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853;} -.control-group.error>label,.control-group.error .help-block,.control-group.error .help-inline{color:#b94a48;} -.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b94a48;border-color:#b94a48;}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#953b39;-webkit-box-shadow:0 0 6px #d59392;-moz-box-shadow:0 0 6px #d59392;box-shadow:0 0 6px #d59392;} -.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b94a48;background-color:#f2dede;border-color:#b94a48;} -.control-group.success>label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847;} -.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847;border-color:#468847;}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:0 0 6px #7aba7b;-moz-box-shadow:0 0 6px #7aba7b;box-shadow:0 0 6px #7aba7b;} -.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847;} -input:focus:required:invalid,textarea:focus:required:invalid,select:focus:required:invalid{color:#b94a48;border-color:#ee5f5b;}input:focus:required:invalid:focus,textarea:focus:required:invalid:focus,select:focus:required:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7;} -.form-actions{padding:17px 20px 18px;margin-top:18px;margin-bottom:18px;background-color:#f5f5f5;border-top:1px solid #ddd;} -.uneditable-input{display:block;background-color:#ffffff;border-color:#eee;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);cursor:not-allowed;} -:-moz-placeholder{color:#999999;} -::-webkit-input-placeholder{color:#999999;} -.help-block{margin-top:5px;margin-bottom:0;color:#999999;} -.help-inline{display:inline-block;*display:inline;*zoom:1;margin-bottom:9px;vertical-align:middle;padding-left:5px;} -.input-prepend,.input-append{margin-bottom:5px;*zoom:1;}.input-prepend:before,.input-append:before,.input-prepend:after,.input-append:after{display:table;content:"";} -.input-prepend:after,.input-append:after{clear:both;} -.input-prepend input,.input-append input,.input-prepend .uneditable-input,.input-append .uneditable-input{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}.input-prepend input:focus,.input-append input:focus,.input-prepend .uneditable-input:focus,.input-append .uneditable-input:focus{position:relative;z-index:2;} -.input-prepend .uneditable-input,.input-append .uneditable-input{border-left-color:#ccc;} -.input-prepend .add-on,.input-append .add-on{float:left;display:block;width:auto;min-width:16px;height:18px;margin-right:-1px;padding:4px 5px;font-weight:normal;line-height:18px;color:#999999;text-align:center;text-shadow:0 1px 0 #ffffff;background-color:#f5f5f5;border:1px solid #ccc;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;} -.input-prepend .active,.input-append .active{background-color:#a9dba9;border-color:#46a546;} -.input-prepend .add-on{*margin-top:1px;} -.input-append input,.input-append .uneditable-input{float:left;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;} -.input-append .uneditable-input{border-right-color:#ccc;} -.input-append .add-on{margin-right:0;margin-left:-1px;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;} -.input-append input:first-child{*margin-left:-160px;}.input-append input:first-child+.add-on{*margin-left:-21px;} -.search-query{padding-left:14px;padding-right:14px;margin-bottom:0;-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px;} -.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input{display:inline-block;margin-bottom:0;} -.form-search label,.form-inline label,.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{display:inline-block;} -.form-search .input-append .add-on,.form-inline .input-prepend .add-on,.form-search .input-append .add-on,.form-inline .input-prepend .add-on{vertical-align:middle;} -.control-group{margin-bottom:9px;} -.form-horizontal legend+.control-group{margin-top:18px;-webkit-margin-top-collapse:separate;} -.form-horizontal .control-group{margin-bottom:18px;*zoom:1;}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;content:"";} -.form-horizontal .control-group:after{clear:both;} -.form-horizontal .control-group>label{float:left;width:140px;padding-top:5px;text-align:right;} -.form-horizontal .controls{margin-left:160px;} -.form-horizontal .form-actions{padding-left:160px;} -table{max-width:100%;border-collapse:collapse;border-spacing:0;} -.table{width:100%;margin-bottom:18px;}.table th,.table td{padding:8px;line-height:18px;text-align:left;border-top:1px solid #ddd;} -.table th{font-weight:bold;vertical-align:bottom;} -.table td{vertical-align:top;} -.table thead:first-child tr th,.table thead:first-child tr td{border-top:0;} -.table tbody+tbody{border-top:2px solid #ddd;} -.table-condensed th,.table-condensed td{padding:4px 5px;} -.table-bordered{border:1px solid #ddd;border-collapse:separate;*border-collapse:collapsed;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}.table-bordered th+th,.table-bordered td+td,.table-bordered th+td,.table-bordered td+th{border-left:1px solid #ddd;} -.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0;} -.table-bordered thead:first-child tr:first-child th:first-child,.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-radius:4px 0 0 0;-moz-border-radius:4px 0 0 0;border-radius:4px 0 0 0;} -.table-bordered thead:first-child tr:first-child th:last-child,.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-radius:0 4px 0 0;-moz-border-radius:0 4px 0 0;border-radius:0 4px 0 0;} -.table-bordered thead:last-child tr:last-child th:first-child,.table-bordered tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 4px;} -.table-bordered thead:last-child tr:last-child th:last-child,.table-bordered tbody:last-child tr:last-child td:last-child{-webkit-border-radius:0 0 4px 0;-moz-border-radius:0 0 4px 0;border-radius:0 0 4px 0;} -.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:#f9f9f9;} -table .span1{float:none;width:44px;margin-left:0;} -table .span2{float:none;width:124px;margin-left:0;} -table .span3{float:none;width:204px;margin-left:0;} -table .span4{float:none;width:284px;margin-left:0;} -table .span5{float:none;width:364px;margin-left:0;} -table .span6{float:none;width:444px;margin-left:0;} -table .span7{float:none;width:524px;margin-left:0;} -table .span8{float:none;width:604px;margin-left:0;} -table .span9{float:none;width:684px;margin-left:0;} -table .span10{float:none;width:764px;margin-left:0;} -table .span11{float:none;width:844px;margin-left:0;} -table .span12{float:none;width:924px;margin-left:0;} -[class^="icon-"]{display:inline-block;width:14px;height:14px;vertical-align:text-top;background-image:url(../img/glyphicons-halflings.png);background-position:14px 14px;background-repeat:no-repeat;*margin-right:.3em;}[class^="icon-"]:last-child{*margin-left:0;} -.icon-white{background-image:url(../img/glyphicons-halflings-white.png);} -.icon-glass{background-position:0 0;} -.icon-music{background-position:-24px 0;} -.icon-search{background-position:-48px 0;} -.icon-envelope{background-position:-72px 0;} -.icon-heart{background-position:-96px 0;} -.icon-star{background-position:-120px 0;} -.icon-star-empty{background-position:-144px 0;} -.icon-user{background-position:-168px 0;} -.icon-film{background-position:-192px 0;} -.icon-th-large{background-position:-216px 0;} -.icon-th{background-position:-240px 0;} -.icon-th-list{background-position:-264px 0;} -.icon-ok{background-position:-288px 0;} -.icon-remove{background-position:-312px 0;} -.icon-zoom-in{background-position:-336px 0;} -.icon-zoom-out{background-position:-360px 0;} -.icon-off{background-position:-384px 0;} -.icon-signal{background-position:-408px 0;} -.icon-cog{background-position:-432px 0;} -.icon-trash{background-position:-456px 0;} -.icon-home{background-position:0 -24px;} -.icon-file{background-position:-24px -24px;} -.icon-time{background-position:-48px -24px;} -.icon-road{background-position:-72px -24px;} -.icon-download-alt{background-position:-96px -24px;} -.icon-download{background-position:-120px -24px;} -.icon-upload{background-position:-144px -24px;} -.icon-inbox{background-position:-168px -24px;} -.icon-play-circle{background-position:-192px -24px;} -.icon-repeat{background-position:-216px -24px;} -.icon-refresh{background-position:-240px -24px;} -.icon-list-alt{background-position:-264px -24px;} -.icon-lock{background-position:-287px -24px;} -.icon-flag{background-position:-312px -24px;} -.icon-headphones{background-position:-336px -24px;} -.icon-volume-off{background-position:-360px -24px;} -.icon-volume-down{background-position:-384px -24px;} -.icon-volume-up{background-position:-408px -24px;} -.icon-qrcode{background-position:-432px -24px;} -.icon-barcode{background-position:-456px -24px;} -.icon-tag{background-position:0 -48px;} -.icon-tags{background-position:-25px -48px;} -.icon-book{background-position:-48px -48px;} -.icon-bookmark{background-position:-72px -48px;} -.icon-print{background-position:-96px -48px;} -.icon-camera{background-position:-120px -48px;} -.icon-font{background-position:-144px -48px;} -.icon-bold{background-position:-167px -48px;} -.icon-italic{background-position:-192px -48px;} -.icon-text-height{background-position:-216px -48px;} -.icon-text-width{background-position:-240px -48px;} -.icon-align-left{background-position:-264px -48px;} -.icon-align-center{background-position:-288px -48px;} -.icon-align-right{background-position:-312px -48px;} -.icon-align-justify{background-position:-336px -48px;} -.icon-list{background-position:-360px -48px;} -.icon-indent-left{background-position:-384px -48px;} -.icon-indent-right{background-position:-408px -48px;} -.icon-facetime-video{background-position:-432px -48px;} -.icon-picture{background-position:-456px -48px;} -.icon-pencil{background-position:0 -72px;} -.icon-map-marker{background-position:-24px -72px;} -.icon-adjust{background-position:-48px -72px;} -.icon-tint{background-position:-72px -72px;} -.icon-edit{background-position:-96px -72px;} -.icon-share{background-position:-120px -72px;} -.icon-check{background-position:-144px -72px;} -.icon-move{background-position:-168px -72px;} -.icon-step-backward{background-position:-192px -72px;} -.icon-fast-backward{background-position:-216px -72px;} -.icon-backward{background-position:-240px -72px;} -.icon-play{background-position:-264px -72px;} -.icon-pause{background-position:-288px -72px;} -.icon-stop{background-position:-312px -72px;} -.icon-forward{background-position:-336px -72px;} -.icon-fast-forward{background-position:-360px -72px;} -.icon-step-forward{background-position:-384px -72px;} -.icon-eject{background-position:-408px -72px;} -.icon-chevron-left{background-position:-432px -72px;} -.icon-chevron-right{background-position:-456px -72px;} -.icon-plus-sign{background-position:0 -96px;} -.icon-minus-sign{background-position:-24px -96px;} -.icon-remove-sign{background-position:-48px -96px;} -.icon-ok-sign{background-position:-72px -96px;} -.icon-question-sign{background-position:-96px -96px;} -.icon-info-sign{background-position:-120px -96px;} -.icon-screenshot{background-position:-144px -96px;} -.icon-remove-circle{background-position:-168px -96px;} -.icon-ok-circle{background-position:-192px -96px;} -.icon-ban-circle{background-position:-216px -96px;} -.icon-arrow-left{background-position:-240px -96px;} -.icon-arrow-right{background-position:-264px -96px;} -.icon-arrow-up{background-position:-289px -96px;} -.icon-arrow-down{background-position:-312px -96px;} -.icon-share-alt{background-position:-336px -96px;} -.icon-resize-full{background-position:-360px -96px;} -.icon-resize-small{background-position:-384px -96px;} -.icon-plus{background-position:-408px -96px;} -.icon-minus{background-position:-433px -96px;} -.icon-asterisk{background-position:-456px -96px;} -.icon-exclamation-sign{background-position:0 -120px;} -.icon-gift{background-position:-24px -120px;} -.icon-leaf{background-position:-48px -120px;} -.icon-fire{background-position:-72px -120px;} -.icon-eye-open{background-position:-96px -120px;} -.icon-eye-close{background-position:-120px -120px;} -.icon-warning-sign{background-position:-144px -120px;} -.icon-plane{background-position:-168px -120px;} -.icon-calendar{background-position:-192px -120px;} -.icon-random{background-position:-216px -120px;} -.icon-comment{background-position:-240px -120px;} -.icon-magnet{background-position:-264px -120px;} -.icon-chevron-up{background-position:-288px -120px;} -.icon-chevron-down{background-position:-313px -119px;} -.icon-retweet{background-position:-336px -120px;} -.icon-shopping-cart{background-position:-360px -120px;} -.icon-folder-close{background-position:-384px -120px;} -.icon-folder-open{background-position:-408px -120px;} -.icon-resize-vertical{background-position:-432px -119px;} -.icon-resize-horizontal{background-position:-456px -118px;} -.dropdown{position:relative;} -.dropdown-toggle{*margin-bottom:-3px;} -.dropdown-toggle:active,.open .dropdown-toggle{outline:0;} -.caret{display:inline-block;width:0;height:0;text-indent:-99999px;*text-indent:0;vertical-align:top;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #000000;opacity:0.3;filter:alpha(opacity=30);content:"\2193";} -.dropdown .caret{margin-top:8px;margin-left:2px;} -.dropdown:hover .caret,.open.dropdown .caret{opacity:1;filter:alpha(opacity=100);} -.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;float:left;display:none;min-width:160px;max-width:220px;_width:160px;padding:4px 0;margin:0;list-style:none;background-color:#ffffff;border-color:#ccc;border-color:rgba(0, 0, 0, 0.2);border-style:solid;border-width:1px;-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px;-webkit-box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);-moz-box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;*border-right-width:2px;*border-bottom-width:2px;}.dropdown-menu.bottom-up{top:auto;bottom:100%;margin-bottom:2px;} -.dropdown-menu .divider{height:1px;margin:5px 1px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff;*width:100%;*margin:-5px 0 5px;} -.dropdown-menu a{display:block;padding:3px 15px;clear:both;font-weight:normal;line-height:18px;color:#555555;white-space:nowrap;} -.dropdown-menu li>a:hover,.dropdown-menu .active>a,.dropdown-menu .active>a:hover{color:#ffffff;text-decoration:none;background-color:#0088cc;} -.dropdown.open{*z-index:1000;}.dropdown.open .dropdown-toggle{color:#ffffff;background:#ccc;background:rgba(0, 0, 0, 0.3);} -.dropdown.open .dropdown-menu{display:block;} -.typeahead{margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} -.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #eee;border:1px solid rgba(0, 0, 0, 0.05);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);}.well blockquote{border-color:#ddd;border-color:rgba(0, 0, 0, 0.15);} -.fade{-webkit-transition:opacity 0.15s linear;-moz-transition:opacity 0.15s linear;-ms-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear;opacity:0;}.fade.in{opacity:1;} -.collapse{-webkit-transition:height 0.35s ease;-moz-transition:height 0.35s ease;-ms-transition:height 0.35s ease;-o-transition:height 0.35s ease;transition:height 0.35s ease;position:relative;overflow:hidden;height:0;}.collapse.in{height:auto;} -.close{float:right;font-size:20px;font-weight:bold;line-height:18px;color:#000000;text-shadow:0 1px 0 #ffffff;opacity:0.2;filter:alpha(opacity=20);}.close:hover{color:#000000;text-decoration:none;opacity:0.4;filter:alpha(opacity=40);cursor:pointer;} -.btn{display:inline-block;padding:4px 10px 4px;font-size:13px;line-height:18px;color:#333333;text-align:center;text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);background-color:#fafafa;background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));background-image:-webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);background-image:-moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);background-image:-ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);background-image:-o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);background-image:linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);border:1px solid #ccc;border-bottom-color:#bbb;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);cursor:pointer;*margin-left:.3em;}.btn:first-child{*margin-left:0;} -.btn:hover{color:#333333;text-decoration:none;background-color:#e6e6e6;background-position:0 -15px;-webkit-transition:background-position 0.1s linear;-moz-transition:background-position 0.1s linear;-ms-transition:background-position 0.1s linear;-o-transition:background-position 0.1s linear;transition:background-position 0.1s linear;} -.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;} -.btn.active,.btn:active{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);background-color:#e6e6e6;background-color:#d9d9d9 \9;color:rgba(0, 0, 0, 0.5);outline:0;} -.btn.disabled,.btn[disabled]{cursor:default;background-image:none;background-color:#e6e6e6;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} -.btn-large{padding:9px 14px;font-size:15px;line-height:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;} -.btn-large .icon{margin-top:1px;} -.btn-small{padding:5px 9px;font-size:11px;line-height:16px;} -.btn-small .icon{margin-top:-1px;} -.btn-primary,.btn-primary:hover,.btn-warning,.btn-warning:hover,.btn-danger,.btn-danger:hover,.btn-success,.btn-success:hover,.btn-info,.btn-info:hover{text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);color:#ffffff;} -.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active{color:rgba(255, 255, 255, 0.75);} -.btn-primary{background-color:#006dcc;background-image:-moz-linear-gradient(top, #0088cc, #0044cc);background-image:-ms-linear-gradient(top, #0088cc, #0044cc);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));background-image:-webkit-linear-gradient(top, #0088cc, #0044cc);background-image:-o-linear-gradient(top, #0088cc, #0044cc);background-image:linear-gradient(top, #0088cc, #0044cc);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);border-color:#0044cc #0044cc #002a80;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{background-color:#0044cc;} -.btn-primary:active,.btn-primary.active{background-color:#003399 \9;} -.btn-warning{background-color:#faa732;background-image:-moz-linear-gradient(top, #fbb450, #f89406);background-image:-ms-linear-gradient(top, #fbb450, #f89406);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));background-image:-webkit-linear-gradient(top, #fbb450, #f89406);background-image:-o-linear-gradient(top, #fbb450, #f89406);background-image:linear-gradient(top, #fbb450, #f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-warning:hover,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{background-color:#f89406;} -.btn-warning:active,.btn-warning.active{background-color:#c67605 \9;} -.btn-danger{background-color:#da4f49;background-image:-moz-linear-gradient(top, #ee5f5b, #bd362f);background-image:-ms-linear-gradient(top, #ee5f5b, #bd362f);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));background-image:-webkit-linear-gradient(top, #ee5f5b, #bd362f);background-image:-o-linear-gradient(top, #ee5f5b, #bd362f);background-image:linear-gradient(top, #ee5f5b, #bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-danger:hover,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{background-color:#bd362f;} -.btn-danger:active,.btn-danger.active{background-color:#942a25 \9;} -.btn-success{background-color:#5bb75b;background-image:-moz-linear-gradient(top, #62c462, #51a351);background-image:-ms-linear-gradient(top, #62c462, #51a351);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));background-image:-webkit-linear-gradient(top, #62c462, #51a351);background-image:-o-linear-gradient(top, #62c462, #51a351);background-image:linear-gradient(top, #62c462, #51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-success:hover,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{background-color:#51a351;} -.btn-success:active,.btn-success.active{background-color:#408140 \9;} -.btn-info{background-color:#49afcd;background-image:-moz-linear-gradient(top, #5bc0de, #2f96b4);background-image:-ms-linear-gradient(top, #5bc0de, #2f96b4);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));background-image:-webkit-linear-gradient(top, #5bc0de, #2f96b4);background-image:-o-linear-gradient(top, #5bc0de, #2f96b4);background-image:linear-gradient(top, #5bc0de, #2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-info:hover,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{background-color:#2f96b4;} -.btn-info:active,.btn-info.active{background-color:#24748c \9;} -button.btn,input[type="submit"].btn{*padding-top:2px;*padding-bottom:2px;}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0;} -button.btn.large,input[type="submit"].btn.large{*padding-top:7px;*padding-bottom:7px;} -button.btn.small,input[type="submit"].btn.small{*padding-top:3px;*padding-bottom:3px;} -.btn-group{position:relative;*zoom:1;*margin-left:.3em;}.btn-group:before,.btn-group:after{display:table;content:"";} -.btn-group:after{clear:both;} -.btn-group:first-child{*margin-left:0;} -.btn-group+.btn-group{margin-left:5px;} -.btn-toolbar{margin-top:9px;margin-bottom:9px;}.btn-toolbar .btn-group{display:inline-block;*display:inline;*zoom:1;} -.btn-group .btn{position:relative;float:left;margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;} -.btn-group .btn:first-child{margin-left:0;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;} -.btn-group .btn:last-child,.btn-group .dropdown-toggle{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;} -.btn-group .btn.large:first-child{margin-left:0;-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;} -.btn-group .btn.large:last-child,.btn-group .large.dropdown-toggle{-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px;} -.btn-group .btn:hover,.btn-group .btn:focus,.btn-group .btn:active,.btn-group .btn.active{z-index:2;} -.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0;} -.btn-group .dropdown-toggle{padding-left:8px;padding-right:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255, 255, 255, 0.125),inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 1px 0 0 rgba(255, 255, 255, 0.125),inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 1px 0 0 rgba(255, 255, 255, 0.125),inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);*padding-top:5px;*padding-bottom:5px;} -.btn-group.open{*z-index:1000;}.btn-group.open .dropdown-menu{display:block;margin-top:1px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;} -.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 1px 6px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 6px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 6px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);} -.btn .caret{margin-top:7px;margin-left:0;} -.btn:hover .caret,.open.btn-group .caret{opacity:1;filter:alpha(opacity=100);} -.btn-primary .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret{border-top-color:#ffffff;opacity:0.75;filter:alpha(opacity=75);} -.btn-small .caret{margin-top:4px;} -.alert{padding:8px 35px 8px 14px;margin-bottom:18px;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} -.alert,.alert-heading{color:#c09853;} -.alert .close{position:relative;top:-2px;right:-21px;line-height:18px;} -.alert-success{background-color:#dff0d8;border-color:#d6e9c6;} -.alert-success,.alert-success .alert-heading{color:#468847;} -.alert-danger,.alert-error{background-color:#f2dede;border-color:#eed3d7;} -.alert-danger,.alert-error,.alert-danger .alert-heading,.alert-error .alert-heading{color:#b94a48;} -.alert-info{background-color:#d9edf7;border-color:#bce8f1;} -.alert-info,.alert-info .alert-heading{color:#3a87ad;} -.alert-block{padding-top:14px;padding-bottom:14px;} -.alert-block>p,.alert-block>ul{margin-bottom:0;} -.alert-block p+p{margin-top:5px;} -.nav{margin-left:0;margin-bottom:18px;list-style:none;} -.nav>li>a{display:block;} -.nav>li>a:hover{text-decoration:none;background-color:#eeeeee;} -.nav-list{padding-left:14px;padding-right:14px;margin-bottom:0;} -.nav-list>li>a,.nav-list .nav-header{display:block;padding:3px 15px;margin-left:-15px;margin-right:-15px;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);} -.nav-list .nav-header{font-size:11px;font-weight:bold;line-height:18px;color:#999999;text-transform:uppercase;} -.nav-list .nav-header *{text-transform:none;} -.nav-list>li+.nav-header{margin-top:9px;} -.nav-list .active>a,.nav-list .active>a:hover{color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.2);background-color:#0088cc;} -.nav-list [class^="icon-"]{margin-right:2px;} -.nav-tabs,.nav-pills{*zoom:1;}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;content:"";} -.nav-tabs:after,.nav-pills:after{clear:both;} -.nav-tabs>li,.nav-pills>li{float:left;} -.nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px;} -.nav-tabs{border-bottom:1px solid #ddd;} -.nav-tabs>li{margin-bottom:-1px;} -.nav-tabs>li>a{padding-top:9px;padding-bottom:9px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;}.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #dddddd;} -.nav-tabs>.active>a,.nav-tabs>.active>a:hover{color:#555555;background-color:#ffffff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default;} -.nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;} -.nav-pills .active>a,.nav-pills .active>a:hover{color:#ffffff;background-color:#0088cc;} -.nav-stacked>li{float:none;} -.nav-stacked>li>a{margin-right:0;} -.nav-tabs.nav-stacked{border-bottom:0;} -.nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;} -.nav-tabs.nav-stacked>li:first-child>a{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;} -.nav-tabs.nav-stacked>li:last-child>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;} -.nav-tabs.nav-stacked>li>a:hover{border-color:#ddd;z-index:2;} -.nav-pills.nav-stacked>li>a{margin-bottom:3px;} -.nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px;} -.nav-tabs .dropdown-menu,.nav-pills .dropdown-menu{margin-top:1px;border-width:1px;} -.nav-pills .dropdown-menu{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} -.nav-tabs .dropdown-toggle .caret,.nav-pills .dropdown-toggle .caret{border-top-color:#0088cc;margin-top:6px;} -.nav-tabs .dropdown-toggle:hover .caret,.nav-pills .dropdown-toggle:hover .caret{border-top-color:#005580;} -.nav-tabs .active .dropdown-toggle .caret,.nav-pills .active .dropdown-toggle .caret{border-top-color:#333333;} -.nav>.dropdown.active>a:hover{color:#000000;cursor:pointer;} -.nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>.open.active>a:hover{color:#ffffff;background-color:#999999;border-color:#999999;} -.nav .open .caret,.nav .open.active .caret,.nav .open a:hover .caret{border-top-color:#ffffff;opacity:1;filter:alpha(opacity=100);} -.tabs-stacked .open>a:hover{border-color:#999999;} -.tabbable{*zoom:1;}.tabbable:before,.tabbable:after{display:table;content:"";} -.tabbable:after{clear:both;} -.tabs-below .nav-tabs,.tabs-right .nav-tabs,.tabs-left .nav-tabs{border-bottom:0;} -.tab-content>.tab-pane,.pill-content>.pill-pane{display:none;} -.tab-content>.active,.pill-content>.active{display:block;} -.tabs-below .nav-tabs{border-top:1px solid #ddd;} -.tabs-below .nav-tabs>li{margin-top:-1px;margin-bottom:0;} -.tabs-below .nav-tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;}.tabs-below .nav-tabs>li>a:hover{border-bottom-color:transparent;border-top-color:#ddd;} -.tabs-below .nav-tabs .active>a,.tabs-below .nav-tabs .active>a:hover{border-color:transparent #ddd #ddd #ddd;} -.tabs-left .nav-tabs>li,.tabs-right .nav-tabs>li{float:none;} -.tabs-left .nav-tabs>li>a,.tabs-right .nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px;} -.tabs-left .nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd;} -.tabs-left .nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px;} -.tabs-left .nav-tabs>li>a:hover{border-color:#eeeeee #dddddd #eeeeee #eeeeee;} -.tabs-left .nav-tabs .active>a,.tabs-left .nav-tabs .active>a:hover{border-color:#ddd transparent #ddd #ddd;*border-right-color:#ffffff;} -.tabs-right .nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd;} -.tabs-right .nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;} -.tabs-right .nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #eeeeee #dddddd;} -.tabs-right .nav-tabs .active>a,.tabs-right .nav-tabs .active>a:hover{border-color:#ddd #ddd #ddd transparent;*border-left-color:#ffffff;} -.navbar{overflow:visible;margin-bottom:18px;} -.navbar-inner{padding-left:20px;padding-right:20px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top, #333333, #222222);background-image:-ms-linear-gradient(top, #333333, #222222);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222));background-image:-webkit-linear-gradient(top, #333333, #222222);background-image:-o-linear-gradient(top, #333333, #222222);background-image:linear-gradient(top, #333333, #222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1);-moz-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1);box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1);} -.btn-navbar{display:none;float:right;padding:7px 10px;margin-left:5px;margin-right:5px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top, #333333, #222222);background-image:-ms-linear-gradient(top, #333333, #222222);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222));background-image:-webkit-linear-gradient(top, #333333, #222222);background-image:-o-linear-gradient(top, #333333, #222222);background-image:linear-gradient(top, #333333, #222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.075);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.075);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.075);}.btn-navbar:hover,.btn-navbar:active,.btn-navbar.active,.btn-navbar.disabled,.btn-navbar[disabled]{background-color:#222222;} -.btn-navbar:active,.btn-navbar.active{background-color:#080808 \9;} -.btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0, 0, 0, 0.25);-moz-box-shadow:0 1px 0 rgba(0, 0, 0, 0.25);box-shadow:0 1px 0 rgba(0, 0, 0, 0.25);} -.btn-navbar .icon-bar+.icon-bar{margin-top:3px;} -.nav-collapse.collapse{height:auto;} -.navbar .brand:hover{text-decoration:none;} -.navbar .brand{float:left;display:block;padding:8px 20px 12px;margin-left:-20px;font-size:20px;font-weight:200;line-height:1;color:#ffffff;} -.navbar .navbar-text{margin-bottom:0;line-height:40px;color:#999999;}.navbar .navbar-text a:hover{color:#ffffff;background-color:transparent;} -.navbar .btn,.navbar .btn-group{margin-top:5px;} -.navbar .btn-group .btn{margin-top:0;} -.navbar-form{margin-bottom:0;*zoom:1;}.navbar-form:before,.navbar-form:after{display:table;content:"";} -.navbar-form:after{clear:both;} -.navbar-form input,.navbar-form select{display:inline-block;margin-top:5px;margin-bottom:0;} -.navbar-form .radio,.navbar-form .checkbox{margin-top:5px;} -.navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px;} -.navbar-search{position:relative;float:left;margin-top:6px;margin-bottom:0;}.navbar-search .search-query{padding:4px 9px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;color:#ffffff;color:rgba(255, 255, 255, 0.75);background:#666;background:rgba(255, 255, 255, 0.3);border:1px solid #111;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.15);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.15);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.15);-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none;}.navbar-search .search-query :-moz-placeholder{color:#eeeeee;} -.navbar-search .search-query::-webkit-input-placeholder{color:#eeeeee;} -.navbar-search .search-query:hover{color:#ffffff;background-color:#999999;background-color:rgba(255, 255, 255, 0.5);} -.navbar-search .search-query:focus,.navbar-search .search-query.focused{padding:5px 10px;color:#333333;text-shadow:0 1px 0 #ffffff;background-color:#ffffff;border:0;-webkit-box-shadow:0 0 3px rgba(0, 0, 0, 0.15);-moz-box-shadow:0 0 3px rgba(0, 0, 0, 0.15);box-shadow:0 0 3px rgba(0, 0, 0, 0.15);outline:0;} -.navbar-fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030;} -.navbar-fixed-top .navbar-inner{padding-left:0;padding-right:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;} -.navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0;} -.navbar .nav.pull-right{float:right;} -.navbar .nav>li{display:block;float:left;} -.navbar .nav>li>a{float:none;padding:10px 10px 11px;line-height:19px;color:#999999;text-decoration:none;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);} -.navbar .nav>li>a:hover{background-color:transparent;color:#ffffff;text-decoration:none;} -.navbar .nav .active>a,.navbar .nav .active>a:hover{color:#ffffff;text-decoration:none;background-color:#222222;background-color:rgba(0, 0, 0, 0.5);} -.navbar .divider-vertical{height:40px;width:1px;margin:0 9px;overflow:hidden;background-color:#222222;border-right:1px solid #333333;} -.navbar .nav.pull-right{margin-left:10px;margin-right:0;} -.navbar .dropdown-menu{margin-top:1px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}.navbar .dropdown-menu:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0, 0, 0, 0.2);position:absolute;top:-7px;left:9px;} -.navbar .dropdown-menu:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #ffffff;position:absolute;top:-6px;left:10px;} -.navbar .nav .dropdown-toggle .caret,.navbar .nav .open.dropdown .caret{border-top-color:#ffffff;} -.navbar .nav .active .caret{opacity:1;filter:alpha(opacity=100);} -.navbar .nav .open>.dropdown-toggle,.navbar .nav .active>.dropdown-toggle,.navbar .nav .open.active>.dropdown-toggle{background-color:transparent;} -.navbar .nav .active>.dropdown-toggle:hover{color:#ffffff;} -.navbar .nav.pull-right .dropdown-menu{left:auto;right:0;}.navbar .nav.pull-right .dropdown-menu:before{left:auto;right:12px;} -.navbar .nav.pull-right .dropdown-menu:after{left:auto;right:13px;} -.breadcrumb{padding:7px 14px;margin:0 0 18px;background-color:#fbfbfb;background-image:-moz-linear-gradient(top, #ffffff, #f5f5f5);background-image:-ms-linear-gradient(top, #ffffff, #f5f5f5);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));background-image:-webkit-linear-gradient(top, #ffffff, #f5f5f5);background-image:-o-linear-gradient(top, #ffffff, #f5f5f5);background-image:linear-gradient(top, #ffffff, #f5f5f5);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);border:1px solid #ddd;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;}.breadcrumb li{display:inline;text-shadow:0 1px 0 #ffffff;} -.breadcrumb .divider{padding:0 5px;color:#999999;} -.breadcrumb .active a{color:#333333;} -.pagination{height:36px;margin:18px 0;} -.pagination ul{display:inline-block;*display:inline;*zoom:1;margin-left:0;margin-bottom:0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);} -.pagination li{display:inline;} -.pagination a{float:left;padding:0 14px;line-height:34px;text-decoration:none;border:1px solid #ddd;border-left-width:0;} -.pagination a:hover,.pagination .active a{background-color:#f5f5f5;} -.pagination .active a{color:#999999;cursor:default;} -.pagination .disabled a,.pagination .disabled a:hover{color:#999999;background-color:transparent;cursor:default;} -.pagination li:first-child a{border-left-width:1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;} -.pagination li:last-child a{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;} -.pagination-centered{text-align:center;} -.pagination-right{text-align:right;} -.pager{margin-left:0;margin-bottom:18px;list-style:none;text-align:center;*zoom:1;}.pager:before,.pager:after{display:table;content:"";} -.pager:after{clear:both;} -.pager li{display:inline;} -.pager a{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;} -.pager a:hover{text-decoration:none;background-color:#f5f5f5;} -.pager .next a{float:right;} -.pager .previous a{float:left;} -.modal-open .dropdown-menu{z-index:2050;} -.modal-open .dropdown.open{*z-index:2050;} -.modal-open .popover{z-index:2060;} -.modal-open .tooltip{z-index:2070;} -.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000000;}.modal-backdrop.fade{opacity:0;} -.modal-backdrop,.modal-backdrop.fade.in{opacity:0.8;filter:alpha(opacity=80);} -.modal{position:fixed;top:50%;left:50%;z-index:1050;max-height:500px;overflow:auto;width:560px;margin:-250px 0 0 -280px;background-color:#ffffff;border:1px solid #999;border:1px solid rgba(0, 0, 0, 0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-moz-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;}.modal.fade{-webkit-transition:opacity .3s linear, top .3s ease-out;-moz-transition:opacity .3s linear, top .3s ease-out;-ms-transition:opacity .3s linear, top .3s ease-out;-o-transition:opacity .3s linear, top .3s ease-out;transition:opacity .3s linear, top .3s ease-out;top:-25%;} -.modal.fade.in{top:50%;} -.modal-header{padding:9px 15px;border-bottom:1px solid #eee;}.modal-header .close{margin-top:2px;} -.modal-body{padding:15px;} -.modal-footer{padding:14px 15px 15px;margin-bottom:0;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;*zoom:1;}.modal-footer:before,.modal-footer:after{display:table;content:"";} -.modal-footer:after{clear:both;} -.modal-footer .btn{float:right;margin-left:5px;margin-bottom:0;} -.tooltip{position:absolute;z-index:1020;display:block;visibility:visible;padding:5px;font-size:11px;opacity:0;filter:alpha(opacity=0);}.tooltip.in{opacity:0.8;filter:alpha(opacity=80);} -.tooltip.top{margin-top:-2px;} -.tooltip.right{margin-left:2px;} -.tooltip.bottom{margin-top:2px;} -.tooltip.left{margin-left:-2px;} -.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000;} -.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000;} -.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000;} -.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000;} -.tooltip-inner{max-width:200px;padding:3px 8px;color:#ffffff;text-align:center;text-decoration:none;background-color:#000000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} -.tooltip-arrow{position:absolute;width:0;height:0;} -.popover{position:absolute;top:0;left:0;z-index:1010;display:none;padding:5px;}.popover.top{margin-top:-5px;} -.popover.right{margin-left:5px;} -.popover.bottom{margin-top:5px;} -.popover.left{margin-left:-5px;} -.popover.top .arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000;} -.popover.right .arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000;} -.popover.bottom .arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000;} -.popover.left .arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000;} -.popover .arrow{position:absolute;width:0;height:0;} -.popover-inner{padding:3px;width:280px;overflow:hidden;background:#000000;background:rgba(0, 0, 0, 0.8);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-moz-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);} -.popover-title{padding:9px 15px;line-height:1;background-color:#f5f5f5;border-bottom:1px solid #eee;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;} -.popover-content{padding:14px;background-color:#ffffff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;}.popover-content p,.popover-content ul,.popover-content ol{margin-bottom:0;} -.thumbnails{margin-left:-20px;list-style:none;*zoom:1;}.thumbnails:before,.thumbnails:after{display:table;content:"";} -.thumbnails:after{clear:both;} -.thumbnails>li{float:left;margin:0 0 18px 20px;} -.thumbnail{display:block;padding:4px;line-height:1;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:0 1px 1px rgba(0, 0, 0, 0.075);} -a.thumbnail:hover{border-color:#0088cc;-webkit-box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);-moz-box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);} -.thumbnail>img{display:block;max-width:100%;margin-left:auto;margin-right:auto;} -.thumbnail .caption{padding:9px;} -.label{padding:1px 3px 2px;font-size:9.75px;font-weight:bold;color:#ffffff;text-transform:uppercase;background-color:#999999;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} -.label-important{background-color:#b94a48;} -.label-warning{background-color:#f89406;} -.label-success{background-color:#468847;} -.label-info{background-color:#3a87ad;} -@-webkit-keyframes progress-bar-stripes{from{background-position:0 0;} to{background-position:40px 0;}}@-moz-keyframes progress-bar-stripes{from{background-position:0 0;} to{background-position:40px 0;}}@keyframes progress-bar-stripes{from{background-position:0 0;} to{background-position:40px 0;}}.progress{overflow:hidden;height:18px;margin-bottom:18px;background-color:#f7f7f7;background-image:-moz-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:-ms-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));background-image:-webkit-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:-o-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:linear-gradient(top, #f5f5f5, #f9f9f9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} -.progress .bar{width:0%;height:18px;color:#ffffff;font-size:12px;text-align:center;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top, #149bdf, #0480be);background-image:-ms-linear-gradient(top, #149bdf, #0480be);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));background-image:-webkit-linear-gradient(top, #149bdf, #0480be);background-image:-o-linear-gradient(top, #149bdf, #0480be);background-image:linear-gradient(top, #149bdf, #0480be);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width 0.6s ease;-moz-transition:width 0.6s ease;-ms-transition:width 0.6s ease;-o-transition:width 0.6s ease;transition:width 0.6s ease;} -.progress-striped .bar{background-color:#62c462;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px;} -.progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite;} -.progress-danger .bar{background-color:#dd514c;background-image:-moz-linear-gradient(top, #ee5f5b, #c43c35);background-image:-ms-linear-gradient(top, #ee5f5b, #c43c35);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));background-image:-webkit-linear-gradient(top, #ee5f5b, #c43c35);background-image:-o-linear-gradient(top, #ee5f5b, #c43c35);background-image:linear-gradient(top, #ee5f5b, #c43c35);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);} -.progress-danger.progress-striped .bar{background-color:#ee5f5b;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);} -.progress-success .bar{background-color:#5eb95e;background-image:-moz-linear-gradient(top, #62c462, #57a957);background-image:-ms-linear-gradient(top, #62c462, #57a957);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));background-image:-webkit-linear-gradient(top, #62c462, #57a957);background-image:-o-linear-gradient(top, #62c462, #57a957);background-image:linear-gradient(top, #62c462, #57a957);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);} -.progress-success.progress-striped .bar{background-color:#62c462;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);} -.progress-info .bar{background-color:#4bb1cf;background-image:-moz-linear-gradient(top, #5bc0de, #339bb9);background-image:-ms-linear-gradient(top, #5bc0de, #339bb9);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));background-image:-webkit-linear-gradient(top, #5bc0de, #339bb9);background-image:-o-linear-gradient(top, #5bc0de, #339bb9);background-image:linear-gradient(top, #5bc0de, #339bb9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);} -.progress-info.progress-striped .bar{background-color:#5bc0de;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);} -.accordion{margin-bottom:18px;} -.accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} -.accordion-heading{border-bottom:0;} -.accordion-heading .accordion-toggle{display:block;padding:8px 15px;} -.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5;} -.carousel{position:relative;margin-bottom:18px;line-height:1;} -.carousel-inner{overflow:hidden;width:100%;position:relative;} -.carousel .item{display:none;position:relative;-webkit-transition:0.6s ease-in-out left;-moz-transition:0.6s ease-in-out left;-ms-transition:0.6s ease-in-out left;-o-transition:0.6s ease-in-out left;transition:0.6s ease-in-out left;} -.carousel .item>img{display:block;line-height:1;} -.carousel .active,.carousel .next,.carousel .prev{display:block;} -.carousel .active{left:0;} -.carousel .next,.carousel .prev{position:absolute;top:0;width:100%;} -.carousel .next{left:100%;} -.carousel .prev{left:-100%;} -.carousel .next.left,.carousel .prev.right{left:0;} -.carousel .active.left{left:-100%;} -.carousel .active.right{left:100%;} -.carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#ffffff;text-align:center;background:#222222;border:3px solid #ffffff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:0.5;filter:alpha(opacity=50);}.carousel-control.right{left:auto;right:15px;} -.carousel-control:hover{color:#ffffff;text-decoration:none;opacity:0.9;filter:alpha(opacity=90);} -.carousel-caption{position:absolute;left:0;right:0;bottom:0;padding:10px 15px 5px;background:#333333;background:rgba(0, 0, 0, 0.75);} -.carousel-caption h4,.carousel-caption p{color:#ffffff;} -.hero-unit{padding:60px;margin-bottom:30px;background-color:#f5f5f5;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;letter-spacing:-1px;} -.hero-unit p{font-size:18px;font-weight:200;line-height:27px;} -.pull-right{float:right;} -.pull-left{float:left;} -.hide{display:none;} -.show{display:block;} -.invisible{visibility:hidden;} diff --git a/docs/css/jquery.iviewer.css b/docs/css/jquery.iviewer.css index d68c642..11f5f09 100644 --- a/docs/css/jquery.iviewer.css +++ b/docs/css/jquery.iviewer.css @@ -1,3 +1,7 @@ +.viewer { + -ms-touch-action: none; +} + .iviewer_common { position:absolute; bottom:10px; @@ -7,11 +11,11 @@ } .iviewer_cursor { - cursor: url(../img/iviewer/hand.cur) 6 8, pointer; + cursor: url(../images/iviewer/hand.cur) 6 8, pointer; } .iviewer_drag_cursor { - cursor: url(../img/iviewer/grab.cur) 6 8, pointer; + cursor: url(../images/iviewer/grab.cur) 6 8, pointer; } .iviewer_button { @@ -23,22 +27,22 @@ .iviewer_zoom_in { left: 20px; - background: url(../img/iviewer/iviewer.zoom_in.png); + background: url(../images/iviewer/iviewer.zoom_in.png); } .iviewer_zoom_out { left: 55px; - background: url(../img/iviewer/iviewer.zoom_out.png); + background: url(../images/iviewer/iviewer.zoom_out.png); } .iviewer_zoom_zero { left: 90px; - background: url(../img/iviewer/iviewer.zoom_zero.png); + background: url(../images/iviewer/iviewer.zoom_zero.png); } .iviewer_zoom_fit { left: 125px; - background: url(../img/iviewer/iviewer.zoom_fit.png); + background: url(../images/iviewer/iviewer.zoom_fit.png); } .iviewer_zoom_status { @@ -52,40 +56,10 @@ .iviewer_rotate_left { left: 227px; - background: #fff url(../img/iviewer/iviewer.rotate_left.png) center center no-repeat; + background: #fff url(../images/iviewer/iviewer.rotate_left.png) center center no-repeat; } .iviewer_rotate_right { left: 262px; - background: #fff url(../img/iviewer/iviewer.rotate_right.png) center center no-repeat; -} - -.viewer -{ - width: 100%; - height: 500px; - position: relative; - background: transparent url('../img/loader.gif') no-repeat center center; -} - -.viewer img -{ - max-width: none; -} - -.wrapper -{ - overflow: hidden; -} - -.iviewer_common -{ - border: 0; - bottom: auto; - top: 10px; -} - -.iviewer_zoom_status -{ - border: 1px solid black; + background: #fff url(../images/iviewer/iviewer.rotate_right.png) center center no-repeat; } diff --git a/docs/css/phpdocumentor-clean-icons/Read Me.txt b/docs/css/phpdocumentor-clean-icons/Read Me.txt new file mode 100644 index 0000000..9d2b9e5 --- /dev/null +++ b/docs/css/phpdocumentor-clean-icons/Read Me.txt @@ -0,0 +1,3 @@ +To modify your generated font, use the *dev.svg* file, located in the *fonts* folder in this package. You can import this dev.svg file to the IcoMoon app. All the tags (class names) and the Unicode points of your glyphs are saved in this file. + +See the documentation for more info on how to use this package: http://icomoon.io/#docs/font-face \ No newline at end of file diff --git a/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.dev.svg b/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.dev.svg new file mode 100644 index 0000000..8b543c1 --- /dev/null +++ b/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.dev.svg @@ -0,0 +1,17 @@ + + + + +This is a custom SVG font generated by IcoMoon. + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.eot b/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.eot new file mode 100644 index 0000000000000000000000000000000000000000..ef43f265ab2f344b7871c6d26a8722bae125b956 GIT binary patch literal 2324 zcmds3O>7%Q6#iy^oj7)E$FUn4$P!bB5}bP1`D;m0g&ens6e0)_5(i`)Cr%ar;5br2 z9CARMD%1m_w;nif;KTtT=!tTo5`s%_RLBQJ;1Vi9g@i=RH@n+3EeX(y6SJOu?|tvh zym>Qk=Q-X5SOGvlfouwN)n$lW6q1{p_hdwTN)0w8KbOC>eH*(&9W+p3UqT%vY@muV zYG_evB12@2a*;>|tCZ^G);T!wH=0F`XwqucwYFem3|WqOFi#vP;|ehb74wC{!r98p zi5VcE5gk08pDkb<24H?q*?R7UW6rTFH-fTM8{^x) zl%IR0cjgv?-no7q{_GR#;n7Z8foM|<_{Yxa`D=ID7?bup5|+EPx9Kio;zh`vlBptX zq}3^Q*#u|32ps`2CzdIn_USDQ;H|y6C5?B}iTwQX>=I73anoM|*Jf?*u0T3++lL;Z zoOB;<5)s)4-E}Y}DajQLa*Z-Y0=FYuP&Vv}AZXK4}7R)TE8*mWoa@#1qe{_EcT z*sJ^h@nM|7CVrQ@>1PY~Bq|iMjr2(P*qY7>n71(Qr5(R(rdnv3M-f8|>-P z_3rLSByl(r?FwmKfnYEkiX0Hj&Zm8`zKQ(dhe%Y#FqNZ*ZWu~n7W}o zu4<~Px{1%Id+?tBMG1bp<36t-h-IHwF@f)VUc-Pm10I{SELD&u5r4!i#q;J}$#-S#iEi{<9}YQ1LJW4u!TTaSOeW#u=wx0w|9=R_z% z6`Ih^joNA + + + +This is a custom SVG font generated by IcoMoon. + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.ttf b/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.ttf new file mode 100644 index 0000000000000000000000000000000000000000..1937c7a31fdb7659063738dfe0a1fcc8bf325636 GIT binary patch literal 2080 zcmds2O>7%Q6#iy^oj7*<7rUW`EHQN`!LD~5J84N#g&ens6e0)_5(i`)Cw3M8;5br2 z9CARMD#QW7tp^SqIB`G-dZL`Dgy7N}74iWQxRgpzAt4d-jlF5p(g2k>F{?N4eczjz z_ulO64g>%nwxMFFSX@3^eK9%@cr>!{(}jg1W?%s3_r%sS&mD7)UAi^_h!==g%JovK z8~x=f@t2fm*GrqNUXLrmyhgugedE=&t)22kKz*G4U#peU>L2qTAEi(F^HmaBp!WlP z5#mRx_0Dd`JjMBO;y}H0zJ;@3Y%xb{HA?kL-hSr`K(_$pT&ua+ z$$jwpD~x}E{w2uTDA(UBEWR{4e-mDX1n{;0vrlg8URQzW5_>Rk_veUiuZy%Kb|o!W z+TZj(W8!(ponml`=yRteWD{KVZRqfbMX^SF+SNBPjyL24o%^)c0(%Da(%Ql*PIYmE zS;-ujo3(u_gS`~-;b01Jtp9M6$ViFz^8gl!WZrS+n4$LURoGQ-fbWS-Mv<1K1qNd! z$tH|j0c9bB`uZNXyL&(O`~H8nA7`+Q-{o$)r-geG6b~yr9HP71FIYpY_nY`hT)`+N zV1cJRJZU^ABGD&=lRqhDk_j{GL`fLaVlqi0AG602V~JcMm%U&Y3igk(yZZUm+}xDx zeqPQle=DxIJe`jXcmTB^2s{%#|(0O68FmP;)ERxhK9YNkR1>D z{Sm)9Ivfl|LV;25$cU~F4+jF#!-3$CPaE=hy?$TdfLeAx4Tr+H!r=#~RK+lrqlRu6 zhHvD^_*gjP^Lb3&&>mGaRaN^3pH+|GUH6L;{B~ztTY(pAuB{@6?_68MxH#k5I=tdF z*EYysl3%1YM8@H|16x59PrJ5?b7;G^28Vye!5AG;@v>_h8-H&XAvAO8gP7(vwl literal 0 HcmV?d00001 diff --git a/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.woff b/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.woff new file mode 100644 index 0000000000000000000000000000000000000000..32fe30d4d42925d3011635b139e0079025c8862c GIT binary patch literal 1832 zcmZWqc{JPE9={}wwG~TEERWPuYc+{d2B|fq(o!IP5XdJ0fPaC!l_97Gcq&>t+B*=SbL1|E zfCe}KcX2JK^*ZNdt5;Xl|h3j8seJ(hz6Nr z^PYxV340V~7 zYl*hLsyt{o=Aq4QZ8|2|C3Yhy1GZgXhyAU??%JsgL6|K}ZpBWS+&c1FHhIeqwUoT(KKUIC4uI@oR zwRpPunVy;7ZAbGw7lQysa8x9XNR&|9ADOK!@STe{XuEvP-tFp;-r@~B`l{>wT-zdD zDs$sV2e%}BK0H60=v?eOcQs*{#qQ6WEPc7zdz!H=+Wu^q(MO*;E2M8CA__7*qHv`w z@(Z$iQ?5C)B0n&2?qAi%I_CROR%*&&__REW+mhQlC*FsxcfFJ+IVUXo=ou{d;jLn*}{c{w<7x9di{Ez-xyKTN8x-sNiy+=O3zR6;z*@-DMQdz-GGRRKXEw1|#% z>_Do^AwTzw!eSFg__;oQO-fQMVdxzbzu6NJt8Lo@tsHCyK?m3}LT_;l_aNXQni%Wj` z42G$=<>%;L)0Y7%{Py^e`r|K;1f7LTS$Qi;`WmHg@+t&6nCf<;K|^UDv7Gl8l!oKC z*6KNP4xU)trwgyfuw{7F)W?f$w`fcrOmr_NU71Y16mxv6d9?m%3rRYgULBLh@wFZ7 zCM4kvoAQaT2~@}pT&(7H8`dUSNk43Ato-cH&!cn|J(r%vxbO& ztJv#2euVwd^XlEmMigIZp{MiRtIJGfyQ96>+;FYCU$gAq9sZ=#B{^!$x6}CXpsJcN zb1H?;*B7wpBkcD4RdG(5wYp>n@k~5*?1OG|Op5NZRg#9{^PqWTgDUs8^shnpU9#!H z2`9qe$^_!awE{P^tLwI8b==22A2NHp!pts9!o%?vf7s2|&Me{G!np@TiIpox>Fq)M z6vA`!B1!(+jb#lEUqZrTnA;V4YhC81H{WEuGcFn1JyUxim=m1Vwy>1eOFFe&jx%=X zooho6QfRsE(-ForBd65sdA+1UbyR7xmT*lbT5kJeY_TteLh%F1#;qAIQiPFl77sW9 zz}Z4fZg&p&Qv4{CX_$`$0!i_qz-<*Vh-DOj$AF`|XZ}8vVmA9Zn{_f@fQ zPPi5f27_(H8MBi>at|^`aQo@>QsN8@_BLfl2K5D{j?p~=c|6^(3l3-kq^-32_dFDe zekF&5o<=F4fh-rA=DUQD1N@yf-ENhdTYcR zp`rEPI)P7$1N~$7XI>m_+TRBx?e=m&xFb`5LaBo`RcT5faGaOQ`k#N?(vC=qnmi2F zc?^M;P_Pl{1B~~uZ_s3fV(uEW|L}bQS7_w!-fPIghKOR34lJroy3@5BVVualk(0<| zSQ%Mwu4k4_pxom1+TN7VCV3ev?l6na>KWPXI?*IS* literal 0 HcmV?d00001 diff --git a/docs/css/phpdocumentor-clean-icons/lte-ie7.js b/docs/css/phpdocumentor-clean-icons/lte-ie7.js new file mode 100644 index 0000000..881c16e --- /dev/null +++ b/docs/css/phpdocumentor-clean-icons/lte-ie7.js @@ -0,0 +1,30 @@ +/* Load this script using conditional IE comments if you need to support IE 7 and IE 6. */ + +window.onload = function() { + function addIcon(el, entity) { + var html = el.innerHTML; + el.innerHTML = '' + entity + '' + html; + } + var icons = { + 'icon-trait' : '', + 'icon-interface' : '', + 'icon-class' : '' + }, + els = document.getElementsByTagName('*'), + i, attr, html, c, el; + for (i = 0; ; i += 1) { + el = els[i]; + if(!el) { + break; + } + attr = el.getAttribute('data-icon'); + if (attr) { + addIcon(el, attr); + } + c = el.className; + c = c.match(/icon-[^\s'"]+/); + if (c && icons[c[0]]) { + addIcon(el, icons[c[0]]); + } + } +}; \ No newline at end of file diff --git a/docs/css/phpdocumentor-clean-icons/style.css b/docs/css/phpdocumentor-clean-icons/style.css new file mode 100644 index 0000000..f069ec1 --- /dev/null +++ b/docs/css/phpdocumentor-clean-icons/style.css @@ -0,0 +1,48 @@ +@font-face { + font-family: 'phpdocumentor-clean-icons'; + src:url('fonts/phpdocumentor-clean-icons.eot'); + src:url('fonts/phpdocumentor-clean-icons.eot?#iefix') format('embedded-opentype'), + url('fonts/phpdocumentor-clean-icons.woff') format('woff'), + url('fonts/phpdocumentor-clean-icons.ttf') format('truetype'), + url('fonts/phpdocumentor-clean-icons.svg#phpdocumentor-clean-icons') format('svg'); + font-weight: normal; + font-style: normal; +} + +/* Use the following CSS code if you want to use data attributes for inserting your icons */ +[data-icon]:before { + font-family: 'phpdocumentor-clean-icons'; + content: attr(data-icon); + speak: none; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + -webkit-font-smoothing: antialiased; +} + +/* Use the following CSS code if you want to have a class per icon */ +/* +Instead of a list of all class selectors, +you can use the generic selector below, but it's slower: +[class*="icon-"] { +*/ +.icon-trait, .icon-interface, .icon-class { + font-family: 'phpdocumentor-clean-icons'; + speak: none; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + -webkit-font-smoothing: antialiased; +} +.icon-trait:before { + content: "\e000"; +} +.icon-interface:before { + content: "\e001"; +} +.icon-class:before { + content: "\e002"; +} diff --git a/docs/css/prettify.css b/docs/css/prettify.css deleted file mode 100644 index d44b3a2..0000000 --- a/docs/css/prettify.css +++ /dev/null @@ -1 +0,0 @@ -.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} \ No newline at end of file diff --git a/docs/css/prism.css b/docs/css/prism.css new file mode 100644 index 0000000..17876af --- /dev/null +++ b/docs/css/prism.css @@ -0,0 +1,204 @@ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ + +code[class*="language-"], +pre[class*="language-"] { + color: black; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', monospace; + direction: ltr; + text-align: left; + white-space: pre; + word-spacing: normal; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} + +::selection { + text-shadow: none; + background: #b3d4fc; +} + +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: .5em 0; + overflow: auto; +} + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} + +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: .1em; + border-radius: .3em; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #999; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.tag, +.token.boolean, +.token.number { + color: #905; +} + +.token.selector, +.token.attr-name, +.token.string { + color: #690; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #a67f59; + background: hsla(0,0%,100%,.5); +} + +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} + + +.token.regex, +.token.important { + color: #e90; +} + +.token.important { + font-weight: bold; +} + +.token.entity { + cursor: help; +} +pre[data-line] { + position: relative; + padding: 1em 0 1em 3em; +} + +.line-highlight { + position: absolute; + left: 0; + right: 0; + padding: inherit 0; + margin-top: 1em; /* Same as .prism’s padding-top */ + + background: hsla(24, 20%, 50%,.08); + background: -moz-linear-gradient(left, hsla(24, 20%, 50%,.1) 70%, hsla(24, 20%, 50%,0)); + background: -webkit-linear-gradient(left, hsla(24, 20%, 50%,.1) 70%, hsla(24, 20%, 50%,0)); + background: -o-linear-gradient(left, hsla(24, 20%, 50%,.1) 70%, hsla(24, 20%, 50%,0)); + background: linear-gradient(left, hsla(24, 20%, 50%,.1) 70%, hsla(24, 20%, 50%,0)); + + pointer-events: none; + + line-height: inherit; + white-space: pre; +} + + .line-highlight:before, + .line-highlight[data-end]:after { + content: attr(data-start); + position: absolute; + top: .4em; + left: .6em; + min-width: 1em; + padding: 0 .5em; + background-color: hsla(24, 20%, 50%,.4); + color: hsl(24, 20%, 95%); + font: bold 65%/1.5 sans-serif; + text-align: center; + vertical-align: .3em; + border-radius: 999px; + text-shadow: none; + box-shadow: 0 1px white; + } + + .line-highlight[data-end]:after { + content: attr(data-end); + top: auto; + bottom: .4em; + } +pre.line-numbers { + position: relative; + padding-left: 3.8em; + counter-reset: linenumber; +} + +pre.line-numbers > code { + position: relative; +} + +.line-numbers .line-numbers-rows { + position: absolute; + pointer-events: none; + top: 0; + font-size: 100%; + left: -3.8em; + width: 3em; /* works for line-numbers below 1000 lines */ + letter-spacing: -1px; + border-right: 1px solid #999; + + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + +} + + .line-numbers-rows > span { + pointer-events: none; + display: block; + counter-increment: linenumber; + } + + .line-numbers-rows > span:before { + content: counter(linenumber); + color: #999; + display: block; + padding-right: 0.8em; + text-align: right; + } diff --git a/docs/css/template.css b/docs/css/template.css index 45d6196..dbfe8f6 100644 --- a/docs/css/template.css +++ b/docs/css/template.css @@ -1,527 +1,418 @@ -@import url(bootstrap.min.css); -@import url(bootstrap-responsive.css); -@import url(prettify.css); -@import url(jquery.iviewer.css); -@import url(http://fonts.googleapis.com/css?family=Forum); +@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro); +@import url('phpdocumentor-clean-icons/style.css'); -body -{ - padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */ - background: #f9f9f9; - color: #444; +body { + padding-top: 40px; + background-color: #333333; } -a -{ - color: #55A72F; +a { + color: #6495ed; +} +a.anchor { + height: 40px; + margin-top: -40px; + display: block; } -td p:last-of-type { - margin: 0; +h1, h2, h3, h4, h5, h6, .brand { + font-family: 'Source Sans Pro', sans-serif; + font-weight: normal; + letter-spacing: 0.05em; } -li.l0, li.l1, li.l2, li.l3, li.l5, li.l6, li.l7, li.l8 -{ - list-style-type: decimal; +h2, h3, .detailsbar h1 { + overflow: hidden; + white-space: nowrap; + margin: 30px 0 20px 0; } -a.brand, h2, .hero-unit h1 -{ - font-family: 'Forum', "Helvetica Neue", Helvetica, Arial, sans-serif; +h2:after, h3:after, .detailsbar h1:after { + content: ''; + display: inline-block; + vertical-align: middle; + width: 100%; + height: 2px; + margin-left: 1em; + background: silver; } -.element .span4 -{ - width: 275px; +h3 { + margin: 10px 0 20px 0; } -.namespace-contents hr, .package-contents hr -{ - border-top: 3px dotted silver; +h4 { + margin: 20px 0 10px 0; + color: gray; + font-size: 18.5px; } -.namespace-indent, .package-indent -{ - padding-left: 10px; border-left: 1px dashed #f0f0f0; +h3.public, h3.protected, h3.private { + padding-left: 10px; + text-overflow: ellipsis; } -.element h3 i, .namespace-contents h3 i, .package-contents h3 i -{ - margin-top: 2px; +.table tr:first-of-type th, .table tr:first-of-type td { + border-top: none; +} +.detailsbar { + color: #eeeeee; + background-color: #333333; + font-size: 0.9em; + overflow: hidden; + border-left: 2px solid gray; +} + +.detailsbar h1 { + font-size: 1.5em; + margin-bottom: 20px; + margin-top: 0; +} + +.detailsbar h2 { + font-size: 1.2em; + margin: 0; + padding: 0; +} + +.detailsbar h1:after { + background: gray; +} +.detailsbar h2:after, .detailsbar h3:after { + background: transparent; +} + +.detailsbar dt { + font-variant: small-caps; + text-transform: lowercase; + font-size: 1.1em; + letter-spacing: 0.1em; + color: silver; +} + +.hierarchy div:nth-of-type(2) { margin-left: 11px; } +.hierarchy div:nth-of-type(3) { margin-left: 22px; } +.hierarchy div:nth-of-type(4) { margin-left: 33px; } +.hierarchy div:nth-of-type(5) { margin-left: 44px; } +.hierarchy div:nth-of-type(6) { margin-left: 55px; } +.hierarchy div:nth-of-type(7) { margin-left: 66px; } +.hierarchy div:nth-of-type(8) { margin-left: 77px; } +.hierarchy div:nth-of-type(9) { margin-left: 88px; } +.hierarchy div:before { + content: "\f0da"; + font-family: FontAwesome; margin-right: 5px; } -.element h3, .namespace-contents h3, .package-contents h3 -{ - margin-top: 25px; +.row-fluid { + background-color: white; + overflow: hidden; +} + +footer.row-fluid, footer.row-fluid * { + background-color: #333333; + color: white; +} + +footer.row-fluid { + border-top: 2px dashed #555; + margin-top: 2px; +} + +.footer-sections .span4 { + border: 2px solid #555; + text-align: center; + border-radius: 10px; + margin-top: 70px; margin-bottom: 20px; - border-bottom: 1px solid silver; + background: #373737; } -.element h3:first-of-type, .namespace-contents h3:first-of-type, -.package-contents h3:first-of-type -{ - margin-top: 30px; +.footer-sections .span4 h1 { + background: transparent; + margin-top: -30px; + margin-bottom: 20px; + font-size: 5em; } -.element h2 -{ - font-family: inherit; - font-size: 1.2em; - color: black; +.footer-sections .span4 h1 * { + background: transparent; } -.element .type -{ +.footer-sections .span4 div { + border-bottom-right-radius: 6px; + border-bottom-left-radius: 6px; + padding: 10px; + min-height: 40px; +} +.footer-sections .span4 div, .footer-sections .span4 div * { + background-color: #555; +} +.footer-sections .span4 ul { + text-align: left; + list-style: none; + margin: 0; + padding: 0; +} + +.content { + background-color: white; + padding-right: 20px; +} + +.content nav { + text-align: center; + border-bottom: 1px solid silver; + margin: 5px 0 20px 0; + padding-bottom: 5px; +} + +.content > h1 { + padding-bottom: 15px; +} + +.content > h1 small { + display: block; + padding-bottom: 8px; + font-size: 0.6em; +} + +.deprecated { + text-decoration: line-through; +} + +.method { + margin-bottom: 20px; +} + +.method .signature .argument { + color: maroon; font-weight: bold; } -#search-query -{ - height: auto; -} - -.hero-unit, div.element, .well -{ - border: 1px solid #e0e0e0; - background: white; -} - -.dropdown-menu a{ - overflow: hidden; - text-overflow: ellipsis; -} -h2 -{ - border-bottom: 1px dashed #55A72F; - margin-bottom: 10px; - padding-bottom: 0; - padding-left: 5px; - color: #e9e9e9; - font-weight: normal; - margin-top: 40px; -} - -h2:first-of-type -{ - margin-top: 0; -} - -.hero-unit -{ - background: #75a70d; /* Old browsers */ - background: -moz-radial-gradient(center, ellipse cover, #bfd255 0%, #8eb92a 72%, #72aa00 96%, #9ecb2d 100%); /* FF3.6+ */ - background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#bfd255), color-stop(72%,#8eb92a), color-stop(96%,#72aa00), color-stop(100%,#9ecb2d)); /* Chrome,Safari4+ */ - background: -webkit-radial-gradient(center, ellipse cover, #bfd255 0%,#8eb92a 72%,#72aa00 96%,#9ecb2d 100%); /* Chrome10+,Safari5.1+ */ - background: -o-radial-gradient(center, ellipse cover, #bfd255 0%,#8eb92a 72%,#72aa00 96%,#9ecb2d 100%); /* Opera 12+ */ - background: -ms-radial-gradient(center, ellipse cover, #bfd255 0%,#8eb92a 72%,#72aa00 96%,#9ecb2d 100%); /* IE10+ */ - background: radial-gradient(center, ellipse cover, #bfd255 0%,#8eb92a 72%,#72aa00 96%,#9ecb2d 100%); /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfd255', endColorstr='#9ecb2d',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ - - padding: 40px 0 15px 0; - box-shadow: inset 0 0 10px gray; -} - -.hero-unit h1 -{ - font-weight: normal; - text-align: center; - color: white; - text-shadow: black 0 0 15px; -} - -.hero-unit h2 -{ - border: none; - color: white; - background: rgba(48, 48, 48, 0.5); - padding: 0; - margin: 0; - margin-top: 15px; - text-align: center; -} - -.namespace-contents h2, .package-contents h2 -{ - padding-left: 44px; - background: transparent url('../img/icons/icon-th-big.png') no-repeat 3px center; -} - -.package-contents h2 -{ - background-image: url('../img/icons/icon-folder-open-big.png'); -} - -.namespace-contents .element h2, .package-contents .element h2 -{ - padding-left: 0; - background: none; -} - -div.element -{ - border-left: 10px solid #55A72F; - border-radius: 5px; - padding: 7px 7px 2px 7px; - margin-bottom: 15px; - margin-left: 0; -} - -div.element.protected -{ - border-left-color: orange; -} - -div.element.private -{ - border-left-color: red; -} - -div.element.class, div.element.interface -{ - border-left-color: #e0e0e0; -} - -div.element.class.abstract h1, div.element.interface.abstract h1 -{ - font-style: italic; -} - -div.element h1 -{ - font-size: 1.2em; - line-height: 1.5em; - margin-bottom: 10px; - padding-left: 22px; - background: transparent no-repeat left 2px; - word-wrap: break-word; -} - -div.element h1 a -{ - color: transparent; - margin-left: 10px; -} - -div.element h1:hover a -{ - color: silver; -} - -div.element h1 a:hover -{ - color: navy; -} - -div.element a.more:hover -{ - background: #f0f0f0; - color: #444; - text-decoration: none; -} - -div.element a.more -{ - font-weight: bold; - text-align: center; - color: gray; - border-top: 1px dashed silver; - display: block; - margin-top: 5px; - padding: 5px 0; - border-bottom-left-radius: 5px; - border-bottom-right-radius: 5px; -} - -div.element p -{ - font-size: 0.9em; -} - -div.element .table -{ - font-size: 0.9em; -} - -div.element .table th -{ - text-transform: capitalize; -} - -div.detail-description -{ - padding-left: 30px; -} - -div.detail-description table th { - vertical-align: top; -} - -body.invert -{ - background: white; -} - -body.invert div.element -{ - background: #f9f9f9; -} - -ul.side-nav -{ - clear: both; -} - -ul.side-nav li -{ - word-wrap: break-word; - padding-left: 10px; - text-indent: -10px; -} - -ul.side-nav li a -{ - background: transparent no-repeat 5px 3px; - padding-bottom: 10px; - font-style: italic; -} - -ul.side-nav li pre -{ - font-size: 0.8em; - margin: 5px 15px 0 15px; - padding: 2px 5px; - background-color: #f8f8f8; - color: gray; - font-style: normal; - word-wrap: break-word; - text-indent: 0; -} - -ul.side-nav li.view-simple span.description -{ - display: none; -} - -ul.side-nav li.view-simple pre -{ - font-size: inherit; - margin: inherit; - padding: inherit; - background-color: inherit; - border: none; - color: inherit; - font-family: inherit; - font-style: inherit; - padding-bottom: 0; - padding-left: 5px; -} - -ul.side-nav li.view-simple a -{ - padding-bottom: 0; -} - -i.icon-custom -{ - width: 16px; - height: 16px; - background-position: 0; -} - -.table.markers -{ - background: white; -} - -/* JS only functionality; disable by default */ -.btn-group.visibility, .btn-group.view, .btn-group.type-filter -{ - display: none; -} - -.visibility button -{ - height: 24px; -} - -div.element.constant h1, -i.icon-constant { background-image: url('../img/icons/constant.png'); } - -div.element.function h1, -i.icon-function { background-image: url('../img/icons/function.png'); } - -div.element.method h1, -i.icon-method { background-image: url('../img/icons/method.png'); } - -div.element.class h1, -i.icon-class { background-image: url('../img/icons/class.png'); } - -div.element.interface h1, -i.icon-interface { background-image: url('../img/icons/interface.png'); } - -div.element.property h1, -i.icon-property { background-image: url('../img/icons/property.png'); } - -span.empty-namespace -{ - color: silver; -} - -footer -{ - text-align: right; - font-size: 0.8em; - opacity: 0.5; -} - -#mapHolder -{ - border: 4px solid #555; - padding: 0 !important; +.class #summary section.row-fluid { overflow: hidden } -div.element div.subelement -{ - margin-left: 10px; - padding-bottom: 5px; - clear: both; +.class #summary .heading { + font-weight: bold; + text-align: center; } -pre code -{ +.class #summary section .span4 { + padding: 3px; + overflow: hidden; + margin-bottom: -9999px; + padding-bottom: 9999px; + white-space: nowrap; + text-overflow: ellipsis; + border-left: 5px solid transparent; +} + +.class #summary section.public .span4:first-of-type:before, +.class #summary section.public .span6:first-of-type:before, +h3.public:before { + font-family: FontAwesome; + content: "\f046"; + color: green; + display: inline-block; + width: 1.2em; +} + +.class #summary section .span4:first-of-type, +.class #summary section .span6:first-of-type { + padding-left: 21px; +} +.class #summary section .span4:first-of-type:before, +.class #summary section .span6:first-of-type:before { + margin-left: -21px; +} +.class #summary section.protected .span4:first-of-type:before, +.class #summary section.protected .span6:first-of-type:before, +h3.protected:before { + font-family: FontAwesome; + content: "\f132"; + color: orange; + display: inline-block; + width: 1.2em; +} + +.class #summary section.private .span4:first-of-type:before, +.class #summary section.private .span6:first-of-type:before, +h3.private:before { + font-family: FontAwesome; + content: "\f023"; + color: red; + display: inline-block; + width: 1.2em; +} + +.class #summary section em { + font-size: 0.9em; + color: silver; +} +.class #summary .inherited { + color: gray; + font-style: italic; +} + +.accordion-group { border: none; } -div.element div.subelement > code -{ - font-size: 0.8em; - float: left; - margin-right: 10px; - padding: 0 5px; - line-height: 16px; +.accordion { + margin-bottom: 0; } -div.element div.subelement > p -{ - margin-left: 20px; - margin-right: 50px; +.accordion a:hover { + text-decoration: none; + background: #333333; + color: #eeeeee; } -div.element div.subelement h4 -{ - color: #666; - margin-bottom: 5px; +.accordion-heading .accordion-toggle:before { + content: "\f078"; + font-family: FontAwesome; + margin-right: 5px; } -div.element div.subelement.response -{ - padding-bottom: 15px; - margin-right: 50px; +.accordion-heading .accordion-toggle.collapsed:before { + content: "\f054"; +} +.accordion-heading .accordion-toggle { + float: left; + width: 16px; + height: 16px; + padding: 4px 2px 4px 12px; +} +.accordion-heading a { + display: block; + padding: 4px 12px; } -div.labels -{ - text-align: right; +.accordion-inner a { + display: block; + padding: 4px 12px; } -.nav-list .nav-header -{ - font-size: 13px; +.accordion-inner > ul a:before { + font-family: 'phpdocumentor-clean-icons'; + content: "\e001"; + margin-right: 5px; } -.nav-list .nav-header .side-nav-header -{ - font-weight: bold; - line-height: 18px; - color: #999999; - text-transform: uppercase; +.accordion-inner li.class a:before { + content: "\e002"; } -.detail-description code { - white-space: pre; - display: inline-block; - padding: 10px; +.accordion-inner li.interface a:before { + content: "\e001"; } -.go_to_top -{ - float: right; - margin-right: 20px; - background: #2C2C2C; - color: #999; - padding: 3px 10px; - border-bottom-right-radius: 5px; - border-bottom-left-radius: 5px; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - line-height: 19px; +.accordion-inner li.trait a:before { + content: "\e000"; } -.visibility .btn { - text-transform: uppercase; - font-size: 0.7em; - font-weight: bold; +.accordion-inner { + padding: 4px 0 4px 12px; +} +.accordion-inner ul { + list-style: none; + padding: 0; + margin: 0; } -.iviewer_common -{ - z-index: 100; +.row-fluid .span2 { + width: 16.5%; } -@media (min-width: 980px) -{ - a[name] - { - margin-top: -50px; - position: absolute; - } +body .modal { + width: 90%; /* desired relative width */ + left: 5%; /* (100%-width)/2 */ + /* place center */ + margin-left:auto; + margin-right:auto; } -@media (min-width: 1200px) -{ - .method .span4 - { - width: 345px; - } -} - -/* redefined because twitter bootstrap assumes that bootstrap-responsive.css */ -@media (max-width: 980px) -{ - body - { - padding-top: 0; +@media (min-width: 767px) { + .sidebar { + position: fixed; + top: 40px; + bottom: 0; + background-color: #f3f3f3; + left: 0; + border-right: 1px solid #e9e9e9; + overflow-y: scroll; + overflow-x: hidden; + padding-top: 10px; } - .go_to_top - { + .sidebar::-webkit-scrollbar { + width: 10px; + } + + .sidebar::-webkit-scrollbar-thumb { + background: #cccccc; + background-clip: padding-box; + border: 3px solid #f3f3f3; + border-radius: 5px; + } + + .sidebar::-webkit-scrollbar-button { display: none; } - .btn-group.visibility - { - font-size: 0.80em; - margin-bottom: 7px; - display: inline-block; - float: right; + .sidebar::-webkit-scrollbar-track { + background: #f3f3f3; } } -@media (max-width: 768px) -{ - .hero-unit h1 { - font-size: 30px; +@media (max-width: 979px) { + body { + padding-top: 0; } - .hero-unit h2 { - font-size: 19px; +} + +@media (max-width: 767px) { + .class #summary .heading { + display: none; } -} -@media (min-width: 768px) and (max-width: 980px) -{ - .method .span4 - { - width: 203px; + .detailsbar h1 { + display: none; + } + + body { + background-color: white; + } + + footer.row-fluid, footer.row-fluid * { + background-color: white; + } + + .footer-sections h1 { + color: #ccccd9; + } + + .detailsbar { + background-color: white; + color: #333; + border: none; + } +} + +@media (min-width: 767px) { + .detailsbar { + min-height: 100%; + margin-bottom: -99999px; + padding-bottom: 99999px; + padding-left: 20px; + padding-top: 10px; + } +} + +@media (min-width: 1200px) { + .row-fluid .span2 { + width: 16.5%; } } diff --git a/docs/deprecated.html b/docs/deprecated.html deleted file mode 100644 index c4ce6ac..0000000 --- a/docs/deprecated.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - -Query - - - - - - - - - - -
    - -
    - -
    - -
    -

    -drivers/firebird/firebird_util.php1 -

    -
    - - - - - - - - - - -
    TypeLineDescription
    deprecated39Use the table builder class instead
    -

    -core/abstract/abstract_util.php1 -

    -
    - - - - - - - - - - -
    TypeLineDescription
    deprecated70Use the table builder class instead
    -
    -
    -
    -
    -
    - - diff --git a/docs/errors.html b/docs/errors.html deleted file mode 100644 index a5b5635..0000000 --- a/docs/errors.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - -Query - - - - - - - - - - -
    - -
    -
    -
    - -
    No errors have been found in this project.
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/files/autoload.php.html b/docs/files/autoload.php.html new file mode 100644 index 0000000..7e7e57e --- /dev/null +++ b/docs/files/autoload.php.html @@ -0,0 +1,498 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    autoload.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +
    + + +
    + +
    +
    +

    Constants

    +
    + +
    + +
    +
    + +
    +

    QBASE_PATH

    +
    QBASE_PATH
    +

    Reference to root path

    + +
    +
    + +
    + +
    +
    + +
    +

    QDRIVER_PATH

    +
    QDRIVER_PATH
    +

    Path to driver classes

    + +
    +
    + +
    + + +
    +
    +

    Functions

    +
    + +
    + +
    +
    + +
    +

    query_autoload()

    + +
    query_autoload(string $class)
    +

    Load query classes

    + + +

    Parameters

    + + + + + + +
    string$class
    + + +
    +
    + +
    + + +
    +
    + + + + +
    + + + diff --git a/docs/files/autoload.php.txt b/docs/files/autoload.php.txt new file mode 100644 index 0000000..961c6b3 --- /dev/null +++ b/docs/files/autoload.php.txt @@ -0,0 +1,81 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    common.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +
    + + +
    + + +
    +
    +

    Functions

    +
    + +
    + +
    +
    + +
    +

    do_include()

    + +
    do_include(string $path) : void
    +

    Bulk directory loading workaround for use +with array_map and glob

    + + +

    Parameters

    + + + + + + +
    string$path
    + + +
    +
    + +
    + +
    +
    + +
    +

    mb_trim()

    + +
    mb_trim(string $string) : string
    +

    Multibyte-safe trim function

    + + +

    Parameters

    + + + + + + +
    string$string
    + + +

    Returns

    + string +
    +
    + +
    + +
    +
    + +
    +

    db_filter()

    + +
    db_filter(array $array, mixed $index) : array
    +

    Filter out db rows into one array

    + + +

    Parameters

    + + + + + + + + + + + +
    array$array
    mixed$index
    + + +

    Returns

    + array +
    +
    + +
    + +
    +
    + +
    +

    Query()

    + +
    Query(string|object|array $params) : \Query\Query_Builder|null
    +

    Connection function

    +

    Send an array or object as connection parameters to create a connection. If +the array or object has an 'alias' parameter, passing that string to this +function will return that connection. Passing no parameters returns the last +connection created.

    + +

    Parameters

    + + + + + + +
    string|object|array$params
    + + +

    Returns

    + \Query\Query_Builder|null +
    +
    + +
    + + +
    +
    + + + + +
    + + + diff --git a/docs/files/common.php.txt b/docs/files/common.php.txt new file mode 100644 index 0000000..7d1c2ad --- /dev/null +++ b/docs/files/common.php.txt @@ -0,0 +1,107 @@ +get_connection($params); + } + elseif ( ! is_scalar($params) && ! is_null($params)) + { + $params = new ArrayObject($params, ArrayObject::STD_PROP_LIST | ArrayObject::ARRAY_AS_PROPS); + + // Otherwise, return a new connection + return $cmanager->connect($params); + } +// @codeCoverageIgnoreStart +} +// @codeCoverageIgnoreEnd +// End of common.php diff --git a/docs/files/core.abstract.abstract_driver.php.html b/docs/files/core.abstract.abstract_driver.php.html new file mode 100644 index 0000000..c0eccf6 --- /dev/null +++ b/docs/files/core.abstract.abstract_driver.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    core/abstractabstract_driver.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    Abstract_DriverBase Database class
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/core.abstract.abstract_sql.php.html b/docs/files/core.abstract.abstract_sql.php.html new file mode 100644 index 0000000..a0b1ec3 --- /dev/null +++ b/docs/files/core.abstract.abstract_sql.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    core/abstractabstract_sql.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    Abstract_SQLparent for database manipulation subclasses
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/core.abstract.abstract_table.php.html b/docs/files/core.abstract.abstract_table.php.html new file mode 100644 index 0000000..a81b455 --- /dev/null +++ b/docs/files/core.abstract.abstract_table.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    core/abstractabstract_table.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    Abstract_TableBase class for table builder component classes`
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/core.abstract.abstract_util.php.html b/docs/files/core.abstract.abstract_util.php.html new file mode 100644 index 0000000..93d6de7 --- /dev/null +++ b/docs/files/core.abstract.abstract_util.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    core/abstractabstract_util.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    Abstract_UtilAbstract class defining database / table creation methods
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/core.connection_manager.php.html b/docs/files/core.connection_manager.php.html new file mode 100644 index 0000000..ce4594f --- /dev/null +++ b/docs/files/core.connection_manager.php.html @@ -0,0 +1,365 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    coreconnection_manager.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + + + + + +
    BadDBDriverExceptionGeneric exception for bad drivers
    Connection_ManagerConnection manager class to manage connections for the +Query method
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/core.interfaces.driver_interface.php.html b/docs/files/core.interfaces.driver_interface.php.html new file mode 100644 index 0000000..55edeb2 --- /dev/null +++ b/docs/files/core.interfaces.driver_interface.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    core/interfacesdriver_interface.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + +

    Interfaces

    + + + + + +
    Driver_InterfacePDO Interface to implement for database drivers
    + +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/core.interfaces.query_builder_interface.php.html b/docs/files/core.interfaces.query_builder_interface.php.html new file mode 100644 index 0000000..49094cd --- /dev/null +++ b/docs/files/core.interfaces.query_builder_interface.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    core/interfacesquery_builder_interface.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + +

    Interfaces

    + + + + + +
    Query_Builder_InterfaceInterface defining the Query Builder class
    + +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/core.interfaces.sql_interface.php.html b/docs/files/core.interfaces.sql_interface.php.html new file mode 100644 index 0000000..310d565 --- /dev/null +++ b/docs/files/core.interfaces.sql_interface.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    core/interfacessql_interface.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + +

    Interfaces

    + + + + + +
    SQL_Interfaceparent for database manipulation subclasses
    + +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/core.query_builder.php.html b/docs/files/core.query_builder.php.html new file mode 100644 index 0000000..4fe97bc --- /dev/null +++ b/docs/files/core.query_builder.php.html @@ -0,0 +1,361 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    corequery_builder.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    Query_BuilderConvienience class for creating sql queries - also the class that +instantiates the specific db driver
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/core.query_parser.php.html b/docs/files/core.query_parser.php.html new file mode 100644 index 0000000..5b97767 --- /dev/null +++ b/docs/files/core.query_parser.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    corequery_parser.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    Query_ParserUtility Class to parse sql clauses for properly escaping identifiers
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/core.table_builder.php.html b/docs/files/core.table_builder.php.html new file mode 100644 index 0000000..d7cdf1e --- /dev/null +++ b/docs/files/core.table_builder.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    coretable_builder.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    Table_BuilderAbstract class defining database / table creation methods
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/core.table_column.php.html b/docs/files/core.table_column.php.html new file mode 100644 index 0000000..7921319 --- /dev/null +++ b/docs/files/core.table_column.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    coretable_column.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    Table_ColumnClass representing a column when creating a table
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/core.table_foreign_key.php.html b/docs/files/core.table_foreign_key.php.html new file mode 100644 index 0000000..c9a1f73 --- /dev/null +++ b/docs/files/core.table_foreign_key.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    coretable_foreign_key.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    Table_Foreign_KeyClass representing a foreign key
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/core.table_index.php.html b/docs/files/core.table_index.php.html new file mode 100644 index 0000000..2d16de3 --- /dev/null +++ b/docs/files/core.table_index.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    coretable_index.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    Table_IndexClass representing indicies when creating a table
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/core/abstract/abstract_driver.php.txt b/docs/files/core/abstract/abstract_driver.php.txt new file mode 100644 index 0000000..ffd3a34 --- /dev/null +++ b/docs/files/core/abstract/abstract_driver.php.txt @@ -0,0 +1,581 @@ +$sub = new $class($this); + } + + $this->table = new Table_Builder('', array(), $this); + } + + // -------------------------------------------------------------------------- + + /** + * Allow invoke to work on table object + * + * @param string $name + * @param array $args + */ + 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 + // -------------------------------------------------------------------------- + + /** + * 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 indentifier 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); + } + + // -------------------------------------------------------------------------- + + /** + * 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; + } + + // -------------------------------------------------------------------------- + + /** + * 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 = explode(',', $ident); + $parts = array_map('mb_trim', $parts); + $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; + + } + + // -------------------------------------------------------------------------- + + /** + * 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 ( + strpos($str, $this->escape_char) !== 0 + && strrpos($str, $this->escape_char) !== 0 + && is_string($str) + && ! is_numeric($str) + ) + ? "{$this->escape_char}{$str}{$this->escape_char}" + : $str; + + } + + // ------------------------------------------------------------------------- + + /** + * 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() + { + return $this->driver_query('table_list'); + } + + // ------------------------------------------------------------------------- + + /** + * 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() + { + return $this->driver_query('view_list'); + } + + // ------------------------------------------------------------------------- + + /** + * 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 function 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); + } + + // ------------------------------------------------------------------------- + + /** + * Retreives 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->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->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->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 retreiving 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->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; + } + + // ------------------------------------------------------------------------- + // ! Abstract public functions to implement in child classes + // ------------------------------------------------------------------------- + + /** + * Empty the passed table + * + * @param string $table + * @return void + */ + abstract public function truncate($table); + + // -------------------------------------------------------------------------- + + /** + * Create sql for batch insert + * + * @param string $table + * @param array $data + * @return array + */ + public function insert_batch($table, $data=array()) + { + if ( ! is_array(current($data))) return NULL; + + $vals = array(); // Values for insertion + $table = $this->quote_table($table); + $fields = array_keys(current($data)); + + $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); + + // For each grouping, add the values + foreach($data as $group) + { + $vals = array_merge($vals, array_values($group)); + } + + // Add the param groups + $sql .= implode(',', $param_list); + + return array($sql, $vals); + } +} +// End of db_pdo.php diff --git a/docs/files/core/abstract/abstract_sql.php.txt b/docs/files/core/abstract/abstract_sql.php.txt new file mode 100644 index 0000000..713d82d --- /dev/null +++ b/docs/files/core/abstract/abstract_sql.php.txt @@ -0,0 +1,47 @@ + $value) + { + if ( ! in_array($option, $this->valid_options)) + { + throw new \InvalidArgumentException("{$option} is not a valid {$type}"); + } + + $func = "set_{$option}"; + + (method_exists($this, "set_{$option}")) + ? $this->$func($value) + : $this->__set($option, $value); + } + + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Getters + * @param mixed $name + * @return mixed + */ + public function __get($name) + { + if ( ! isset($this->$name)) return NULL; + + return $this->$name; + } + + // -------------------------------------------------------------------------- + + /** + * Setters + * @param mixed $name + * @param mixed $val + * @return \Query\Table_Column + */ + public function __set($name, $val) + { + $this->$name = $val; + return $this; + } + +} +// End of abstract_table.php diff --git a/docs/files/core/abstract/abstract_util.php.txt b/docs/files/core/abstract/abstract_util.php.txt new file mode 100644 index 0000000..9c10c5e --- /dev/null +++ b/docs/files/core/abstract/abstract_util.php.txt @@ -0,0 +1,147 @@ +conn = $conn; + } + + // -------------------------------------------------------------------------- + + /** + * Enable calling driver methods + * + * @param string $method + * @param array $args + * @return mixed + */ + public function __call($method, $args) + { + return call_user_func_array(array($this->conn, $method), $args); + } + + // -------------------------------------------------------------------------- + // ! Abstract Methods + // -------------------------------------------------------------------------- + + /** + * Convienience public function to generate sql for creating a db table + * + * @deprecated Use the table builder class instead + * @param string $name + * @param array $fields + * @param array $constraints + * @return string + */ + public function create_table($name, $fields, array $constraints=array()) + { + $column_array = array(); + + // Reorganize into an array indexed with column information + // Eg $column_array[$colname] = array( + // 'type' => ..., + // 'constraint' => ..., + // 'index' => ..., + // ) + foreach($fields as $colname => $type) + { + $column_array[$colname] = array(); + $column_array[$colname]['type'] = ($type !== $colname) ? $type : ''; + } + + if( ! empty($constraints)) + { + foreach($constraints as $col => $const) + { + $column_array[$col]['constraint'] = $const; + } + } + + // Join column definitons together + $columns = array(); + foreach($column_array as $n => $props) + { + $str = $this->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 IF NOT EXISTS '.$this->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->quote_table($name); + } + + // -------------------------------------------------------------------------- + + /** + * 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 diff --git a/docs/files/core/connection_manager.php.txt b/docs/files/core/connection_manager.php.txt new file mode 100644 index 0000000..c28c032 --- /dev/null +++ b/docs/files/core/connection_manager.php.txt @@ -0,0 +1,245 @@ +connections[$name])) + { + return $this->connections[$name]; + } + elseif (empty($name) && ! empty($this->connections)) // Otherwise, return the last one + { + return end($this->connections); + } + else + { + throw new \InvalidArgumentException("The specified connection does not exist"); + } + } + + // -------------------------------------------------------------------------- + + /** + * Parse the passed parameters and return a connection + * + * @param \ArrayObject $params + * @return Query_Builder + * @throws BadConnectionException + */ + public function connect(\ArrayObject $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 the Query Builder object + $conn = new Query_Builder($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 \ArrayObject $params + * @throws BadDBDriverException + */ + private function parse_params(\ArrayObject $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 \ArrayObject $params + * @return string + */ + private function create_dsn($dbtype, \ArrayObject $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' + ); + + foreach($params as $key => $val) + { + if ( ! isset($skip[$key])) + { + $dsn .= ";{$key}={$val}"; + } + } + } + + return $dsn; + } +} +// End of connection_manager.php + diff --git a/docs/files/core/interfaces/driver_interface.php.txt b/docs/files/core/interfaces/driver_interface.php.txt new file mode 100644 index 0000000..05f31d3 --- /dev/null +++ b/docs/files/core/interfaces/driver_interface.php.txt @@ -0,0 +1,97 @@ + '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 $this->db->util + * @var DB_Util + */ + public $util; + + /** + * Alias to $this->db->sql + * @var SQL_Interface + */ + public $sql; + + // -------------------------------------------------------------------------- + // ! Methods + // -------------------------------------------------------------------------- + + /** + * Constructor + * + * @param \Query\Driver\Driver_Interface $db + */ + public function __construct(Driver_Interface $db) + { + $this->db = $db; + + // Instantiate the Query Parser + $this->parser = new Query_Parser($this); + + $this->queries['total_time'] = 0; + + // Make things just slightly shorter + $this->sql = $this->db->sql; + $this->util = $this->db->util; + } + + // -------------------------------------------------------------------------- + + /** + * Destructor + * @codeCoverageIgnore + */ + public function __destruct() + { + $this->db = NULL; + } + + // -------------------------------------------------------------------------- + // ! Select Queries + // -------------------------------------------------------------------------- + + /** + * Method to simplify select_ methods + * + * @param string $field + * @param string $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} "; + } + + /** + * Specifies rows to select in a query + * + * @param string $fields + * @return Query_Builder + */ + public function select($fields) + { + // Split fields by comma + $fields_array = explode(",", $fields); + $fields_array = array_map('mb_trim', $fields_array); + + // Split on 'As' + foreach ($fields_array as $key => $field) + { + if (stripos($field, 'as') !== FALSE) + { + $fields_array[$key] = preg_split('` as `i', $field); + $fields_array[$key] = array_map('mb_trim', $fields_array[$key]); + } + } + + // Quote the identifiers + $safe_array = $this->db->quote_ident($fields_array); + + unset($fields_array); + + // Join the strings back together + for($i = 0, $c = count($safe_array); $i < $c; $i++) + { + if (is_array($safe_array[$i])) + { + $safe_array[$i] = implode(' AS ', $safe_array[$i]); + } + } + + $this->select_string .= implode(', ', $safe_array); + + unset($safe_array); + + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Selects the maximum value of a field from a query + * + * @param string $field + * @param string $as + * @return Query_Builder + */ + public function select_max($field, $as=FALSE) + { + // Create the select string + $this->select_string .= ' MAX'.$this->_select($field, $as); + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Selects the minimum value of a field from a query + * + * @param string $field + * @param string $as + * @return Query_Builder + */ + public function select_min($field, $as=FALSE) + { + // Create the select string + $this->select_string .= ' MIN'.$this->_select($field, $as); + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Selects the average value of a field from a query + * + * @param string $field + * @param string $as + * @return Query_Builder + */ + public function select_avg($field, $as=FALSE) + { + // Create the select string + $this->select_string .= ' AVG'.$this->_select($field, $as); + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Selects the sum of a field from a query + * + * @param string $field + * @param string $as + * @return Query_Builder + */ + public function select_sum($field, $as=FALSE) + { + // Create the select string + $this->select_string .= ' SUM'.$this->_select($field, $as); + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Adds the 'distinct' keyword to a query + * + * @return Query_Builder + */ + public function distinct() + { + // Prepend the keyword to the select string + $this->select_string = ' DISTINCT '.$this->select_string; + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Tell the database to give you the query plan instead of result set + * + * @return Query_Builder + */ + public function explain() + { + $this->explain = TRUE; + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Specify the database table to select from + * + * @param string $tblname + * @return Query_Builder + */ + public function from($tblname) + { + // Split identifiers on spaces + $ident_array = explode(' ', mb_trim($tblname)); + $ident_array = array_map('mb_trim', $ident_array); + + // Quote the identifiers + $ident_array[0] = $this->db->quote_table($ident_array[0]); + $ident_array = $this->db->quote_ident($ident_array); + + // Paste it back together + $this->from_string = implode(' ', $ident_array); + + return $this; + } + + // -------------------------------------------------------------------------- + // ! 'Like' methods + // -------------------------------------------------------------------------- + + /** + * 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 + $l = $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, $l, 'like'); + + // Add to the values array + $this->where_values[] = $val; + + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * 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') + { + return $this->_like($field, $val, $pos, 'LIKE', 'AND'); + } + + // -------------------------------------------------------------------------- + + /** + * 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') + { + return $this->_like($field, $val, $pos, 'LIKE', 'OR'); + } + + // -------------------------------------------------------------------------- + + /** + * 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') + { + return $this->_like($field, $val, $pos, 'NOT LIKE', 'AND'); + } + + // -------------------------------------------------------------------------- + + /** + * 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') + { + return $this->_like($field, $val, $pos, 'NOT LIKE', 'OR'); + } + + // -------------------------------------------------------------------------- + // ! Having methods + // -------------------------------------------------------------------------- + + /** + * 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; + } + + // -------------------------------------------------------------------------- + + /** + * Generates a 'Having' clause + * + * @param mixed $key + * @param mixed $val + * @return Query_Builder + */ + public function having($key, $val=array()) + { + return $this->_having($key, $val, 'AND'); + } + + // -------------------------------------------------------------------------- + + /** + * Generates a 'Having' clause prefixed with 'OR' + * + * @param mixed $key + * @param mixed $val + * @return Query_Builder + */ + public function or_having($key, $val=array()) + { + return $this->_having($key, $val, 'OR'); + } + + // -------------------------------------------------------------------------- + // ! 'Where' methods + // -------------------------------------------------------------------------- + + /** + * 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(); + + // Key and value passed? Add them to the where array + if (is_scalar($key) && is_scalar($val)) + { + $where[$key] = $val; + $this->where_values[] = $val; + } + // Array or object, loop through and add to the where array + elseif ( ! is_scalar($key)) + { + foreach($key as $k => $v) + { + $where[$k] = $v; + $this->where_values[] = $v; + } + } + + return $where; + } + + // -------------------------------------------------------------------------- + + /** + * Simplify generating where string + * + * @param mixed $key + * @param mixed $val + * @param string $conj + * @return Query_Builder + */ + protected function _where_string($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]} ?"; + + // Get the type of the first item in the query map + $first_item = end($this->query_map); + + // Determine the correct conjunction + if (empty($this->query_map)) + { + $conj = "\nWHERE "; + } + elseif ($first_item['type'] === 'group_start') + { + $conj = ''; + } + else + { + $conj = " {$conj} "; + } + + $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; + } + + // -------------------------------------------------------------------------- + + /** + * 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 mixed $escape + * @return Query_Builder + */ + public function where($key, $val=array(), $escape=NULL) + { + return $this->_where_string($key, $val, 'AND'); + } + + // -------------------------------------------------------------------------- + + /** + * Where clause prefixed with "OR" + * + * @param string $key + * @param mixed $val + * @return Query_Builder + */ + public function or_where($key, $val=array()) + { + return $this->_where_string($key, $val, 'OR'); + } + + // -------------------------------------------------------------------------- + + /** + * Where clause with 'IN' statement + * + * @param mixed $field + * @param mixed $val + * @return Query_Builder + */ + public function where_in($field, $val=array()) + { + return $this->_where_in($field, $val); + } + + // -------------------------------------------------------------------------- + + /** + * Where in statement prefixed with "or" + * + * @param string $field + * @param mixed $val + * @return Query_Builder + */ + public function or_where_in($field, $val=array()) + { + return $this->_where_in($field, $val, 'IN', 'OR'); + } + + // -------------------------------------------------------------------------- + + /** + * WHERE NOT IN (FOO) clause + * + * @param string $field + * @param mixed $val + * @return Query_Builder + */ + public function where_not_in($field, $val=array()) + { + return $this->_where_in($field, $val, 'NOT IN', 'AND'); + } + + // -------------------------------------------------------------------------- + + /** + * OR WHERE NOT IN (FOO) clause + * + * @param string $field + * @param mixed $val + * @return Query_Builder + */ + public function or_where_not_in($field, $val=array()) + { + return $this->_where_in($field, $val, 'NOT IN', 'OR'); + } + + // -------------------------------------------------------------------------- + // ! 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) + { + // Plain key, value pair + if (is_scalar($key) && is_scalar($val)) + { + $this->set_array_keys[] = $key; + $this->values[] = $val; + } + // Object or array + elseif (is_array($key) || is_object($key)) + { + foreach($key as $k => $v) + { + $this->set_array_keys[] = $k; + $this->values[] = $v; + } + } + + // Use the keys of the array to make the insert/update string + // Escape the field names + $this->set_array_keys = array_map(array($this->db, '_quote'), $this->set_array_keys); + + // Generate the "set" string + $this->set_string = implode('=?,', $this->set_array_keys); + $this->set_string .= '=?'; + + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * 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='') + { + // Prefix and quote table name + $table = explode(' ', mb_trim($table)); + $table[0] = $this->db->quote_table($table[0]); + $table = $this->db->quote_ident($table); + $table = implode(' ', $table); + + // Parse out the join condition + $parsed_condition = $this->parser->compile_join($condition); + $condition = $table . ' ON ' . $parsed_condition; + + $this->_append_map("\n" . strtoupper($type) . ' JOIN ', $condition, 'join'); + + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Group the results by the selected field(s) + * + * @param mixed $field + * @return Query_Builder + */ + public function group_by($field) + { + if ( ! is_scalar($field)) + { + $new_group_array = array_map(array($this->db, 'quote_ident'), $field); + $this->group_array = array_merge($this->group_array, $new_group_array); + } + else + { + $this->group_array[] = $this->db->quote_ident($field); + } + + $this->group_string = ' GROUP BY ' . implode(',', $this->group_array); + + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Order the results by the selected field(s) + * + * @param string $field + * @param string $type + * @return Query_Builder + */ + public function order_by($field, $type="") + { + // Random case + if (stripos($type, 'rand') !== FALSE) + { + $type = (($rand = $this->sql->random()) !== FALSE ) ? $rand : 'ASC'; + } + + // Set fields for later manipulation + $field = $this->db->quote_ident($field); + $this->order_array[$field] = $type; + + $order_clauses = array(); + + // Flatten key/val pairs into an array of space-separated pairs + foreach($this->order_array as $k => $v) + { + $order_clauses[] = $k . ' ' . strtoupper($v); + } + + // Set the final string + $this->order_string = (empty($rand)) + ? "\nORDER BY ".implode(', ', $order_clauses) + : "\nORDER BY".$rand; + + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Set a limit on the current sql statement + * + * @param int $limit + * @param int $offset + * @return Query_Builder + */ + public function limit($limit, $offset=FALSE) + { + $this->limit = $limit; + $this->offset = $offset; + + return $this; + } + + // -------------------------------------------------------------------------- + // ! Query Grouping Methods + // -------------------------------------------------------------------------- + + /** + * Adds a paren to the current query for query grouping + * + * @return Query_Builder + */ + public function group_start() + { + $conj = (empty($this->query_map)) ? ' WHERE ' : ' '; + + $this->_append_map($conj, '(', 'group_start'); + + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Adds a paren to the current query for query grouping, + * prefixed with 'OR' + * + * @return Query_Builder + */ + public function or_group_start() + { + $this->_append_map('', ' OR (', 'group_start'); + + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Adds a paren to the current query for query grouping, + * prefixed with 'OR NOT' + * + * @return Query_Builder + */ + public function or_not_group_start() + { + $this->_append_map('', ' OR NOT (', 'group_start'); + + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Ends a query group + * + * @return Query_Builder + */ + public function group_end() + { + $this->_append_map('', ')', 'group_end'); + + return $this; + } + + // -------------------------------------------------------------------------- + // ! Query execution methods + // -------------------------------------------------------------------------- + + /** + * Select and retrieve all records from the current table, and/or + * execute current compiled query + * + * @param $table + * @param int $limit + * @param int $offset + * @return PDOStatement + */ + public function get($table='', $limit=FALSE, $offset=FALSE) + { + // Set the table + if ( ! empty($table)) + { + $this->from($table); + } + + // Set the limit, if it exists + if ($limit !== FALSE) + { + $this->limit($limit, $offset); + } + + return $this->_run("get", $table); + } + + // -------------------------------------------------------------------------- + + /** + * Convience method for get() with a where clause + * + * @param string $table + * @param array $where + * @param int $limit + * @param int $offset + * @return PDOStatement + */ + public function get_where($table, $where=array(), $limit=FALSE, $offset=FALSE) + { + // Create the where clause + $this->where($where); + + // Return the result + return $this->get($table, $limit, $offset); + } + + // -------------------------------------------------------------------------- + + /** + * Retreive the number of rows in the selected table + * + * @param string $table + * @return int + */ + public function count_all($table) + { + $sql = 'SELECT * FROM '.$this->db->quote_table($table); + $res = $this->db->query($sql); + return (int) count($res->fetchAll()); + } + + // -------------------------------------------------------------------------- + + /** + * 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='') + { + // Set the table + if ( ! empty($table)) + { + $this->from($table); + } + + $result = $this->_run('get', $table); + + + $rows = $result->fetchAll(); + + return (int) count($rows); + } + + // -------------------------------------------------------------------------- + + /** + * Creates an insert clause, and executes it + * + * @param string $table + * @param mixed $data + * @return PDOStatement + */ + public function insert($table, $data=array()) + { + // No use duplicating logic! + if ( ! empty($data)) + { + $this->set($data); + } + + return $this->_run("insert", $table); + } + + // -------------------------------------------------------------------------- + + /** + * Creates and executes a batch insertion query + * + * @param string $table + * @param array $data + * @return PDOStatement + */ + public function insert_batch($table, $data=array()) + { + // Get the generated values and sql string + list($sql, $data) = $this->db->insert_batch($table, $data); + + return ( ! is_null($sql)) + ? $this->_run('', $table, $sql, $data) + : NULL; + } + + // -------------------------------------------------------------------------- + + /** + * Creates an update clause, and executes it + * + * @param string $table + * @param mixed $data + * @return PDOStatement + */ + public function update($table, $data=array()) + { + // No use duplicating logic! + if ( ! empty($data)) + { + $this->set($data); + } + + return $this->_run("update", $table); + } + + // -------------------------------------------------------------------------- + + /** + * Deletes data from a table + * + * @param string $table + * @param mixed $where + * @return PDOStatement + */ + public function delete($table, $where='') + { + // Set the where clause + if ( ! empty($where)) + { + $this->where($where); + } + + return $this->_run("delete", $table); + } + + // -------------------------------------------------------------------------- + // ! SQL Returning Methods + // -------------------------------------------------------------------------- + + /** + * Helper function for returning sql strings + * + * @param string $type + * @param string $table + * @param bool $reset + * @resturn 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; + } + + // -------------------------------------------------------------------------- + + /** + * Returns the generated 'select' sql query + * + * @param string $table + * @param bool $reset + * @return string + */ + public function get_compiled_select($table='', $reset=TRUE) + { + // Set the table + if ( ! empty($table)) + { + $this->from($table); + } + + return $this->_get_compile('select', $table, $reset); + } + + // -------------------------------------------------------------------------- + + /** + * Returns the generated 'insert' sql query + * + * @param string $table + * @param bool $reset + * @return string + */ + public function get_compiled_insert($table, $reset=TRUE) + { + return $this->_get_compile('insert', $table, $reset); + } + + // -------------------------------------------------------------------------- + + /** + * Returns the generated 'update' sql query + * + * @param string $table + * @param bool $reset + * @return string + */ + public function get_compiled_update($table='', $reset=TRUE) + { + return $this->_get_compile('update', $table, $reset); + } + + // -------------------------------------------------------------------------- + + /** + * Returns the generated 'delete' sql query + * + * @param string $table + * @param bool $reset + * @return string + */ + public function get_compiled_delete($table="", $reset=TRUE) + { + return $this->_get_compile('delete', $table, $reset); + } + + + // -------------------------------------------------------------------------- + // ! Miscellaneous Methods + // -------------------------------------------------------------------------- + + /** + * Clear out the class variables, so the next query can be run + * + * @return void + */ + public function reset_query() + { + // Reset strings and booleans + foreach(array( + 'select_string', + 'from_string', + 'set_string', + 'order_string', + 'group_string', + 'limit', + 'offset', + 'explain', + ) as $var) + { + $this->$var = NULL; + } + + // Reset arrays + foreach(array( + 'set_array_keys', + 'order_array', + 'group_array', + 'values', + 'where_values', + 'query_map', + 'having_map' + ) as $var) + { + $this->$var = array(); + } + } + + // -------------------------------------------------------------------------- + + /** + * 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; + } + + // -------------------------------------------------------------------------- + + /** + * Calls a function further down the inheritence chain + * + * @param string $name + * @param array $params + * @return mixed + * @throws BadMethodCallException + */ + public function __call($name, $params) + { + if (method_exists($this->db, $name)) + { + return call_user_func_array(array($this->db, $name), $params); + } + + throw new \BadMethodCallException("Method does not exist"); + } + + /** + * 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', FALSE) : $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; + } + + // -------------------------------------------------------------------------- + + /** + * 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 + )); + } + + // -------------------------------------------------------------------------- + + /** + * 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 query_builder.php diff --git a/docs/files/core/query_parser.php.txt b/docs/files/core/query_parser.php.txt new file mode 100644 index 0000000..37e3043 --- /dev/null +++ b/docs/files/core/query_parser.php.txt @@ -0,0 +1,135 @@ + '([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 \Query\Query_Builder $db + */ + public function __construct(\Query\Query_Builder $db) + { + $this->db = $db; + } + + // -------------------------------------------------------------------------- + + /** + * Public parser method for seting the parse string + * + * @param string $sql + */ + 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 diff --git a/docs/files/core/table_builder.php.txt b/docs/files/core/table_builder.php.txt new file mode 100644 index 0000000..71ecb23 --- /dev/null +++ b/docs/files/core/table_builder.php.txt @@ -0,0 +1,434 @@ +table_options = array_merge($this->table_options, $options); + + $this->set_driver($driver); + + if ($name !== '') + { + $this->name = (isset($this->driver)) ? $this->driver->prefix_table($name) : $name; + } + + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Alias to constructor + * + * @param string $name + * @param array $options + * @param Driver_Interface $driver + * @return Table_Builder + */ + public function __invoke($name = '', $options = array(), Driver_Interface $driver = NULL) + { + return $this->__construct($name, $options, $driver); + } + + // -------------------------------------------------------------------------- + + /** + * Set the reference to the current database driver + * + * @param Driver_Interface $driver + * @return Table_Builder + */ + public function set_driver(Driver_Interface $driver = NULL) + { + if ( ! is_null($driver)) + { + $this->driver = $driver; + } + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Get the current DB Driver + * + * @return Driver_Interface + */ + public function get_driver() + { + return $this->driver; + } + + // -------------------------------------------------------------------------- + // ! Column Methods + // -------------------------------------------------------------------------- + + /** + * Add a column to the current table + * + * @param string $column_name + * @param string $type + * @param array $options + * @return Table_Builder + */ + public function add_column($column_name, $type = NULL, $options = array()) + { + $col = new Table_Column($column_name, $type, $options); + $this->columns[] = $col; + + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Remove the specified column name from the current table + * + * @param string $column_name + * @return \Query\Table\Table_Builder + */ + public function remove_column($column_name) + { + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Rename the specified column on the current table + * + * @param string $old_name + * @param string $new_name + * @return \Query\Table\Table_Builder + */ + public function rename_column($old_name, $new_name) + { + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Change the specified column on the current table + * + * @param string $column_name + * @param string $new_column_type + * @param array $options + * @return \Query\Table\Table_Builder + */ + public function change_column($column_name, $new_column_type, $options = array()) + { + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Determine whether the column currently exists on the current table + * + * @param string $column_name + * @param array $options + * @return bool + */ + public function has_column($column_name, $options = array()) + { + + } + + // -------------------------------------------------------------------------- + // ! Index Methods + // -------------------------------------------------------------------------- + + /** + * Add an index to the current table + * + * @param array $columns + * @param array $options + * @return \Query\Table\Table_Builder + */ + public function add_index($columns, $options = array()) + { + $col = new Table_Index($columns, $options); + $this->indexes[] = $col; + + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Remove an index from the current table + * @param array $columns + * @param array $options + * @return \Query\Table\Table_Builder + */ + public function remove_index($columns, $options = array()) + { + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Remove an index by its name from the current table + * + * @param string $name + * @return \Query\Table\Table_Builder + */ + public function remove_index_by_name($name) + { + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Check if the current table has an index on the specified columns + * + * @param array $columns + * @param array $options + * @return bool + */ + public function has_index($columns, $options = array()) + { + + } + + // -------------------------------------------------------------------------- + // ! Foreign Key Methods + // -------------------------------------------------------------------------- + + /** + * Add a foreign key to the current table + * + * @param array $columns + * @param string $referenced_table + * @param array $referenced_columns + * @param array $options + * @return \Query\Table\Table_Builder + */ + public function add_foreign_key($columns, $referenced_table, $referenced_columns = array('id'), $options = array()) + { + $key = new Table_Foreign_Key($columns, $referenced_table, $referenced_columns, $options); + $this->foreign_keys[] = $key; + + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Drop the foreign key from the current table + * + * @param array $columns + * @param string $constraint + * @return \Query\Table\Table_Builder + */ + public function drop_foreign_key($columns, $constraint = NULL) + { + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Determine whether the current table has the specified foreign key + * + * @param array $columns + * @param string $constraint + * @return bool + */ + public function has_foreign_key($columns, $constraint = NULL) + { + + } + + // -------------------------------------------------------------------------- + // ! Table-wide methods + // -------------------------------------------------------------------------- + + /** + * Check whether the current table exists + * + * @return bool + */ + public function exists() + { + $tables = $this->driver->get_tables(); + return in_array($this->name, $tables); + } + + // -------------------------------------------------------------------------- + + /** + * Drop the current table + * + * @return void + */ + public function drop() + { + + } + + // -------------------------------------------------------------------------- + + /** + * Rename the current table + * + * @param string $new_table_name + * @return void + */ + public function rename($new_table_name) + { + + } + + // -------------------------------------------------------------------------- + + /** + * Get the list of columns for the current table + * + * @return array + */ + public function get_columns() + { + return $this->driver->get_columns($this->prefix_table($this->name)); + } + + + // -------------------------------------------------------------------------- + // ! Action methods + // -------------------------------------------------------------------------- + + /** + * Create the table from the previously set options + * + * @return void + */ + public function create() + { + $this->reset(); + } + + // -------------------------------------------------------------------------- + + /** + * Update the current table with the changes made + * + * @return void + */ + public function update() + { + $this->reset(); + } + + // -------------------------------------------------------------------------- + + /** + * Save the changes made to the table + * + * @return void + */ + public function save() + { + ($this->exists()) + ? $this->update() + : $this->create(); + } + + // -------------------------------------------------------------------------- + + /** + * Reset the state of the table builder + * + * @return void + */ + public function reset() + { + $skip = array( + 'driver' => 'driver' + ); + + foreach($this as $key => $val) + { + if ( ! isset($skip[$key])) + { + $this->$key = NULL; + } + } + } + +} +// End of table_bulider.php + diff --git a/docs/files/core/table_column.php.txt b/docs/files/core/table_column.php.txt new file mode 100644 index 0000000..259421d --- /dev/null +++ b/docs/files/core/table_column.php.txt @@ -0,0 +1,83 @@ +name = $name; + $this->type = $type; + $this->options = ( ! empty($options)) + ? $this->validate_options($options) + : array(); + } + + // -------------------------------------------------------------------------- + + /** + * Return the string to create the column + * + * @return string + */ + public function __toString() + { + $num_args = func_num_args(); + } + +} +// End of table_column.php + diff --git a/docs/files/core/table_foreign_key.php.txt b/docs/files/core/table_foreign_key.php.txt new file mode 100644 index 0000000..910cf26 --- /dev/null +++ b/docs/files/core/table_foreign_key.php.txt @@ -0,0 +1,42 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    drivers/firebirdfirebird_driver.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    FirebirdFirebird Database class
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/drivers.firebird.firebird_result.php.html b/docs/files/drivers.firebird.firebird_result.php.html new file mode 100644 index 0000000..5fc2679 --- /dev/null +++ b/docs/files/drivers.firebird.firebird_result.php.html @@ -0,0 +1,361 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    drivers/firebirdfirebird_result.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    Firebird_ResultFirebird result class to emulate PDOStatement Class - only implements +data-fetching methods
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/drivers.firebird.firebird_sql.php.html b/docs/files/drivers.firebird.firebird_sql.php.html new file mode 100644 index 0000000..8ac05cc --- /dev/null +++ b/docs/files/drivers.firebird.firebird_sql.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    drivers/firebirdfirebird_sql.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    Firebird_SQLFirebird Specific SQL
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/drivers.firebird.firebird_util.php.html b/docs/files/drivers.firebird.firebird_util.php.html new file mode 100644 index 0000000..e621dd1 --- /dev/null +++ b/docs/files/drivers.firebird.firebird_util.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    drivers/firebirdfirebird_util.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    Firebird_UtilFirebird-specific backup, import and creation methods
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/drivers.mysql.mysql_driver.php.html b/docs/files/drivers.mysql.mysql_driver.php.html new file mode 100644 index 0000000..85408cd --- /dev/null +++ b/docs/files/drivers.mysql.mysql_driver.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    drivers/mysqlmysql_driver.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    MySQLMySQL specific class
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/drivers.mysql.mysql_sql.php.html b/docs/files/drivers.mysql.mysql_sql.php.html new file mode 100644 index 0000000..4754274 --- /dev/null +++ b/docs/files/drivers.mysql.mysql_sql.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    drivers/mysqlmysql_sql.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    MySQL_SQLMySQL specifc SQL
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/drivers.mysql.mysql_util.php.html b/docs/files/drivers.mysql.mysql_util.php.html new file mode 100644 index 0000000..ed71046 --- /dev/null +++ b/docs/files/drivers.mysql.mysql_util.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    drivers/mysqlmysql_util.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    MySQL_UtilMySQL-specific backup, import and creation methods
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/drivers.pgsql.pgsql_driver.php.html b/docs/files/drivers.pgsql.pgsql_driver.php.html new file mode 100644 index 0000000..488c688 --- /dev/null +++ b/docs/files/drivers.pgsql.pgsql_driver.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    drivers/pgsqlpgsql_driver.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    PgSQLPostgreSQL specifc class
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/drivers.pgsql.pgsql_sql.php.html b/docs/files/drivers.pgsql.pgsql_sql.php.html new file mode 100644 index 0000000..6b9f627 --- /dev/null +++ b/docs/files/drivers.pgsql.pgsql_sql.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    drivers/pgsqlpgsql_sql.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    PgSQL_SQLPostgreSQL specifc SQL
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/drivers.pgsql.pgsql_util.php.html b/docs/files/drivers.pgsql.pgsql_util.php.html new file mode 100644 index 0000000..2f417c9 --- /dev/null +++ b/docs/files/drivers.pgsql.pgsql_util.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    drivers/pgsqlpgsql_util.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    PgSQL_UtilPosgres-specific backup, import and creation methods
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/drivers.sqlite.sqlite_driver.php.html b/docs/files/drivers.sqlite.sqlite_driver.php.html new file mode 100644 index 0000000..7a68dcf --- /dev/null +++ b/docs/files/drivers.sqlite.sqlite_driver.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    drivers/sqlitesqlite_driver.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    SQLiteSQLite specific class
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/drivers.sqlite.sqlite_sql.php.html b/docs/files/drivers.sqlite.sqlite_sql.php.html new file mode 100644 index 0000000..7e33ff7 --- /dev/null +++ b/docs/files/drivers.sqlite.sqlite_sql.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    drivers/sqlitesqlite_sql.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    SQLite_SQLSQLite Specific SQL
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/drivers.sqlite.sqlite_util.php.html b/docs/files/drivers.sqlite.sqlite_util.php.html new file mode 100644 index 0000000..e0a877f --- /dev/null +++ b/docs/files/drivers.sqlite.sqlite_util.php.html @@ -0,0 +1,360 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    + + + +

    drivers/sqlitesqlite_util.php

    +

    Query

    +

    Free Query Builder / Database Abstraction Layer

    + + + +

    Classes

    + + + + + +
    SQLite_UtilSQLite-specific backup, import and creation methods
    +
    + + +
    + + + +
    +
    + + + + +
    + + + diff --git a/docs/files/drivers/firebird/firebird_driver.php.txt b/docs/files/drivers/firebird/firebird_driver.php.txt new file mode 100644 index 0000000..cc65b72 --- /dev/null +++ b/docs/files/drivers/firebird/firebird_driver.php.txt @@ -0,0 +1,419 @@ +conn = $connect_function($dbpath, $user, $pass, 'utf-8', 0); + $this->service = \fbird_service_attach('localhost', $user, $pass); + + // Throw an exception to make this match other pdo classes + if ( ! \is_resource($this->conn)) throw new \PDOException(\fbird_errmsg(), \fbird_errcode(), NULL); + + // Load these classes here because this + // driver does not call the constructor + // of DB_PDO, which defines these + // class variables for the other drivers + + // Load the sql class + $class = __CLASS__."_sql"; + $this->sql = new $class(); + + // Load the util class + $class = __CLASS__."_util"; + $this->util = new $class($this); + + // Load the table builder class + $this->table = new Table_Builder('', array(), $this); + } + + // -------------------------------------------------------------------------- + + /** + * Cleanup some loose ends + * @codeCoverageIgnore + */ + public function __destruct() + { + \fbird_service_detach($this->service); + } + + // -------------------------------------------------------------------------- + + /** + * Return service handle + * + * @return resource + */ + public function get_service() + { + return $this->service; + } + + // -------------------------------------------------------------------------- + + /** + * Empty a database table + * + * @param string $table + */ + public function truncate($table) + { + // Firebird lacks a truncate command + $sql = 'DELETE FROM '.$this->quote_table($table); + $this->statement = $this->query($sql); + } + + // -------------------------------------------------------------------------- + + /** + * Execute an sql statement and return number of affected rows + * + * @param string $sql + * @return int + */ + public function exec($sql) + { + return NULL; + } + + // -------------------------------------------------------------------------- + + /** + * Implement for compatibility with PDO + * + * @param int $attribute + * @return mixed + */ + public function getAttribute($attribute) + { + return NULL; + } + + // -------------------------------------------------------------------------- + + /** + * Return whether the current statement is in a transaction + * + * @return bool + */ + public function inTransaction() + { + return ! is_null($this->trans); + } + + // -------------------------------------------------------------------------- + + /** + * Returns the last value of the specified generator + * + * @param string $name + * @return mixed + */ + public function lastInsertId($name = NULL) + { + return \fbird_gen_id($name, 0, $this->conn); + } + + // -------------------------------------------------------------------------- + + /** + * Wrapper public function to better match PDO + * + * @param string $sql + * @return Firebird_Result + * @throws PDOException + */ + public function query($sql = '') + { + + if (empty($sql)) throw new \PDOException("Query method requires an sql query!", 0, NULL); + + $this->statement_link = (isset($this->trans)) + ? \fbird_query($this->trans, $sql) + : \fbird_query($this->conn, $sql); + + // Throw the error as a exception + $err_string = \fbird_errmsg() . "Last query:" . $this->last_query; + if ($this->statement_link === FALSE) throw new \PDOException($err_string, \fbird_errcode(), NULL); + + $this->statement = new FireBird_Result($this->statement_link, $this); + + return $this->statement; + } + + // -------------------------------------------------------------------------- + + /** + * Emulate PDO prepare + * + * @param string $query + * @param array $options + * @return Firebird_Result + * @throws PDOException + */ + public function prepare($query, $options=array()) + { + $this->statement_link = \fbird_prepare($this->conn, $query); + + // Throw the error as an exception + if ($this->statement_link === FALSE) throw new \PDOException(\fbird_errmsg(), \fbird_errcode(), NULL); + + $this->statement = new FireBird_Result($this->statement_link, $this); + + return $this->statement; + } + + // -------------------------------------------------------------------------- + + /** + * Start a database transaction + * + * @return boolean|null + */ + public function beginTransaction() + { + return (($this->trans = \fbird_trans($this->conn)) !== NULL) ? TRUE : NULL; + } + + // -------------------------------------------------------------------------- + + /** + * Commit a database transaction + * + * @return bool + */ + public function commit() + { + $res = \fbird_commit($this->trans); + $this->trans = NULL; + return $res; + } + + // -------------------------------------------------------------------------- + + /** + * Rollback a transaction + * + * @return bool + */ + public function rollBack() + { + $res = \fbird_rollback($this->trans); + $this->trans = NULL; + return $res; + } + + // -------------------------------------------------------------------------- + + /** + * Set a connection attribute + * @param int $attribute + * @param mixed $value + * @return bool + */ + public function setAttribute($attribute, $value) + { + return FALSE; + } + + // -------------------------------------------------------------------------- + + /** + * Prepare and execute a query + * + * @param string $sql + * @param array $args + * @return Firebird_Result + */ + public function prepare_execute($sql, $args) + { + $query = $this->prepare($sql); + + // Set the statement in the class variable for easy later access + $this->statement_link =& $query; + + return $query->execute($args); + } + + // -------------------------------------------------------------------------- + + /** + * Method to emulate PDO->quote + * + * @param string $str + * @param int $param_type + * @return string + */ + public function quote($str, $param_type = \PDO::PARAM_STR) + { + if(is_numeric($str)) + { + return $str; + } + + return "'".str_replace("'", "''", $str)."'"; + } + + // -------------------------------------------------------------------------- + + /** + * Method to emulate PDO->errorInfo / PDOStatement->errorInfo + * + * @return array + */ + public function errorInfo() + { + $code = \fbird_errcode(); + $msg = \fbird_errmsg(); + + return array(0, $code, $msg); + } + + // -------------------------------------------------------------------------- + + /** + * Method to emulate PDO->errorCode + * + * @return array + */ + public function errorCode() + { + return fbird_errcode(); + } + + // -------------------------------------------------------------------------- + + /** + * Bind a prepared query with arguments for executing + * + * @param string $sql + * @param array $params + * @return NULL + */ + public function prepare_query($sql, $params) + { + // You can't bind query statements before execution with + // the firebird database + return NULL; + } + + // -------------------------------------------------------------------------- + + /** + * Create sql for batch insert + * + * @param string $table + * @param array $data + * @return array + */ + public function insert_batch($table, $data=array()) + { + // Each member of the data array needs to be an array + if ( ! is_array(current($data))) return NULL; + + // Start the block of sql statements + $sql = "EXECUTE BLOCK AS BEGIN\n"; + + $table = $this->quote_table($table); + $fields = \array_keys(\current($data)); + + $insert_template = "INSERT INTO {$table} (" + . implode(',', $this->quote_ident($fields)) + . ") VALUES ("; + + foreach($data as $item) + { + // Quote string values + $vals = array_map(array($this, 'quote'), $item); + + // Add the values in the sql + $sql .= $insert_template . implode(', ', $vals) . ");\n"; + } + + // End the block of SQL statements + $sql .= "END"; + + // Ruturn a null array value so the query is run as it is, + // not as a prepared statement, because a prepared statement + // doesn't work for this type of query in Firebird. + return array($sql, NULL); + } +} +// End of firebird_driver.php diff --git a/docs/files/drivers/firebird/firebird_result.php.txt b/docs/files/drivers/firebird/firebird_result.php.txt new file mode 100644 index 0000000..e98e71d --- /dev/null +++ b/docs/files/drivers/firebird/firebird_result.php.txt @@ -0,0 +1,298 @@ +db = $db; + $this->statement = $link; + $this->setFetchMode(\PDO::FETCH_ASSOC); + $this->row = -1; + $this->result = array(); + + // Create the result array, so that we can get row counts + // Check the resource type, because prepared statements are "interbase query" + // but we only want "interbase result" types when attempting to fetch data + if (\is_resource($link) && \get_resource_type($link) === "interbase result") + { + while($row = \fbird_fetch_assoc($link, \IBASE_FETCH_BLOBS)) + { + $this->result[] = $row; + } + + // Free the result resource + \fbird_free_result($link); + } + } + + // -------------------------------------------------------------------------- + + /** + * Invalidate method for data consistency + * + * @param mixed $column + * @param mixed $param + * @param int $type + * @param mixed $maxlen + * @param array $driverdata + * @return NULL + */ + public function bindColumn($column, &$param, $type=NULL, $maxlen=NULL, $driverdata=NULL) + { + return NULL; + } + + // -------------------------------------------------------------------------- + + /** + * Invalidate method for data consistency + * + * @param mixed $parameter + * @param mixed $variable + * @param int $data_type + * @param mixed $maxlen + * @param array $driverdata + * @return NULL + */ + public function bindParam($parameter, &$variable, $data_type=NULL, $maxlen=NULL, $driverdata=NULL) + { + return NULL; + } + + // -------------------------------------------------------------------------- + + /** + * Invalidate method for data consistency + * + * @param mixed $parameter + * @param mixed $variable + * @param int $data_type + * @return NULL + */ + public function bindValue($parameter, $variable, $data_type=NULL) + { + return NULL; + } + + // -------------------------------------------------------------------------- + + /** + * Run a prepared statement query + * + * @param array $args + * @return Firebird_Result + */ + public function execute($args = NULL) + { + //Add the prepared statement as the first parameter + \array_unshift($args, $this->statement); + + // Let php do all the hard stuff in converting + // the array of arguments into a list of arguments + // Then pass the resource to the constructor + $this->__construct(\call_user_func_array('fbird_execute', $args)); + + return $this; + } + + // -------------------------------------------------------------------------- + + /** + * Emulate PDO fetch public function + * + * @param int $fetch_style + * @param mixed $cursor_orientation + * @param mixed $cursor_offset + * @return mixed + */ + public function fetch($fetch_style=\PDO::FETCH_ASSOC, $cursor_orientation = \PDO::FETCH_ORI_NEXT, $cursor_offset=NULL) + { + // If there is no result, continue + if (empty($this->result)) + { + return NULL; + } + + // Keep track of the current row being fetched + ++$this->row; + + // return NULL if the next row doesn't exist + if ( ! isset($this->result[$this->row])) + { + return NULL; + } + + switch($fetch_style) + { + case \PDO::FETCH_OBJ: + $row = (object) $this->result[$this->row]; + break; + + case \PDO::FETCH_NUM: + $row = \array_values($this->result[$this->row]); + break; + + default: + $row = $this->result[$this->row]; + break; + } + + return $row; + } + + // -------------------------------------------------------------------------- + + /** + * Emulate PDO fetchAll public function + * + * @param int $fetch_style + * @param mixed $statement + * @param mixed $ctor_args + * @return mixed + */ + public function fetchAll($fetch_style=\PDO::FETCH_ASSOC, $statement=NULL, $ctor_args=NULL) + { + $all = array(); + + while($row = $this->fetch($fetch_style, $statement)) + { + $all[] = $row; + } + + $this->result = $all; + + return $all; + } + + // -------------------------------------------------------------------------- + + /** + * Emulate PDOStatement::fetchColumn + * + * @param int $column_num + * @return mixed + */ + public function fetchColumn($column_num=0) + { + $row = $this->fetch(\PDO::FETCH_NUM); + return $row[$column_num]; + } + + // -------------------------------------------------------------------------- + + /** + * Emulate PDOStatement::fetchObject, but only for the default use + * + * @param string $class_name + * @param array $ctor_args + * @return stdClass + */ + public function fetchObject($class_name='stdClass', $ctor_args=array()) + { + return $this->fetch(\PDO::FETCH_OBJ); + } + + // -------------------------------------------------------------------------- + + /** + * Return the number of rows affected by the previous query + * + * @return int + */ + public function rowCount() + { + $rows = \fbird_affected_rows(); + + // Get the number of rows for the select query if you can + if ($rows === 0 && \is_resource($this->statement) && \get_resource_type($this->statement) === "interbase result") + { + // @codeCoverageIgnoreStart + $rows = \count($this->result); + } + // @codeCoverageIgnoreEnd + + return $rows; + } + + // -------------------------------------------------------------------------- + + /** + * Method to emulate PDOStatement->errorCode + * + * @return string + */ + public function errorCode() + { + return $this->db->errorCode(); + } + + // -------------------------------------------------------------------------- + + /** + * Method to emulate PDO->errorInfo / PDOStatement->errorInfo + * + * @return array + */ + public function errorInfo() + { + return $this->db->errorInfo(); + } +} +// End of firebird_result.php diff --git a/docs/files/drivers/firebird/firebird_sql.php.txt b/docs/files/drivers/firebird/firebird_sql.php.txt new file mode 100644 index 0000000..48bfea9 --- /dev/null +++ b/docs/files/drivers/firebird/firebird_sql.php.txt @@ -0,0 +1,317 @@ + 0) + { + $sql .= ' SKIP '. (int) $offset; + } + + $sql = preg_replace("`SELECT`i", "SELECT {$sql}", $orig_sql); + + return $sql; + } + + // -------------------------------------------------------------------------- + + /** + * Get the query plan for the sql query + * + * @param string $sql + * @return string + */ + public function explain($sql) + { + return $sql; + } + + // -------------------------------------------------------------------------- + + /** + * Random ordering keyword + * + * @return string + */ + public function random() + { + return NULL; + } + + + // -------------------------------------------------------------------------- + + /** + * Returns sql to list other databases + * + * @return NULL + */ + public function db_list() + { + return NULL; + } + + // -------------------------------------------------------------------------- + + /** + * Returns sql to list tables + * + * @return string + */ + public function table_list() + { + return << d2.RDB\$DEPENDED_ON_NAME + AND d1.RDB\$FIELD_NAME <> d2.RDB\$FIELD_NAME + AND rc.RDB\$RELATION_NAME = '{$table}' -- table name +SQL; + } + + // -------------------------------------------------------------------------- + + /** + * Get the list of indexes for the current table + * + * @param string $table + * @return array + */ + public function index_list($table) + { + return << ..., + // 'constraint' => ..., + // 'index' => ..., + // ) + foreach($fields as $colname => $type) + { + $column_array[$colname] = array(); + $column_array[$colname]['type'] = ($type !== $colname) ? $type : ''; + } + + // Join column definitons together + $columns = array(); + foreach($column_array as $n => $props) + { + $str = $this->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 '.$this->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 '.$this->quote_table($name); + } + + // -------------------------------------------------------------------------- + + /** + * Create an SQL backup file for the current database's structure + * @codeCoverageIgnore + * @param string $db_path + * @param string $new_file + * @return string + */ + public function backup_structure() + { + list($db_path, $new_file) = func_get_args(); + return ibase_backup($this->get_service(), $db_path, $new_file, \IBASE_BKP_METADATA_ONLY); + } + + // -------------------------------------------------------------------------- + + /** + * Create an SQL backup file for the current database's data + * + * @codeCoverageIgnore + * @param array $exclude + * @param bool $system_tables + * @return string + */ + public function backup_data($exclude=array(), $system_tables=FALSE) + { + // Determine which tables to use + if($system_tables == TRUE) + { + $tables = array_merge($this->get_system_tables(), $this->get_tables()); + } + else + { + $tables = $this->get_tables(); + } + + // Filter out the tables you don't want + if( ! empty($exclude)) + { + $tables = array_diff($tables, $exclude); + } + + $output_sql = ''; + + // Get the data for each object + foreach($tables as $t) + { + $sql = 'SELECT * FROM "'.trim($t).'"'; + $res = $this->query($sql); + $obj_res = $res->fetchAll(\PDO::FETCH_ASSOC); + + // Don't add to the file if the table is empty + if (count($obj_res) < 1) continue; + + // Nab the column names by getting the keys of the first row + $columns = @array_keys($obj_res[0]); + + $insert_rows = array(); + + // Create the insert statements + foreach($obj_res as $row) + { + $row = array_values($row); + + // Quote values as needed by type + if(stripos($t, 'RDB$') === FALSE) + { + $row = array_map(array(&$this, 'quote'), $row); + $row = array_map('trim', $row); + } + + $row_string = 'INSERT INTO "'.trim($t).'" ("'.implode('","', $columns).'") VALUES ('.implode(',', $row).');'; + + $row = NULL; + + $insert_rows[] = $row_string; + } + + $output_sql .= "\n\nSET TRANSACTION;\n".implode("\n", $insert_rows)."\nCOMMIT;"; + } + + return $output_sql; + } +} +// End of firebird_util.php diff --git a/docs/files/drivers/mysql/mysql_driver.php.txt b/docs/files/drivers/mysql/mysql_driver.php.txt new file mode 100644 index 0000000..0d628e6 --- /dev/null +++ b/docs/files/drivers/mysql/mysql_driver.php.txt @@ -0,0 +1,69 @@ + "SET NAMES UTF-8 COLLATE 'UTF-8'", + )); + } + + if (strpos($dsn, 'mysql') === FALSE) $dsn = 'mysql:'.$dsn; + + parent::__construct($dsn, $username, $password, $options); + } + + // -------------------------------------------------------------------------- + + /** + * Empty a table + * + * @param string $table + */ + public function truncate($table) + { + $table = $this->prefix_table($table); + $this->query("TRUNCATE `{$table}`"); + } +} +//End of mysql_driver.php diff --git a/docs/files/drivers/mysql/mysql_sql.php.txt b/docs/files/drivers/mysql/mysql_sql.php.txt new file mode 100644 index 0000000..008efb7 --- /dev/null +++ b/docs/files/drivers/mysql/mysql_sql.php.txt @@ -0,0 +1,232 @@ +get_dbs(); + + foreach($dbs as &$d) + { + // Skip built-in dbs + if ($d == 'mysql') continue; + + // Get the list of tables + $tables = $this->driver_query("SHOW TABLES FROM `{$d}`", TRUE); + + foreach($tables as $table) + { + $array = $this->driver_query("SHOW CREATE TABLE `{$d}`.`{$table}`", FALSE); + $row = current($array); + + if ( ! isset($row['Create Table'])) continue; + + + $string[] = $row['Create Table']; + } + } + + return implode("\n\n", $string); + } + + // -------------------------------------------------------------------------- + + /** + * Create an SQL backup file for the current database's data + * + * @param array $exclude + * @return string + */ + public function backup_data($exclude=array()) + { + $tables = $this->get_tables(); + + // Filter out the tables you don't want + if( ! empty($exclude)) + { + $tables = array_diff($tables, $exclude); + } + + $output_sql = ''; + + // Select the rows from each Table + foreach($tables as $t) + { + $sql = "SELECT * FROM `{$t}`"; + $res = $this->query($sql); + $rows = $res->fetchAll(\PDO::FETCH_ASSOC); + + // Skip empty tables + if (count($rows) < 1) continue; + + // Nab the column names by getting the keys of the first row + $columns = @array_keys($rows[0]); + + $insert_rows = array(); + + // Create the insert statements + foreach($rows as $row) + { + $row = array_values($row); + + // Workaround for Quercus + foreach($row as &$r) + { + $r = $this->quote($r); + } + $row = array_map('trim', $row); + + $row_string = 'INSERT INTO `'.trim($t).'` (`'.implode('`,`', $columns).'`) VALUES ('.implode(',', $row).');'; + + $row = NULL; + + $insert_rows[] = $row_string; + } + + $output_sql .= "\n\n".implode("\n", $insert_rows)."\n"; + } + + return $output_sql; + } +} +// End of mysql_util.php + diff --git a/docs/files/drivers/pgsql/pgsql_driver.php.txt b/docs/files/drivers/pgsql/pgsql_driver.php.txt new file mode 100644 index 0000000..8ffc321 --- /dev/null +++ b/docs/files/drivers/pgsql/pgsql_driver.php.txt @@ -0,0 +1,72 @@ +query($sql); + } + + // -------------------------------------------------------------------------- + + /** + * Get a list of schemas for the current connection + * + * @return array + */ + public function get_schemas() + { + $sql = <<driver_query($sql); + } +} +//End of pgsql_driver.php diff --git a/docs/files/drivers/pgsql/pgsql_sql.php.txt b/docs/files/drivers/pgsql/pgsql_sql.php.txt new file mode 100644 index 0000000..1554518 --- /dev/null +++ b/docs/files/drivers/pgsql/pgsql_sql.php.txt @@ -0,0 +1,300 @@ +get_tables(); + + // Filter out the tables you don't want + if( ! empty($exclude)) + { + $tables = array_diff($tables, $exclude); + } + + $output_sql = ''; + + // Get the data for each object + foreach($tables as $t) + { + $sql = 'SELECT * FROM "'.trim($t).'"'; + $res = $this->query($sql); + $obj_res = $res->fetchAll(\PDO::FETCH_ASSOC); + + // Don't add to the file if the table is empty + if (count($obj_res) < 1) continue; + + $res = NULL; + + // Nab the column names by getting the keys of the first row + $columns = @array_keys($obj_res[0]); + + $insert_rows = array(); + + // Create the insert statements + foreach($obj_res as $row) + { + $row = array_values($row); + + // Quote values as needed by type + $row = array_map(array(&$this, 'quote'), $row); + $row = array_map('trim', $row); + + + $row_string = 'INSERT INTO "'.trim($t).'" ("'.implode('","', $columns).'") VALUES ('.implode(',', $row).');'; + + $row = NULL; + + $insert_rows[] = $row_string; + } + + $obj_res = NULL; + + $output_sql .= "\n\n".implode("\n", $insert_rows)."\n"; + } + + return $output_sql; + } +} +// End of pgsql_util.php + diff --git a/docs/files/drivers/sqlite/sqlite_driver.php.txt b/docs/files/drivers/sqlite/sqlite_driver.php.txt new file mode 100644 index 0000000..867eafd --- /dev/null +++ b/docs/files/drivers/sqlite/sqlite_driver.php.txt @@ -0,0 +1,153 @@ +statement = $this->query($sql); + + return $this->statement; + } + + // -------------------------------------------------------------------------- + + /** + * List tables for the current database + * + * @return mixed + */ + public function get_tables() + { + $sql = $this->sql->table_list(); + + $res = $this->query($sql); + return db_filter($res->fetchAll(\PDO::FETCH_ASSOC), 'name'); + } + + // -------------------------------------------------------------------------- + + /** + * Retrieve foreign keys for the table + * + * @param string $table + * @return array + */ + public function get_fks($table) + { + $return_rows = array(); + $rows = parent::get_fks($table); + + foreach($rows as $row) + { + $return_rows[] = array( + 'child_column' => $row['from'], + 'parent_table' => $row['table'], + 'parent_column' => $row['to'] + ); + } + + return $return_rows; + } + + // -------------------------------------------------------------------------- + + /** + * Create sql for batch insert + * + * @codeCoverageIgnore + * @param string $table + * @param array $data + * @return string + */ + public function insert_batch($table, $data=array()) + { + // If greater than version 3.7.11, supports the same syntax as + // MySQL and Postgres + if (version_compare($this->getAttribute(\PDO::ATTR_SERVER_VERSION), '3.7.11', '>=')) + { + return parent::insert_batch($table, $data); + } + + // -------------------------------------------------------------------------- + // Otherwise, do a union query as an analogue to a 'proper' batch insert + // -------------------------------------------------------------------------- + + // Each member of the data array needs to be an array + if ( ! is_array(current($data))) return NULL; + + // Start the block of sql statements + $table = $this->quote_table($table); + $sql = "INSERT INTO {$table} \n"; + + // Create a key-value mapping for each field + $first = array_shift($data); + $cols = array(); + foreach($first as $colname => $datum) + { + $cols[] = $this->_quote($datum) . ' AS ' . $this->quote_ident($colname); + } + $sql .= "SELECT " . implode(', ', $cols) . "\n"; + + foreach($data as $union) + { + $vals = array_map(array($this, 'quote'), $union); + $sql .= "UNION SELECT " . implode(',', $vals) . "\n"; + } + + return array($sql, NULL); + } +} +//End of sqlite_driver.php diff --git a/docs/files/drivers/sqlite/sqlite_sql.php.txt b/docs/files/drivers/sqlite/sqlite_sql.php.txt new file mode 100644 index 0000000..0d7cc68 --- /dev/null +++ b/docs/files/drivers/sqlite/sqlite_sql.php.txt @@ -0,0 +1,206 @@ +query($sql); + $result = $res->fetchAll(\PDO::FETCH_ASSOC); + + unset($res); + + $output_sql = ''; + + // Get the data for each object + foreach($result as $r) + { + $sql = 'SELECT * FROM "'.$r['name'].'"'; + $res = $this->query($sql); + $obj_res = $res->fetchAll(\PDO::FETCH_ASSOC); + + unset($res); + + // If the row is empty, continue; + if (empty($obj_res)) continue; + + // Nab the column names by getting the keys of the first row + $columns = array_keys(current($obj_res)); + + $insert_rows = array(); + + // Create the insert statements + foreach($obj_res as $row) + { + $row = array_values($row); + + // Quote values as needed by type + for($i=0, $icount=count($row); $i<$icount; $i++) + { + $row[$i] = (is_numeric($row[$i])) ? $row[$i] : $this->quote($row[$i]); + } + + $row_string = 'INSERT INTO "'.$r['name'].'" ("'.implode('","', $columns).'") VALUES ('.implode(',', $row).');'; + + unset($row); + + $insert_rows[] = $row_string; + } + + unset($obj_res); + + $output_sql .= "\n\n".implode("\n", $insert_rows); + } + + return $output_sql; + } + + // -------------------------------------------------------------------------- + + /** + * Create an SQL backup file for the current database's structure + * + * @return string + */ + public function backup_structure() + { + // Fairly easy for SQLite...just query the master table + $sql = 'SELECT "sql" FROM "sqlite_master"'; + $res = $this->query($sql); + $result = $res->fetchAll(\PDO::FETCH_ASSOC); + + $sql_array = array(); + + foreach($result as $r) + { + $sql_array[] = $r['sql']; + } + + $sql_structure = implode(";\n", $sql_array) . ";"; + + return $sql_structure; + } +} +// End of sqlite_util.php diff --git a/docs/graph_class.html b/docs/graph_class.html deleted file mode 100644 index f71cf90..0000000 --- a/docs/graph_class.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - -Query - - - - - - - - - - -
    - -
    -
    -
    - - diff --git a/docs/graphs/class.html b/docs/graphs/class.html new file mode 100644 index 0000000..7755eaa --- /dev/null +++ b/docs/graphs/class.html @@ -0,0 +1,167 @@ + + + + + + Query + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    +
    +
    +
    +
    + + +
    + + + diff --git a/docs/classes.svg b/docs/graphs/classes.svg similarity index 100% rename from docs/classes.svg rename to docs/graphs/classes.svg diff --git a/docs/img/apple-touch-icon-114x114.png b/docs/images/apple-touch-icon-114x114.png similarity index 100% rename from docs/img/apple-touch-icon-114x114.png rename to docs/images/apple-touch-icon-114x114.png diff --git a/docs/img/apple-touch-icon-72x72.png b/docs/images/apple-touch-icon-72x72.png similarity index 100% rename from docs/img/apple-touch-icon-72x72.png rename to docs/images/apple-touch-icon-72x72.png diff --git a/docs/img/apple-touch-icon.png b/docs/images/apple-touch-icon.png similarity index 100% rename from docs/img/apple-touch-icon.png rename to docs/images/apple-touch-icon.png diff --git a/docs/images/custom-icons.svg b/docs/images/custom-icons.svg new file mode 100644 index 0000000..c6b8037 --- /dev/null +++ b/docs/images/custom-icons.svg @@ -0,0 +1,116 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/docs/img/favicon.ico b/docs/images/favicon.ico similarity index 100% rename from docs/img/favicon.ico rename to docs/images/favicon.ico diff --git a/docs/images/hierarchy-item.png b/docs/images/hierarchy-item.png new file mode 100644 index 0000000000000000000000000000000000000000..c7756e75ac9fc933cbd3b26d0f2817d33857d15b GIT binary patch literal 236 zcmeAS@N?(olHy`uVBq!ia0vp^{6H+o!2~3GGZMc6Ddu7)&kzm{j@u9Y9{{-mC9V-A z!TD(=<%vb948a+tB_*jv$xRnHfpQ(5E{-7@=aWs$%+eI33=AhQX#}3tTDL~=wC|Fv zu%{hu$0B^+IX=i!aWC8~w073*RaN&Uv6)APHLbdN<3>b%>>TUAi;C*}O=q!*m27po z*1LM!!3v?DGncuq?yGJ6C|P)9&kpBM|CRr~zT5MTS-)Pmq&#hz+O8m*w9T6~{rmTK i_6>m}i>4eazx`$b{PnHj4|Gm%darcLQk;o* zf#$tx=CVf?b@LflRVgT`A4r>)ny*wOfBfV0Re8*{>=Tw{&Jvb7&^=Rj=FL?dSI+o+ zj+wDu!1bbDfvS@D-MsHb)4DtUth5UMD^ajC=%tzbteK)-Y1>$NqSuB6eNo_^)WOrR zY1Opp)8-WOJ21tpe#PamG$?X)*y`7bP0l+XkK@Tjds literal 0 HcmV?d00001 diff --git a/docs/images/icon-class.svg b/docs/images/icon-class.svg new file mode 100644 index 0000000..7dacd0c --- /dev/null +++ b/docs/images/icon-class.svg @@ -0,0 +1,77 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/docs/images/icon-interface-13x13.png b/docs/images/icon-interface-13x13.png new file mode 100644 index 0000000000000000000000000000000000000000..aa24fa96a487f029b3d4ce8c94d363450d4d17f2 GIT binary patch literal 308 zcmeAS@N?(olHy`uVBq!ia0vp@Ak4uAB#T}@sR2?f#ZI0f96(URkK{-HEu#$20vdnjmCqCCqTlR9{ z``_NTxAhrHntD@-v|F+sFBiRXjpPCa_N + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/docs/images/icon-trait-13x13.png b/docs/images/icon-trait-13x13.png new file mode 100644 index 0000000000000000000000000000000000000000..3c2792b1b1bd6b2ffed9fa34e05db2b7405c1503 GIT binary patch literal 340 zcmeAS@N?(olHy`uVBq!ia0vp@Ak4uAB#T}@sR2?f#ZI0f96(URkpP3?N+}ye3 zderN?20Z@Of&3c#Z@=H~WO&R%^mySNk6l@_p4G1U|05->KS%sy!2_jpLKim9y=2w0 eH#6MfJFD7!kJZ`Qj1oZ4F?hQAxvX + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/docs/img/iviewer/grab.cur b/docs/images/iviewer/grab.cur similarity index 100% rename from docs/img/iviewer/grab.cur rename to docs/images/iviewer/grab.cur diff --git a/docs/img/iviewer/hand.cur b/docs/images/iviewer/hand.cur similarity index 100% rename from docs/img/iviewer/hand.cur rename to docs/images/iviewer/hand.cur diff --git a/docs/img/iviewer/iviewer.rotate_left.png b/docs/images/iviewer/iviewer.rotate_left.png similarity index 100% rename from docs/img/iviewer/iviewer.rotate_left.png rename to docs/images/iviewer/iviewer.rotate_left.png diff --git a/docs/img/iviewer/iviewer.rotate_right.png b/docs/images/iviewer/iviewer.rotate_right.png similarity index 100% rename from docs/img/iviewer/iviewer.rotate_right.png rename to docs/images/iviewer/iviewer.rotate_right.png diff --git a/docs/img/iviewer/iviewer.zoom_fit.png b/docs/images/iviewer/iviewer.zoom_fit.png similarity index 100% rename from docs/img/iviewer/iviewer.zoom_fit.png rename to docs/images/iviewer/iviewer.zoom_fit.png diff --git a/docs/img/iviewer/iviewer.zoom_in.png b/docs/images/iviewer/iviewer.zoom_in.png similarity index 100% rename from docs/img/iviewer/iviewer.zoom_in.png rename to docs/images/iviewer/iviewer.zoom_in.png diff --git a/docs/img/iviewer/iviewer.zoom_out.png b/docs/images/iviewer/iviewer.zoom_out.png similarity index 100% rename from docs/img/iviewer/iviewer.zoom_out.png rename to docs/images/iviewer/iviewer.zoom_out.png diff --git a/docs/img/iviewer/iviewer.zoom_zero.png b/docs/images/iviewer/iviewer.zoom_zero.png similarity index 100% rename from docs/img/iviewer/iviewer.zoom_zero.png rename to docs/images/iviewer/iviewer.zoom_zero.png diff --git a/docs/img/glyphicons-halflings-white.png b/docs/img/glyphicons-halflings-white.png deleted file mode 100644 index a20760bfde58d1c92cee95116059fba03c68d689..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4352 zcmd6r_dnEu|G?izMxtxU%uI5!l8nr)ZF&&*%FGe4jtO*5mbhJzhV&et11z&&^B?xH$MZ007{+ZK!Jj01(PQ zJBFS4pH$0DefCd1HM@h*JNkcsi%oOXzj>qsEle$eQ7ApHL(XYdn5Y$Lk_3-J9p9d) zFeVfl3J47_g1XaoDXWsnBp9ZzZ74CI9RN-Nw{>+8A&#rBpZgc9WX2H3Ssv6doZP?t zS!g}lGvW1<9%?dj_G_x}3WUMN(8(x{a6_pd0yiUsf^67GGS50uSB*ORe5x6}qAf1z z@Q;2y4G{Lb?f21p)uTpChN&4q%^blZ2IsusUOhk)pe0yxPD6oHKXWSjv8&2pMdnegiQUtoXt1U0MmWAWu2&>3j$eb^qKNV z_(`JQZP&mXLT@U%-2rPy!7r|*Y1oAdlarltaUyq+yq^|d{B9_>t@Rd#@_KW9w_6P$ z^Dv8(Hi8pDJK{r0Iqq*va$cL=isZh0=1)wIoQ^vYPs$(rBz$+DY z`y}1}`M%-da686`}zw_w>8 z!BcqxVTim*F)-}$segV$ON*!Zl~dhX@Rz^K2Xurh<1-vjImult%O z!-WXvkA_agVuhluW};J;#r>)?^uHS;G?a?j;(z?Y^FTwOA?tzLFvQDf&X8}9s7Wh< znEfd_vPyF_V`?>kR`w_h@+%59oKa;NPVGUo52QjisO-|$cYE(VNmm#+`#T5a;gh|Z z8A0^l3UwQMn0J3xXWL7tY~OxAu=_hGvp@_%SZKA)ec-h-dfwIhS3jGBLL6e6Os;1LR zRDG&3TF`HV*n{&*H!oTSsLq!U5xV5!Yr6I_!*VhmwC3a2BOYfWH13AtVY|n5jv49e zcb0xCCZnt0i$>-S$k9J@-c!8wG#siu(Lgy_r1nfy+}!W9g-ucwp=&Hs1=Vs4i_q;dQL$8~Uq2BVA4o4uY!6}S`xH(Qec+{mJD~qgg@6W8 zipi@Z!ZR+Kr_)u&G);pG$tg$8#KPrsl&N3(m($NAU&9ogH9rVfW<4Mw>^7$&96g<9 zHQzekG9T5SS7DVm7EFY%CjChhfRyap4+d;+^0ng^B)~xKFG^7d2oOo|R8uY&S|X0@ znAGMb^rFQwGPTzsFQ8ZK4S@WO(8`6T+$Yt9{jGMd?jrTeb|_!Un`n9xDZu-fW+_aJ z4Uyy_$)`Ot!~doWUHW`(?F!iYvc5+g-(W9X<-tX*h%6(f;+A(OQ@w{WYSiq&pjKnN z)tSH~5g)03sKk)U+&GyP*?86fusX1ttpH1ng8ruC6UOddM~t>0wvZh}1cW%&7{tT$ zze(TwkA~V|_~nL{6YE#^RUC__Mx26zo*w(EfK2Q@R6xo`VkJKs^Eax`&*O*bw~*ap zyaqA_p(~(POY{H5+NIgewtB{|(%ML_wR8o);^XGTQ|{*J>74v>{_iyU;U*NTN}A%` z`8ltg(&furYlb!j%1ra!KPSiGmJ>f4c!bkAtjb_qmQ+aVB(QohO zRo@%)1krVtMPgkT6&3T*u`XO8pE&-!!u((3qVnraj|gN5aDxvqtrPs*MCZcO3i^Qt zI7$&BFr)50exhv11)82?u`ab0FgUSw;dpbnAtmz4k^&Nx`xMQ$5(JW}ry%)ry+DV> zS)TWjtXz7V6iK5$ghFuPiT>;;fAp)oy%%7grs4UwqU5+Ms96%`wU=YU5W-UGw(6iq z2GhB=Zw49;Yu<#7=soc@tZvYFIVNfkRPsCT&;76cYOONMwv!v*e#(X?l7eB- z&pWvVcaO;IKDg7C8bZ-+Hm`g>n_WC6%BL=CZlc``M{0T;%eYQ4t}V%m20okR=HET) z@)@WU_}tJOqiH7w2K%lpe0P z^FhhCX$ufUPCq4?C1A8ZSrVz=$~!VZ>;=kb8eaI;S1TKb|E9j*muthJe2||9pYYI$ zR@lkEo?K76^_v{llrL+?Swi1koJYJqG_-g!v?$ITb=q4#Rk--)fABD zh4Ibu7+f~5HEzy@7xoP^f$=} z+D3gYZ3W>%>m=U)p#UNOPPd&2cD&; zxb{vXTzpCjcJAOEA_~=RX^_BM+_BYW*T{zzM(3TosvFOmf6Kp0IerP4`MuBgFdrkZ zf9X~m0O$toCckMn8klZDxWKr2%FHNk1VLQE)$!{Hz9{*a@TaZjC7kKsC1dIUx*6AQ zJFZc8p~!CewW(VvE@yaTPFt-6n+dZ@TM582m7=-#9JoDOH#zYPe{)-Lza89t+w#Zd zvQ3k$)Q)mPF)g)_+v$Gqgq~*RwGeBn{vhp!IPgkixW8WY)H`S{&~om!keO$Sum=oY zTatGW#*O^aVU<^!#et91z~$IYa;_C@J7+V)`<1b_lh`8FHOAgc=Az}lf)k%5xTMrv zr6uV%eKaU~wvi7pU)MeB7HK z2D;27Dik%)-q@hK-!I|N(cl`lAF^EIv0C-t$d1qtFnKIkcMW<4b%Lzf3Y+~~qB7`< zj);HTQS0Oex%zA170>?kRVA_m_*O?rZRpS3v{+O+cifN7Eb&>$Z==vGKh1V)C`qGu z_u8y<#N3Wp&$V^@T??GnE&RN^IyXM)r0h(gS3;b2pt0O!eNIt4{;3H~V5Ln7vs>8{ ziqqZL4Nwlvj4CtEv0>;Fw~D>LB_+-ecI)tiR%a!^GI3BawvNQGz4#b|_df&`e||2k;K}WnvU!Dx=0#ue(=U# zK&pYNNf5RQZOveUm+;dQ*FIA0&#`?@z*bBhUgr(n9_FpoHPB2pI8iMpW|sF*D{+75 z-k;nba~m^}=b7P$FAF1)S!oDKtNG-`%h{XQi6=SMH5GZ%8j?ugqt~!K zwvA_m(*=EIssFVW0EZ;o=u#R5gBB$CUL+->U32;2PM2O(drij20XBy|hH+=bu!0*KIKBj%c+ z^{)B`3$NB2yp-IHf02C#Fw!(;S&rR%2Pq(!<`Q=u&+_V4eCe z?!d0m@ndhMu%QZ`ERBCD+uU~%h>+E^Qd;Cz=IlGV(IwUrOz(+1Gkd7O z$HME|^+mAGBc4k(2jEj5$g30r-BUoK@Nn!*Td)5USoe+IZ-x9)#yd)sD}2Z?2{4@) zb|)xsK&pqOpB;+H#gbf^Pto29M<2Y>dU5pAF4p{+j=oBZ$2EXA*xI~AM@g20H7o_x z{2-Kc;SRpcxLXzU)a53ZoX%ndB^i8=>Sf&{i6CYkGSkvLj0<@C-!VKm#iX8dws__S zKp`T~rIAfaogJ!tV(~rs5)ctD#A};YXgPNI`<5=nWQjnIf<=1Pzn2y$C8yUkFKhwM z@%Ah?L`DM^@d<2evu->Oo=SVaiR<1GjYwe^G2)XY`l$Q%4H`|PpFA($N_8=6uOr0s zj+)C5xin zwn`&QQOr<`27|~lU*GNfe)r$+;%v`3=Q$VW;ymZMrG+ssw-7e~0K7L%46Ffwh5XNs z<6`?KHS^P-{ZmgZZ@~?jOs2~JH%~nY@PG5j1zTI#0Amn(L8qe2oETm=+B^jogFL!D zS!ISRHW3ybWQ6o&?2=byQi)JhfBSH9PzL~<0B#!S!^50cUq25lRnLyYPq06zWw>~J z`$KJG?wJet%MCZ1y81U)c?UzG;{mBi?no2aAHvt8L__Xy66K$DAupSD_4^VSeG;vA zGhrY7dmCA}Zg<=d*dvUYvYMo40k!iu>o|-n)q^ld6Q(6yBtUWr1GY<4vK2?uoeS|r zT(a}}&NC3;#Lv8{0Y$f=#j|95fZYUrx?foCUQ)KvUf$-LSb+6D%%)z#|1KO+ZTgw~ zNbE_n|4p~xYoc$edOQF-XOS;%evzdNi3 zk@(r9h#R5FpacG)j3VDRRz>g49u-o5A=@X`M=nQQ@W&MqFu3+}8)vIJyezf?(vDF#3iq72Yg1rU0$uCw``L1fzH6tU=MT zJ)FP#7~BMLoosB<>)Y`BnyxN?%PW`qwa_nrmk;P<^+|3lA$cC z!KnRdI-*8rENgl-h*t3^hviocbR?_BCX&(%?-)#H*`RRAUES@w^(0ey@bvFIq^EE0 zYIYPpa4Xz>{9(cUIq~=IuByDHtJskc@OXkoyhOvqjT$BRxhihe#hq<$(TaV?g(bYx zzk*$b_y4xdrKd-u!#@W)7x%!%FE62JOZu)fTpnAUKW94KXQKo9lR9BoI`nN#BVNL^WLc-2PBnDb`!FkQ6Yw zt8#VMCqN`vOx>8A-pqa3!sg7$vF4w|C29%3h5O_{d+D-|gED!U;S&A}5QU_Uz%?vp zmMBIPvj7qQQG74PJJYIU8KAgcJcJvNO0O6=%8w|@chXvpUX6O34cERMj)m?X)jwit zWYksusgx8zcrOv1Kd4Cm%yUoW#?wfM-ee=?*pXt7dUvyZrhI*Zx3!VQzm2&Dk2i(z zv;J?=_W|Z`2Nb*9*m`XJ^1ixr>GY^eNXXM8UzHKbJ%`E&g=nC-&t%U{b2>k}4 zM^eC8z9@VJ)NO6~zgW94x7psn_*GsP&AXPV>|c7+3V*`GDl?NuNHOr8_5jSBY+FrJ zxxFy&omakmacj-wPLUexLeI~s2^i^7jdiy$lDh;U-ze^bf8Wq&_j48xx9sRj~I0?AI|l`&NRKa0xj_M7{QQP8x>W$llZ# z^2}mA)Bep^+iA@Qw-LK1wT3nbnW#j??18HOX9M~EwO_4MW54*U(nB|yBja(g7FnMC zblZNR)Y{`EcNWNZ9&#=!$@W#;-?`_@7{fb;%BTGaNt!jg%h zP{`+<{G!`T5|=OLq>Z*{Z2O&8zMn16ACVB$Qm``DYk?tjJdb2uC7aci<-`J?E%OU+ zGrN5UtA#%|w#4Z;NP?k$>n!<|SrjF%qnK36 z-X#tb9{hRfZswTsPVZBN8H~75sHKLYIz~6u+pKzy#crwlQTpM#$E~+Abk)TD#sz#v zXX8Go`ZaF>B8Zu%M9U<;>RXE zbfFb@39Y9#&~E%DMKl*GIPjFwcNZ7nuMbVEpA0WbvBjM9QA!sp{YiDoe131&NawG0 z)w7{^`zTTBX*b%&r|n~U@dMgnxo!))g;D+Qg=`Xw5@VHk^{hiH?Dbc#u;gsXHzn0i z2)8o6*&Kl>6tpGG-xYvB-r`9coW<<#c<0|E=wQpY(XerrkkfVOt!t*N?wvbI|9F@&~JQ7q2jXe2H zCW^MvkWX8I-=%fo@BdI{A^py@pAB`shd&A{*amKE*X!a7A2Yu?Z%f;af$36@t#hgGI$UAqZQr>(vfUM3&C0L=d07kpTV z65hXXqa6SYLUvQ%beIm#w8HN~d3!4?$?iB2Owr|ut8l>>rMSqaZB}JGncrpN>H)eX z?`{XC$$(nou>9J>y&RJ_GCHrPS%%Jr+GeZ-p;^lV`1YLmyxKN-u#7+}dnx}N%zgXH z$CV1rQyi4eN)t(4&9Ix9{_jMeW*4;LYis@>9EQ2Es^gfy-VKyn0lc8i{7q3yuQV}F zD6Fom;2?qz@ukzYpge~g8?BAWbC}{;E82F=WrGc0;?er)DQ&9VG84bSn{>9B(k zwM%!e%*jQ~?@0DuS;yYC#^~O_E+}d7VN;GP%ockmCFlj4DNZ%yl_X-Hn$v_=+Er1z z)xF^ugN@xFweaki3bVXB3?uwjsn55RD1&YMi6B+jBAEU6|0Y1ne zLxbyOnkM9BHX2f}bHa<7WG>P_pz=aP(B)D(uo1i&yvId9DaA3GTsK?WdG%g5Q5z-% zUfT;wH`Xu@LDvM>F<4<`LiFUdk7UO)oS&1>Rnv!81;V#S1gZ^;byAIw5fmjY3m)nw z?+@SmlmBCWV>bFM8|-jGB{WLeI3o9DaWo<)11@8`kh*v=cN0DNB+st4sz6R#2I0qi z4c&8ZcAexDoiEyzoZJ((D9)8bG%^Z+MCs@_Q)++#Uvn&7#CI<7^ioFM{2qLTEAfMX z#1kD>oACS6EsTK8F}{R&pahvhyt|}$lX5-EzVP=!*jL*U(=7^7%UUF#`g>m(9)4uh zN+-O*&B&PgYQ520)x+!;$#)PXM`Kgq-o1CQLPsDGuSVi?k7|gIEtmv^WewHMkLAio zl1Us*ZM8T5*j_cED4OCIiNDZ{(dj&{3{g&T+~4Y*L((GimlI~v8Q&*2;zNurHxdEX zDgWY5T-u#~Rw6AH53<&eUOA_3sJa+<`S@61`0Z+&gPPC(dA9xY-3vCHs+QQ8y<*H| zq`~2~B6ACGIIhlq0$V=$vE_&HDcwxCpLD6$_1>ZT*h{SQByL1NMw0+fOj?Wz& zFvJdbQkbJBeJ=wX#hUle7%rUXR$4yPWhM|#t(`DrC+d#^K8*!sRn%{Eee5S%bqSan z?Gaxb6y6;Dw^4Ura3@7~UnV3ahsAZxfc!%uwqZbo@PGj7@>ji1sVn}8fiB(aiz~Jo zTDXK*@oVh~gVo^Iu~o8PQNMj6)RalL?o3^H@pnjZNLWoX&@@;gDJHvX&C-&SZCkAF z?Pux@B3eZQ037cWb&FZMuP+XLz1yG`s8)?SoCs!ygWlxG$PB`Eka2i37Fv)TK{|58 zJti;S=?xo)8?eTei(HD#f`Jq8j>vX~5NRzRU9sf_ z>oxtdr~$>ax+OJ;^X)vsSztp0JYJsoQlX{)JP`NN^%4mv6u3oW-hBTdM2W@5-Fze> z9n9nd!;qg7R6d&M#&&}CPAvA|mF^4XPltG`XZl9!t)5o^flxcEGJRDAZjOjF zQ0Iea%DG$E3bP&!(93|2RCY3l5t3s3J*JOik0=hGeaJ@3@H8tD7CVRqHg&`+R3j0a8@kqB}PI}{$m!yRab zvul5lL(>3*TF>n~)*#hsmwUTtKRAA2Fnk0PENdI!9GrZLu@zyKzs+&m-IKFviqv>& kg1Lm#gqI~e;$iYPkmG5c&N-g{UI@TVLkokN>#mRg2V?7pi2wiq diff --git a/docs/img/icons/arrow_down.png b/docs/img/icons/arrow_down.png deleted file mode 100644 index 61505adc46d8fa4156d9b31831ebe6770f0e2757..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 606 zcmV-k0-^nhP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2iph( z1qcLRmoAwA00G`fL_t(I%cWC2tJ+``e%^eL7t$KUBw$9t*+0;sKcG;!o#ftvQ=v=O zPEznkbn((fBwn}RP@zy12dlPS%uu3(Akjdnjb!m7Z{AKf?FH|p;Io_q=Wq_^JkLWo z=Qsxf&cxXRNV#0TVT@UX5OB_sBngrvNpr^7o%nCPR4T2dTrT%m)3hhWViEKC9B~|j zF^1#uh$Kmn&1OL6a}1fD2f7I*U{_szDuTQUi!ZOqfjWA01!nH;yA``w*%)K zs;Yug3Q-h6DTN>iAcUaZZvWhDHqV4=wffsM&FACsIL_zuX_G9=kR&O+_4XuD6w&YZ zlPHQVyWQ?u0DxMp_GP_Z-y9AHSe6Azl0XPax7|XPWh@p8ESJmcPN(zf4hxRsTn&fA zuar{gx(-1QAP9d+5=9YV7-BM+jB~l%>ytFDR;#zJ>#hvLKqiw(w{yPNyJ*ytHlGe^5w{<6H+p@P5DF!?G;MvWzec z5d^`9X0!S6zm#a(_8ZrA2b!kAG);J(_suYjSEqWV`y{Gq+Kbt2=5Dv!N1CQx)a!M2 sQpyjxu~Ml#WsK2AqtU(B3+LMT58IsRj2DXS7XSbN07*qoM6N<$f?9MBJpcdz diff --git a/docs/img/icons/arrow_right.png b/docs/img/icons/arrow_right.png deleted file mode 100644 index 60c5927ebf63f388b45315cbc4cc56a77b9f903c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 628 zcmV-)0*n2LP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2iph( z1qT;gv2%z300Hz#L_t(I%axPMt5Q)EhkyI*EgldQ%_FEFNFoiwK|$ce2O<`vO%-#J z*f5+m4E!U)pbO5VW@l24A`$5(O~gT>V;_X?vwa*%Pb1@|_l9>(HfyjxzP0vRMAI}J zBA?HH1aP2?dagoht>5TwNDO6R(YPG_8y~cXI2Im}{b9lX8_ zilTha<#MhY4K|w%7K;TIiv<)#fubnjoMSSXfKrNJF!)f@w4a$w<}m=UV}t2*irH)i z#ux-a_&XQ9UJr-E0ZJ)MCKDfz$D3;n4h4so5CWso2)Ek}0I1jNHC0vbmrA9tCkBKN z=yW=Wq6k3{z!-zoYK0_8=yW=};c)o2TrR)5TEmVFD5YSGK@>$e91e)0h*qoB@AZ0b zWLbWH{Ea67#u&_IGwgOdw%aYL)#{IazyG>ct9`j{4^CR}cs$tcc4#yjzXyZC2U(V% z|8JH50ce_rZnulkX!Ofwvpp*oi2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR4`J+jIM*dB6Xqg)}~| zJoCIb=eAt%N2Sc0*LR=)Gr>jXc+U1{2EKOY&`?3wi#H~`UdZcts5G`~(Smi^VXH-t zNnA2H`u*=l#_~yWzkbC{@|eWZU~_(X%TKE^b)f2_P*>quOSp`{Hl;21nz{an^LB{Ts5!Fr;& diff --git a/docs/img/icons/constant.png b/docs/img/icons/constant.png deleted file mode 100644 index f5f180d5a9b09a19b5ae44ad64a1fdceb6a86d7c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 496 zcmVrl1?U*0YQ8KBh3^hnN3W5 z2%|~HXz55n-@#z_4GhF=O%)o!1~F5NWx9pcZ;~F+?Pl3!f;~`hPjKs2om2M?&}Yi{ z)a|hNOZ<{ll;no}Bk)fO?j?Pd^dsz_V-;AIg>Bmyh7qUYr=-X5?0(D-NtDZF=JPoK zm&=9SZbzX|h$DHpwjoI*lSww44g39`Mx%jgn$+ucGMNm9VNk2pa2$tryNzwzJxRTg z;8l{SR;vIEhr`H=-EJ4(_i-GD)oR6Jv3R?-aYHZ~jUoig<&w!{f+RYf4giC};OT}S zkx1Zq9*4t$R;z_&Su~qXve_)-@tE~`O*);X-|ureoq}Sq`0d7mBub?cv)PRE`3%5z zyCt8`Q>j##PN(?3kLP)~uKN-h;x$auB$vxYtfW$@*foCnJuN{HCvYhz#zuJz@P!dKp~(AL>x#lFaYJy!Tsagqt+F;zg(Vd_Ma3C z(nGFZm^~mf*5 z)sz1pn_UOj3v?y|2J0zg2h4lZXZ~Oq6V)2(>o0PAi0Mp zcm2O}aQ*+4X;%Lqp4$EY_?&u@^n?8R{_$;a_<;NZ^2eq1Gykv3ut72B2M+tMZ(scX z!_&L}cQnO<)vrjkgy>B%C#)Z+=I#Bf|8MMChN2ecXJi`Peo$P2?0#|mG=^J|^}*N= zPwo1DaqZOq$7k37KfSmE=*JoV_w{7|UykNZn0k89t1|6?Zs{cGcU*1(=|3{P60d%I dd2d6B_y4`!nK<=Rk_TaW8yL|`1mgK1y#VW>cs>9C diff --git a/docs/img/icons/file-php.png b/docs/img/icons/file-php.png deleted file mode 100644 index c323f09f66241a28d61f1d2c8e90be0a68126bb6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4017 zcmV;i4^HrjP)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl*neeosSB zfoHYnBQIkwkyowPu(zdms`p{<7e4kra-ZWq<2*OsGTvEV%s0Td$hXT+!*8Bnh2KMe zBmZRodjHV?r+_5^X9J0WL4jKW`}lf%A-|44I@@LTvf1rHjG(ze6+w@Jt%Bvjts!X0 z?2xS?_ve_-kiKB_KiJlZ$9G`c^=E@oNG)mWWaNo-3TIW8)$Hg0Ub-~8?KhvJ>$ z3*&nim@mj(aCxE5!t{lw7O5^0EIO7zOo&c6l<+|iDySBWCGrz@C5{St!X3hAA}`T4 z(TLbXTq+(;@<=L8dXnssyft|w#WSTW<++3>sgS%(4NTpeI-VAqb|7ssJvzNHgOZVu zaYCvgO_R1~>SyL=cFU|~g|hy|Zi}}s9+d~lYqOB71z9Z$wnC=pR9Yz4DhIM>Wmjgu z&56o6maCpC&F##y%G;1PobR9i?GnNg;gYtchD%p19a!eQtZF&3JaKv33gZ<8D~47E ztUS1iwkmDaPpj=$m#%)jCVEY4fnLGNg2A-`YwHVD3gv};>)hAvT~AmqS>Lr``i7kw zJ{5_It`yrBmlc25DBO7E8;5VoznR>Ww5hAaxn$2~(q`%A-YuS64wkBy=9dm`4cXeX z4c}I@?e+FW+b@^RDBHV(wnMq2zdX3SWv9u`%{xC-q*U}&`cyXV(%rRT*Z6MH?i+i& z_B8C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BKT#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=00004XF*Lt006O$eEU(80000WV@Og>004R=004l4008;_004mL004C` z008P>0026e000+nl3&F}000EcNkl2m;0!ZJ-o+356@I zw3Y_?!u5KP>-BDD{IIvz>)DpBQE`&Z?C#9Y^P6X$o##J7DaFk!A`{?^ms=>z2?dI~*f68DYAyE>tCTMJ~ZSBZx9}yrvC`rT>N`VmOJ55j4nm}mgy{?&! zB3Ub`Fr-3BkWyhJAdxViT^=zapvFxuBLXN1N}01zDtT|1Z8AAS07I(O%q>son!w=@ zXqrHGfWu+dC>sDWt+TX@*nkij5Lpuh$_{{KM9Se1Fg^$iWC%joTLOl8AkCn%2VsJM z!=c#(NE%jhIE1wn__Xd_%1iH}YDzUe zkB4%fhuqu>!u{~xTTM)_9N@vFm19CU#-iJ{DvDDR4WP>8l_&2Cvp0;I%C^Ha8*#J3juAGS4#h?&@Lx-YCaT z|ICVKbXKj)Vbce*2#2AkyO-@d*Yb324k8PleOc$J7js$qyrAJ+kS}+HDfiT{{hh=1 z_krIUB;W2n#IfT?2?m>KYTnO^M^;m}P0`kQhG6FjO8tJet_zdr%%`d46vej&`1)0XLr+h^fce?Y2f5hr_H}WLL}bJk+YvMND(D0;kLpHoI3RtjpsjS{*09bTTb9~ z=FoWh0C{=Yg!@CBIp4}FJIm0s!}MP%puXoLN}_q(GiBwd9vCGC6mzR5V|1_P`-Z~^ z2I+|$r?TP!^7JaYnikL<>twp`IWAoaQx(|A@iTjvIir}#6IWpL&E{ZzI|e!n7Cy$T zc`o}wxOPo7y`gL#j+Jq#?L3b^SwsCd)f}mh=yczr!}p9F}~ z#zb;hx@03obECYlz7iv01Hf|E#toJ1t8Aw6@B+^5o5$}BjT93lzp#k>!UCMRE|fF~ zUG3-BFAC}F4dc_VQ*r0r_~!?hb6AUUaU;p;xRGFx5;P6wO!HDT-OI(x5!x9Ftd~Of|JtfnIQn0ms z4}&mB$+&TEM45ubT9Q;|R0_i|m%w^wWkE|9suj5JaEzdRR=7z4U4m{^cCOjugKnx=^{PfON`DN}?+!0m5Y~9sd L;uWgGz+epk&R;19 diff --git a/docs/img/icons/folder.gif b/docs/img/icons/folder.gif deleted file mode 100644 index 2b31631ca2bfec3a8afb1bfdd4f8ed4c5bcc3a18..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 106 zcmZ?wbhEHb6ky=hKW2GJ7 I#Kd3?0MGg2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR4c?q7?3B2Xp1x8ImHETXz54QVYrPgqHx8=(z e>Gl76{l!*pI92y$_dTH37(8A5T-G@yGywo6mxkK_ diff --git a/docs/img/icons/icon-folder-open-big.png b/docs/img/icons/icon-folder-open-big.png deleted file mode 100644 index fae384ef4df761b2d6cc250ed5787e430ae91663..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 232 zcmeAS@N?(olHy`uVBq!ia0vp^azHG`!3HF+C+nOCQtLfk978H@y`6TEw^f11_3i;d ziGzYN2L&Zg3QDws(66dq&SgShn{Thb{zRo^(j5Lg&dD7z8Ed<2HaxncvF_0qB|qh( zD^{Iwcon{}=b8RLEj=%X$?owoQ+czMDqpDz@out+{J4%~%}Jdw83lFk?!Av|@026WQIOdE8_{3R(~E4X}F}*cK0{Nlc(N@tWx{N75ZIyLFkD`ce?_+omU+4eIu&X fef&+H?MME!>ysALYPH`1I-SAO)z4*}Q$iB}E$LkN diff --git a/docs/img/icons/icon-th-big.png b/docs/img/icons/icon-th-big.png deleted file mode 100644 index 04b0ad872a98de63bc0e300e627ce69a2a209471..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 106 zcmeAS@N?(olHy`uVBq!ia0vp^Vj#@H1|*Mc$*~4fhMq2tAr-gYPBH{4<6!#zfBD*P z%ML8Ga1?(i);mdUy45w?2d5KGCQHxw$nZHi?xXOW{3u1P>qQzNK+O!Eu6{1-oD!M< D6}BRE diff --git a/docs/img/icons/icon_template.svg b/docs/img/icons/icon_template.svg deleted file mode 100644 index b0428aa..0000000 --- a/docs/img/icons/icon_template.svg +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - Co - - diff --git a/docs/img/icons/interface.png b/docs/img/icons/interface.png deleted file mode 100644 index 51a3a1762db628e8cbbfb4d933a74b4d962d2d7e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 281 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR40E|;Z~{{z_~j>MQR++0q{n_jdZ_~Xzv)82ln zir1^4FSoop)7kP4q||D^oYExqqT%4L-+qnX2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR4|3mlps%(3Z75trJZsonk=m!SRtUbjIcd*Gd{GD-MU&5kK`Fd$; z&qe*M;R)u)+B55zu54SYqS>Xy$aOeCxaR(R@13(xM|fE^lFf7PnUNSzTjBx@u1_}0S82W4^{;r-{cRJTTl!v}kb2YK z*1sl?dBGmby>EB*DR3}+u*rYhnEoKO=X=4viDB0(R!$ZFviy;n_U!uqz48-dSM>2+ S-W3cC0R~T3KbLh*2~7ZLUYG9x diff --git a/docs/img/icons/ok.png b/docs/img/icons/ok.png deleted file mode 100644 index 39f287ab19b8bcdc156ea56355a95290d04f0ee8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3685 zcmV-r4w~_aP)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl*neeosSB zfoHYnBQIkwkyowPu(zdms`p{<7e4kra-ZWq<2*OsGTvEV%s0Td$hXT+!*8Bnh2KMe zBmZRodjHV?r+_5^X9J0WL4jKW`}lf%A-|44I@@LTvf1rHjG(ze6+w@Jt%Bvjts!X0 z?2xS?_ve_-kiKB_KiJlZ$9G`c^=E@oNG)mWWaNo-3TIW8)$Hg0Ub-~8?KhvJ>$ z3*&nim@mj(aCxE5!t{lw7O5^0EIO7zOo&c6l<+|iDySBWCGrz@C5{St!X3hAA}`T4 z(TLbXTq+(;@<=L8dXnssyft|w#WSTW<++3>sgS%(4NTpeI-VAqb|7ssJvzNHgOZVu zaYCvgO_R1~>SyL=cFU|~g|hy|Zi}}s9+d~lYqOB71z9Z$wnC=pR9Yz4DhIM>Wmjgu z&56o6maCpC&F##y%G;1PobR9i?GnNg;gYtchD%p19a!eQtZF&3JaKv33gZ<8D~47E ztUS1iwkmDaPpj=$m#%)jCVEY4fnLGNg2A-`YwHVD3gv};>)hAvT~AmqS>Lr``i7kw zJ{5_It`yrBmlc25DBO7E8;5VoznR>Ww5hAaxn$2~(q`%A-YuS64wkBy=9dm`4cXeX z4c}I@?e+FW+b@^RDBHV(wnMq2zdX3SWv9u`%{xC-q*U}&`cyXV(%rRT*Z6MH?i+i& z_B8C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BKT#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=00004XF*Lt006O$eEU(80000WV@Og>004R=004l4008;_004mL004C` z008P>0026e000+nl3&F}000AkNklFk8dWoJ3jEU~XBNtL9cKTeyi??hwK;af`L)EJ3Tek!gA;-c*D;LGHMx zd+rCvabVEharf!JGL{ZB|LC)Q|N4IS+WY(C^ZGJGgnLmk+@oUe7QiXHx{X?<4kuA<{B9}JH*)E%HFP7mHP}9&od%Rlf8*q z!+Zb$Afh`O+-K<7+OmbDfJiSKSVgLB3fgw0hB97Gi?JmryQ9QHEpw(qw?6Bg(s!}7 zeKXFE{)(}LFi!hB5Q_kqWaR%yp))BPw6%&sZ3~-qtE9?3II`MQN>V_ib#1H3(5xq+ z8FYVxh90O)rj+M(9}&^tM}a!LU-9i4YO)+4ZZF(IGZa&ynkJZv_b($UAX4S2axxw@ zkp8HGGQOTenhKucp2Amu@rVf8Ph}fcG#19Xq;n(%MEbB}C!r3#H$(NU+>U}TA0a6q z(w6g;RCF?r3@3Gz+m=oVRVtDf;l$1B!N13>Ed646^!UJcBn3n|c(tBv!5(_^r)uIG zVJ0FNzE9j>+`o{dfJkq5zd>c@VltZ3so>NiN~(@0+0*Epx;s`LW^-ecBx@B9!8&mj z$^2aW=xN7m%QnN~b?0Zcru?uVl(YQc+C!)x-Uk<)2na(+q&cu18-y=7+#hYH{HYf# zXA2o~LY(%A@!?SFCE+{-PCyc$f-7SdY|MWJlGVSUuJm)JWxNTFXg}Pn3u;b{f#VV! zu0c=4MDzab2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR4s{THbdS4@;+_CX;D$tbHv@ zKP(rqp0u=bnyu9N>Uo_U!3Oh7Zadn=h($1khp%^iqRq~oz#S8__oGZpqDG*IrvS_P zm_Ll!$Jaa8F?rnHX0#wvO7rxmnI~R-l$_UK=yu6u>Z(;oqO_x48#da0c>LqwX@$Pz zE!R{$o3>8d_x|{%8;t44x6gB!mU^YMH>hio#*1C=ayPx&XmD)8^Pjt|-QV41uvi_g zKK}vBAFH~?^X!>hdhhpbO0T~$$K=%J`v1M=?h7VQI@kXa7(5INp00i_>zopr0G5Z5 AIsgCw diff --git a/docs/img/icons/search.gif b/docs/img/icons/search.gif deleted file mode 100644 index eef46fc9ee10547bfa2da348f81b4c83f19e65a4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 152 zcmZ?wbhEHb6krfw*v!MQVZ+APuU|iW_~^rj4_mixJ96acuV25;ojZ5^`i(nx?(W*P zd;k6e|NsAIfC0syEQ|~cJPbM@0gxFCEUptydamAU5nbG%&zz z##7bH4$=1vId^*V*v!xR>*{?7mqKrCnmdg!}G z=IXm8Sn&!;akH?purU1n%JB2k%b%|wU4DOV*XpD9FQ1(YRJQ}B0U&^o4e)SH>*-Ur zh)`kY;$&s`_k)2EsF{J8m4Sm#kV96(KvF=6-{ZWnu*|swyBJ`G00a;d%-Q;G(RnJC zk*X~0{H%Zf{A2k0_b@F4v6je+t14+fASCR#!a*Y7?B`u`upwYzT_j5PRxk@1k>@6WFcf574M53UU$ zfM5nZ{PpG4FOc(@{(fdKQRiUz`t=9HgNKh8zJB|~V5B3;@aO9@i00pa89smd@*SEs z7ytqYX29h)kFR`S`1=Lu?N1E0y_w^~*-1fljz_B$LUvK}k?BNXe#Y!m=zM!!V#}8bncK5m;8VP zw86G*RI63?Cd%b9bX|ueNlZ|wR6rj|r_)VIP@r2imh3?SN+^{|kY%~8B{maJ@F*OK z&VH9LwOeGt#DRjj0~v~8`>iO7!Ybi;zE$va`A^T#yW`y44;k^#O~K5*jD=qcUhPSc zvyy~q;5H_1WT1l~cqje9yfa+l!hu6xjdOJ8s;8E^+=QQ$tw p?%p!Hy#YapB=@+^9(46X{{RQg%9y;OKjr`c002ovPDHLkV1g7l326WT diff --git a/docs/img/icons/visibility_private.png b/docs/img/icons/visibility_private.png deleted file mode 100644 index 386dc2d879d20cf85e4eeaaeb29e66bfe8398995..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3433 zcmV-v4VLnWP)StO&>uS)ve< z0AYj>5AR{$W90N^4L=L-RlQUJ&DC0@ZjPh;=*jPLSYvv5M~MFBAl0-BNIsH15C~g000{K(ZT*W zKal6<?_01!^k@7iDG<<3=fuAC~28EsPoqkpK{9 zG%|Vj005J}`Hw&=0RYXHq~ibpyyzHQsFW8>#s~laM4*8xut5h5!4#~(4xGUqyucR% zVFpA%3?#rj5JCpzfE)^;7?wd9RKPme1hudO8lVxH;SjXJF*pt9;1XPc>u?taU>Kgl z7`%oF1VP9M6Ja4bh!J9r*dopd7nzO(B4J20l7OTj>4+3jBE`sZqynizYLQ(?Bl0bB z6giDtK>Co|$RIL`{EECsF_eL_Q3KQhbwIhO9~z3rpmWi5G!I>XmZEFX8nhlgfVQHi z(M#xcbO3#dj$?q)F%D*o*1Pf{>6$SWH+$s3q(pv=X`qR|$iJF~TPzlc-O$C3+J1#CT#lv5;6stS0Uu z9wDA3UMCI{Uz12A4#|?_P6{CkNG+sOq(0IRX`DyT~9-sA|ffUF>w zk++Z!kWZ5P$;0Hg6gtI-;!FvmBvPc55=u2?Kjj3apE5$3psG>Lsh-pbs)#zDT1jo7 zc2F-(3)vyY4>O^>2$gY-Gd%Qm(Z8eYv>2*=jns=cMJ`N z4THx>VkjAF8G9M07`GWOnM|ey)0dgZR4~^v8<}UA514ONSSt1^d=-((5|uiYR+WC0 z=c-gyb5%dpd8!Lkt5pxHURHgkMpd&=fR^vEcAI*_=wwAG2sV%zY%w@v@XU~7=xdm1xY6*0;iwVIXu6TaXrs|dqbIl~?uTdNHFy_3W~^@< zVyraYW!!5#VPa`A+oZ&##pJ#z&6I1JX1dX|({#+t$SmBf*sRIyjyctwYo1}g*}U8Q zjfJH}oW)9uHjBrW+LnCF1(r>g_pF#!K2~{F^;XxcN!DEJEbDF7S8PxlSDOr*I-AS3 zsI8l=#CDr)-xT5$k15hA^;2%zG3@;83hbKf2JJcaVfH2VZT8O{%p4LO);n}Nd~$Sk z%yw*Wyz8XlG{dRHsl(}4XB%gsbDi@w7p6;)%MzD%mlsoQr;4X;pL)xc%+^yMd)ZNTI#eJ*$O)i@o$z8)e??LqN_gLa_%;TM>o2SC_kmoO6c3xRt`@J4d zvz#WL)-Y|z+r(Soy~}%GIzByR`p)SCKE^%*pL(B%zNWq+-#xw~e%5}Oeh2)X`#bu} z{g3#+;d$~F@lFL`0l@*~0lk45fwKc^10MvL1f>Tx1&sx}1}_Xg6+#RN4Ot&@lW)Km z@*DYMGu&q^n$Z=?2%QyL8~QNJCQKgI5srq>2;UHXZ>IT7>CCnWh~P(Th`1kV8JQRP zeH1AwGO8}>QM6NZadh`A)~w`N`)9q5@sFvDxjWlxwsLl7tZHmhY-8-3xPZ8-xPf?w z_(k!T5_A(J3GIpG#Ms0=iQ{tu=WLoYoaCBRmULsT<=mpV7v|~C%bs^USv6UZd^m-e z5|^?+<%1wXP%juy<)>~<9TW0|n}ttBzM_qyQL(qUN<5P0omQ3hINdvaL;7fjPeygd zGYL;pD|wL_lDQ-EO;$wK-mK5raoH_7l$?~Dqf!lNmb5F^Ft;eTPi8AClMUo~=55Lw zlZVRpxOiFd;3B_8yA~shQx|tGF!j;$toK>JuS&gYLDkTP@C~gS@r~shUu{a>bfJ1`^^VQ7&C1OKHDNXF zTgC{M|V%fo{xK_dk6MK@9S!GZ*1JJzrV5xZBjOk9!NTH<(q(S+MDf~ zceQX@Dh|Ry<-sT4rhI$jQ0Sq~!`#Eo-%($2E^vo}is5J@NVEf|KK?WT&2;PCq@=ncR8zO#GQ^T~S@VXG71P zKNocFOt)Y6$@AXlk6rM*aP%VgV%sIRORYVwJx6|U{ozQjTW{-S_si{9Jg#)~P3t?+ z@6&(!YQWWV*Z9{iU7vZq@5byKw{9lg9JnRA_4s!7?H6|n?o8ZWdXIRo{Jz@#>IeD{ z>VLHUv1Pz*;P_y`V9&!@5AO~Mho1hF|I>%z(nrik)gwkDjgOrl9~%uCz4Bzvli{bb zrxVZ0epdf^>vOB;-~HnIOV3#R*zgPai_gEVd8zYq@2jb=I>#f&AH2?aJ@Kaet zy{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2ipf86ea~8P{#KF00Ny!L_t(I z%YBp0Yn4Y7#(y*KdvkMd5_A2?O={#qrJ7PyP+MBWjdmkq-MF}+bs>~4r2l}>F8c>` z*;S#1g25oRl$MrOp{P3rHxkqY6G_d7NzK>&cxTQzUEGhxE*u!n40E1y&hs!2yk>n4 z3E*Cr(|w$%;c!o}HQn-B?(hnY;bqn@gMg`rE04yquox=DO|R zUp{#A{auxj--pL4JLJVP;@XOlq_|SqX>o{!htqfF@7}v`afQVW#&r%q9UDEn|J?&W z`sY)r)HV#mseu}Z7@`;hyPb@@{e1S1zup@@d1C(b)myCzzJ}7t>hXViS095JriNmO zI7AH*Mbr_aqPbq0g^~MbZcZHs@Bl|YeCxa7+6<_gnV|-;4US?&b%fZ8*;d_LWBu6V z*shBJ{@Xoisi(Pmw6T?05OX0KnHVBQh)Qh75FrajJ>ZrWmI%mYfON2wFA*ApnZs#j zh=LeIr9A-zHG&vHAc!IAOq$K1>!Uq|)M@mh-aGFQr8{y|Bed^9jA$UzDGUkfop;_h zVp(IE8T)X>~3p`YDR)gs8T?b4&RaB~e2G=e#TS7U_Goc?G~vRPt13>(@8e!!;}HaG98e z2tl;1gF{qNGxI*N;?CXl#Q5>~jQT_+PcpeC-2CV;t5Z*J_};=;uKdQKs7A9^Z*dmE zr#%#g%C6AY@6wI+&&H=WzVCkJj+uTwb&zwn9&vSFuA1&0{epqP(U>*+yie53)^v5{ ziCbL!bbOgd+l}{%8v&|wO@4sXl^Ldgpx-1&QfsV_FSGQ2*8=Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2ipf8 z6ebXJjUpTX00MkTL_t(I%Y~CqY)nxU#(($Do7AMkOp9tm{cB2DkO)>?h=q_KqKP1u z8YDz46(O`lh@FMRP9!WEe>Mg|SV~Nzf}5P&@8sU^ z`_8$!2mZ0@A;Eu^ia}Q!9P5to#og>{S<|$qwjrGj%Ek`&kMupiKXB#3Q*t*>rTCcl zC+@1L`f&g2-3IVuL14`ep2 z+uV3N?fN`hDq8CR0Wn}hZ~`tl!y8uf`=4~bS-XBq-9YQ!LR7)7d1MctYaFRhe-$SV z=fDcs3fYDrAxHpDdHU06=Ee4t!)u`ONSz%uHYIJ33SVVl3^}&=u%8{d#qdY8uDM8ssjrA9$p<3++@D?p3lf-6B z31v-Gy4a|EF_X?>qTPhx46e$!*@rfg@{$^D1#Jx&Gf6aY-?2yqJBdu3ppzcjEBwGW zhN39aHjG3jh(RT<2*=?plm!3M8;bhsT?#{E3`huJP$@Hra5&}hVo_^xDuFi+Pxy?} z-@v|lM^~Vd2?=ph5s+ZA4J#lLIV*)4)sTD5Q2^c51}D0?mH#L=jq*Gb;wllj#?FFM z8t2lU9{Qzr-pk{6wL#+XJ9u~=dS1Fal5owl>eDL_alyEAHjJEg0#dbAx|r07FW*i3 zk?UNW_{#AxJ?MlD$KmugcC<82>&RxR=1LG$qqJD~Sr{z8@BL!h&*kWyI(UCfBSZ&V uoAFjHVNPw9Y6-DJV~m~6QTTgm0e%BYER)ZarpMm^00004TSQEP)StO&>uS)ve< z0AYj>5AR{$W90N^4L=L-RlQUJ&DC0@ZjPh;=*jPLSYvv5M~MFBAl0-BNIsH15C~g000{K(ZT*W zKal6<?_01!^k@7iDG<<3=fuAC~28EsPoqkpK{9 zG%|Vj005J}`Hw&=0RYXHq~ibpyyzHQsFW8>#s~laM4*8xut5h5!4#~(4xGUqyucR% zVFpA%3?#rj5JCpzfE)^;7?wd9RKPme1hudO8lVxH;SjXJF*pt9;1XPc>u?taU>Kgl z7`%oF1VP9M6Ja4bh!J9r*dopd7nzO(B4J20l7OTj>4+3jBE`sZqynizYLQ(?Bl0bB z6giDtK>Co|$RIL`{EECsF_eL_Q3KQhbwIhO9~z3rpmWi5G!I>XmZEFX8nhlgfVQHi z(M#xcbO3#dj$?q)F%D*o*1Pf{>6$SWH+$s3q(pv=X`qR|$iJF~TPzlc-O$C3+J1#CT#lv5;6stS0Uu z9wDA3UMCI{Uz12A4#|?_P6{CkNG+sOq(0IRX`DyT~9-sA|ffUF>w zk++Z!kWZ5P$;0Hg6gtI-;!FvmBvPc55=u2?Kjj3apE5$3psG>Lsh-pbs)#zDT1jo7 zc2F-(3)vyY4>O^>2$gY-Gd%Qm(Z8eYv>2*=jns=cMJ`N z4THx>VkjAF8G9M07`GWOnM|ey)0dgZR4~^v8<}UA514ONSSt1^d=-((5|uiYR+WC0 z=c-gyb5%dpd8!Lkt5pxHURHgkMpd&=fR^vEcAI*_=wwAG2sV%zY%w@v@XU~7=xdm1xY6*0;iwVIXu6TaXrs|dqbIl~?uTdNHFy_3W~^@< zVyraYW!!5#VPa`A+oZ&##pJ#z&6I1JX1dX|({#+t$SmBf*sRIyjyctwYo1}g*}U8Q zjfJH}oW)9uHjBrW+LnCF1(r>g_pF#!K2~{F^;XxcN!DEJEbDF7S8PxlSDOr*I-AS3 zsI8l=#CDr)-xT5$k15hA^;2%zG3@;83hbKf2JJcaVfH2VZT8O{%p4LO);n}Nd~$Sk z%yw*Wyz8XlG{dRHsl(}4XB%gsbDi@w7p6;)%MzD%mlsoQr;4X;pL)xc%+^yMd)ZNTI#eJ*$O)i@o$z8)e??LqN_gLa_%;TM>o2SC_kmoO6c3xRt`@J4d zvz#WL)-Y|z+r(Soy~}%GIzByR`p)SCKE^%*pL(B%zNWq+-#xw~e%5}Oeh2)X`#bu} z{g3#+;d$~F@lFL`0l@*~0lk45fwKc^10MvL1f>Tx1&sx}1}_Xg6+#RN4Ot&@lW)Km z@*DYMGu&q^n$Z=?2%QyL8~QNJCQKgI5srq>2;UHXZ>IT7>CCnWh~P(Th`1kV8JQRP zeH1AwGO8}>QM6NZadh`A)~w`N`)9q5@sFvDxjWlxwsLl7tZHmhY-8-3xPZ8-xPf?w z_(k!T5_A(J3GIpG#Ms0=iQ{tu=WLoYoaCBRmULsT<=mpV7v|~C%bs^USv6UZd^m-e z5|^?+<%1wXP%juy<)>~<9TW0|n}ttBzM_qyQL(qUN<5P0omQ3hINdvaL;7fjPeygd zGYL;pD|wL_lDQ-EO;$wK-mK5raoH_7l$?~Dqf!lNmb5F^Ft;eTPi8AClMUo~=55Lw zlZVRpxOiFd;3B_8yA~shQx|tGF!j;$toK>JuS&gYLDkTP@C~gS@r~shUu{a>bfJ1`^^VQ7&C1OKHDNXF zTgC{M|V%fo{xK_dk6MK@9S!GZ*1JJzrV5xZBjOk9!NTH<(q(S+MDf~ zceQX@Dh|Ry<-sT4rhI$jQ0Sq~!`#Eo-%($2E^vo}is5J@NVEf|KK?WT&2;PCq@=ncR8zO#GQ^T~S@VXG71P zKNocFOt)Y6$@AXlk6rM*aP%VgV%sIRORYVwJx6|U{ozQjTW{-S_si{9Jg#)~P3t?+ z@6&(!YQWWV*Z9{iU7vZq@5byKw{9lg9JnRA_4s!7?H6|n?o8ZWdXIRo{Jz@#>IeD{ z>VLHUv1Pz*;P_y`V9&!@5AO~Mho1hF|I>%z(nrik)gwkDjgOrl9~%uCz4Bzvli{bb zrxVZ0epdf^>vOB;-~HnIOV3#R*zgPai_gEVd8zYq@2jb=I>#f&AH2?aJ@Kaet zy{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2ipf86eb*cJ8m}s00OT`L_t(I z%YBniXk1kk#(($Dn@nb+%_M1(NWV=0YLiwH$D2%?C%DVS&r7K)4FLg=c{F1vBp zWfw&#C>SgS#Xl(47O6x83))SoHqe%66G*4+B=g?8_ndoN%p|5RdN=37Ip6o4b2uM7 z?0rB5a1SflNKVhyxHwY+@aoyd;i<8y{i6e0hhmE9c6({z(#_vb{c(_Q4}CYu^}9DV zYTah=JKsFj9S5F>d{{@5_ld zrk~vYh4`yksckcGl0XxP8d0$-BQDb&|D3<^)AM`B_bz_)%7tzRLnmn-d2vsx*8eAl zk<5@}s5+t=K@(9OK@y~XLb>ho>DRCB0q_9(cRzim(OAGpre;V25l5*;5F>~q#BOYd z+;I1wd+qG-0RaE($5}J$yR&R_0$qEt3J;n%8AV`l~4N-%ND;m#e$6s1lTh5F6;$~0? z-97wA*6TnZsafVT*H^2a|9YpG=Q!!s-TZ`4O+rlefO0gV7$Oc)!xG@Ut2Y|723C&( z`02SC7iRKvORMp7Z(Cdl)+0&1`5mH(l+3)ZShF#L^~t-J-y)x$t91|Q!yl*ksubb(;uO>P3<~3gWtU5EA zO&l9waH5cM!23!vvwQ8d@>k0(9h#rz+GgWD;6{LpGbNLsl8rdV>pc31TGUV}?$6J% d{D0R1{0r!j$d`WA?P34`002ovPDHLkV1i_Kq4od( diff --git a/docs/img/iviewer/iviewer.zoom_fit2.gif b/docs/img/iviewer/iviewer.zoom_fit2.gif deleted file mode 100644 index 3199a1e3e1f6c2c9e189a4718ac3e7fee5204dcc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 95 zcmZ?wbhEHblwpuzXkcUjg8%>j>wsvG2m_N{Pyfo(Z~3KXY?;^Pc&YH??aJsCHEo`3 w8eZ!(AMJatv3kpyYro>2$M)>r+u)qoRbjGiisBQYX$xZ(3D5f)$iQF?09S=3^#A|> diff --git a/docs/img/iviewer/iviewer.zoom_in2.gif b/docs/img/iviewer/iviewer.zoom_in2.gif deleted file mode 100644 index 5d596181627a30344f9783d466ce0558279fe729..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 90 zcmZ?wbhEHblwpuzXkcUjg8%>j>wsvG2m_O4Pyfo(Z}}I`;fT1UbHL~G(^^jrxfIDc qOSLxju^l&BbLLyj{a>m(=kzlMwFoEmw|glD9`i8f>~-Q|um%7;9UyH0 diff --git a/docs/img/iviewer/iviewer.zoom_out2.gif b/docs/img/iviewer/iviewer.zoom_out2.gif deleted file mode 100644 index 77ec19af216c5525438e73e4fafef1ce08db3cf3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 69 zcmZ?wbhEHblwpuzXkcUjg8%>j>wsvG2m_N!Pyfo(Z}}I`*>bCU^SwRQTrH10rZprj VQ(Lv|A^Y)9KG(nX7PB%~0{{a@8tMQ5 diff --git a/docs/img/iviewer/iviewer.zoom_zero2.gif b/docs/img/iviewer/iviewer.zoom_zero2.gif deleted file mode 100644 index e56c670fe62062458276fab5512701433b37af4e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 98 zcmZ?wbhEHblwpuzXkcUjg8%>j>wsvG2m_O2Pyfo(Z}}I`*>bDfkfCt*S=$8WwkJC( zzJkfa~h{)#m_`3lMtroEImLs1;u6tiCV=-88jK13lM}Ucoqsi(A?%{$02s z&eA5y&?&<|<LT~spE^ZvVS>1|r*(!}F5%Hh-ckGxoq}-_ zn=tXwoWW5y5s)XJF~ru@*Y9({3os1o>+cx}`RW$q80#EwpJN*|0nth|rd7x=kJ2*lib|@c=G(1pluEm zM?5x5JN;yCX?bOJZGB^NYkOyRkDlo8==kLHWdFe#G5N29B5b|?Ik}x=D=##FnEJ6o z3jG~@=>V$dR^LEd7t{6O_k~<`>8VZSLLbX-^SMXQh{du!F7HdAF@GJ$N6}Zlq-L%X zzwY)lV3QUkmU-;ZHEId8RLtg0O$*3Vx01_yQV{AD@+|}ZT@>ZguK?syFJjkxG-K2ghlZTYe!qDa$z#j-YB?pZq10~eaIfcP7FIB0Eosqew9a*>aP5@TT+hQ9op3bLhV9{@}hh_GQaxLF}XD?8UF8x#tFb{0O2HBl^9q#pWmI_6l=N%K~ z>INqm(|5hjgf^zC4787ogba1gmgbqgi3H;(Z2(quqrSFh7OWQJ<(l+C3|6g~M2u*d zQ7}vN;Zz8FcCZxjf5Q^{mmk6@pu9q9`8y6=c&A_ETpw4xHg;%})IeAURdjkO9h0b0 z(_pEmb#rT- zVQX(0>pQ%ELVO52K3zVtCgo+V@r@y8)P?cVRt8?*%F+2rZ7dc-TcK?lTymk=6miQ$ zVl;tgwjlDJ^0L&;_iT)D6ndeI^4lpL!u;0bKN4bQyNDUBM^@!1vm4T-0=uxR;Kd$t zAs4-3D<#+p7>G zHBiF(n&N@|Wc}Ye0<0Z_n^QF*7u@FJgIhDzUvH{pdkt*QRVC8e&Fc=YSsL9$V}$a^;`Rb>ywXQvB#q z+-qI;+X)sN2Dc|qW;TUe6n)M<728FQStq{@C$lPn}^efbI zgl{+EGf?6Ub_Q$)ImEQ@+1PqJ_;~s1`-1|dVCGt`ZV}crwstO2VSh(EM@Eq*3VVj9 zCVWr&78_!ep_mN)0m;rR3@Q#_N8V18L)BvH>KhudznYp`THA2#9i3hHCnP<+ef^O6{br6+ zk73lwjoN$EjNx()kEBDW>h$sxN-k20f_k_hq|Zy~5@*w%nIcTegL@`4m}*$vgo^-KL<#mf}@9wxYTM4SAo#D{vNw6ZdH-5 zp0D4VeT`F)OS{axJ1_O5Lh4f$aH`o%vZ@GB=^BRV|ManNqQZrQqDv9UJAt(#;*7J( zDEWwuLMf!JIu)D2Bl%p%I^4Nt@ELT$`wD1&06wQENMA4BcO|{p#3XwR4Yup6);yR$ zJ#ljA#y+E~@)CD)Y-+zR1UnUX05|qhY1Vn_*}K#c2rjUbT6?#WnS;FS+CA}cTnUiV zaN_lrZSUsHGj7#E@4nqK59g6!#1mTkXn%AYpjN*`(psCi_(6rhQbuzU}W)^Abce25xJUE#05w-Vow)2&+_6P)1yM%Z}1bI5bUik;d zxW!5*OD00%<5IaZQ=Y?fa`O=R1%*Y$C8cHM6%+s@3SC`OTS-^j(1@&QB~ZwZT{C);FqGwuh(arhMiN2WOc?)G6=TuRd9F~bu+hz)Y zrwu422HN{=Ab}kbx7=-Q(llc4b5ag4JO29>J33s@UbtG8LIke7p%0;zDo9;lag{&S zc{qhQ4*z0M?`!({tNd}eF3GMaR6kJeR$Ca+PPaaaHr<%-tgb3DLQw&(zZOd<_Q%35 zI4~T@mm`f)GYV;36{Tjy34C>99SnI3cn_AaffOXzqB%zjp)Y~1uhleLifSd3-?zfjD?z z=ZLCYJF2S)ht3N#-V=0h^v*b~I?Y*(Zv$WiVyt%)i@|y9wMjGLk-W@ zr=MGZH%!Ol3pkKILNhYY2mJ+-<`~&gR-+|pjJPeGt_f}^AZbk z?-YlXp{r{AOYOv(F-UMzB3<>>+b#E{-P%O(_b^=0+%i{xxl-!F~7#Kxl6RY zv$ru)d*|qQ_!M<g=t2_njk86Ak8lPzj}Cd`b%9{r)#>kW~~J+_G+jjmR){)R*RNKI!)x0pV#nC4?gUj7;~)KizdYcWhwCp z4r7i#{dJW+nt8;Hq0EYv`9noC9eH{uhR{oXW^l~Kwgq~nwhPO#_kE#PE_7YRv&vz- zHhAeRbw|R>sYVy7X9I+)60^FaXA@n14$lip5K#*2*EhY_P>dZ=326BM$uR@;GyN zcTL`8eSB9BCz(wHAqq76Fs4A(NTEO{H#&Rg`bW`1Lu(B&PZx=vVh<&iM0`p)V~5=d z<>sQRO61U(t~c<)os09mVv-fk106IrSyMK#~4^DJQj!5-Mx5y04a`~wT z_sX?Js1-OBnU=_xSw}|6`i8!}75lM5r%DQC^h>!}velcq<}0QS(4~o!=@3@@t6QMA zZuIVWty^FH^zZQz{iSuqLS(F7R@F~tKV4ABy5Y z(|Z4^LjG6N>?zq5NGPZcLF6qL9?UIdSr~&@@!?HY3nnlq*QV1@Gl|-VXYohr9w(_< zd`2U5J`Hib#I12)>WYz--0&KZp-BN-^~8d(n+nT|brA;-CM)lkwoo=de@V@=mIz8*luKuwLW6Xz`k-Z7FF|%pa{@OdGs80sA@2;uw>)B4?;`vCV*BWL z$@Ap=;txp084dn7XgPGX9H3a(5w3P5B^;BY^hY5Kr}Em z`q#0#waQJ|#~x;Ff6WcWngPc@=zOryinJc)aXyJN)MtJooi3vv&hz!Dzm`T&L&ZEqa_#cIovV#lrzgM$#a24&0@)GOG6oK zNISh_!SznG=OBdqq-uT&_|<^hj;UoDez z{A@lINN;|nLYH+G^so4=be`NYWdAa|sP{In&;}uB#^wLpaKf#SDsttbI8p5bfx)>p z-SID`+hHy2_>z3`q%MXJR!Ta);j23h5gv6s`N(qag)UH>hwY?ii$lc%A9XQnyI*&-4FZ4xIr0!KXEHyx#u?(Y=)T;)e}^>r4u#*L|T)Vf1|FvqGOQjNe7D3OKGV zZkn{lkjg|WfoRy|VmYZQ!Ke}gr2sxl{Q!49LzUF$w)=MvfzR-n=b=5~p&xP;v!zqN z2aEuh<@1CJf_^aqR}?elp1%fg(Aa1J^xK!k5Dr}0;kugH1*kY%^(uSrW;PMJ!r@}- z$0P6VAO13I3>0HhSv7k34?aq$(kpzdF=`oQ3-}BP;0E|iJE{lDd zpIpz!JOfr|Q1P0W^W**Hjiwe0=CpJ7%^d?*3!e#b(p}yY)By`*?Q1-X<=&EJhR5}R ffeagp#&}jgDu`gFfASxbzOtb|ZAN*iL}LE|Ye$WH diff --git a/docs/js/SVGPan.js b/docs/js/SVGPan.js deleted file mode 100644 index 4966b99..0000000 --- a/docs/js/SVGPan.js +++ /dev/null @@ -1,232 +0,0 @@ -/** - * SVGPan library 1.2 - phpDocumentor1 - * ==================== - * - * Given an unique existing element with id "viewport", including the - * the library into any SVG adds the following capabilities: - * - * - Mouse panning - * - Mouse zooming (using the wheel) - * - Object dargging - * - * Known issues: - * - * - Zooming (while panning) on Safari has still some issues - * - * Releases: - * - * 1.2 - phpDocumentor1, Fri Apr 08 19:19:00 CET 2011, Mike van Riel - * Increased zoom speed with 20% - * Disabled element moving functionality - * - * 1.2, Sat Mar 20 08:42:50 GMT 2010, Zeng Xiaohui - * Fixed a bug with browser mouse handler interaction - * - * 1.1, Wed Feb 3 17:39:33 GMT 2010, Zeng Xiaohui - * Updated the zoom code to support the mouse wheel on Safari/Chrome - * - * 1.0, Andrea Leofreddi - * First release - * - * This code is licensed under the following BSD license: - * - * Copyright 2009-2010 Andrea Leofreddi . All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are - * permitted provided that the following conditions are met: - * - * 1. Redistributions of source code must retain the above copyright notice, this list of - * conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright notice, this list - * of conditions and the following disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY Andrea Leofreddi ``AS IS'' AND ANY EXPRESS OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Andrea Leofreddi OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * The views and conclusions contained in the software and documentation are those of the - * authors and should not be interpreted as representing official policies, either expressed - * or implied, of Andrea Leofreddi. - */ - -var root = document.documentElement; - -var state = 'none', stateTarget, stateOrigin, stateTf; - -setupHandlers(root); - -/** - * Register handlers - */ -function setupHandlers(root){ - setAttributes(root, { - "onmouseup" : "add(evt)", - "onmousedown" : "handleMouseDown(evt)", - "onmousemove" : "handleMouseMove(evt)", - "onmouseup" : "handleMouseUp(evt)", -// "onmouseout" : "handleMouseUp(evt)" // Decomment this to stop the pan functionality when dragging out of the SVG element - }); - - if(navigator.userAgent.toLowerCase().indexOf('webkit') >= 0) - window.addEventListener('mousewheel', handleMouseWheel, false); // Chrome/Safari - else - window.addEventListener('DOMMouseScroll', handleMouseWheel, false); // Others -} - -/** - * Instance an SVGPoint object with given event coordinates. - */ -function getEventPoint(evt) { - var p = root.createSVGPoint(); - - p.x = evt.clientX; - p.y = evt.clientY; - - return p; -} - -/** - * Sets the current transform matrix of an element. - */ -function setCTM(element, matrix) { - var s = "matrix(" + matrix.a + "," + matrix.b + "," + matrix.c + "," + matrix.d + "," + matrix.e + "," + matrix.f + ")"; - - element.setAttribute("transform", s); -} - -/** - * Dumps a matrix to a string (useful for debug). - */ -function dumpMatrix(matrix) { - var s = "[ " + matrix.a + ", " + matrix.c + ", " + matrix.e + "\n " + matrix.b + ", " + matrix.d + ", " + matrix.f + "\n 0, 0, 1 ]"; - - return s; -} - -/** - * Sets attributes of an element. - */ -function setAttributes(element, attributes){ - for (i in attributes) - element.setAttributeNS(null, i, attributes[i]); -} - -/** - * Handle mouse move event. - */ -function handleMouseWheel(evt) { - if(evt.preventDefault) - evt.preventDefault(); - - evt.returnValue = false; - - var svgDoc = evt.target.ownerDocument; - - var delta; - - if(evt.wheelDelta) - delta = evt.wheelDelta / 3600; // Chrome/Safari - else - delta = evt.detail / -90; // Mozilla - - var z = 1 + (delta * 1.2); // Zoom factor: 0.9/1.1 - - var g = svgDoc.getElementById("viewport"); - - var p = getEventPoint(evt); - - p = p.matrixTransform(g.getCTM().inverse()); - - // Compute new scale matrix in current mouse position - var k = root.createSVGMatrix().translate(p.x, p.y).scale(z).translate(-p.x, -p.y); - - setCTM(g, g.getCTM().multiply(k)); - - stateTf = stateTf.multiply(k.inverse()); -} - -/** - * Handle mouse move event. - */ -function handleMouseMove(evt) { - if(evt.preventDefault) - evt.preventDefault(); - - evt.returnValue = false; - - var svgDoc = evt.target.ownerDocument; - - var g = svgDoc.getElementById("viewport"); - - if(state == 'pan') { - // Pan mode - var p = getEventPoint(evt).matrixTransform(stateTf); - - setCTM(g, stateTf.inverse().translate(p.x - stateOrigin.x, p.y - stateOrigin.y)); - } else if(state == 'move') { - // Move mode - var p = getEventPoint(evt).matrixTransform(g.getCTM().inverse()); - - setCTM(stateTarget, root.createSVGMatrix().translate(p.x - stateOrigin.x, p.y - stateOrigin.y).multiply(g.getCTM().inverse()).multiply(stateTarget.getCTM())); - - stateOrigin = p; - } -} - -/** - * Handle click event. - */ -function handleMouseDown(evt) { - if(evt.preventDefault) - evt.preventDefault(); - - evt.returnValue = false; - - var svgDoc = evt.target.ownerDocument; - - var g = svgDoc.getElementById("viewport"); - -// if(evt.target.tagName == "svg") { - // Pan mode - state = 'pan'; - - stateTf = g.getCTM().inverse(); - - stateOrigin = getEventPoint(evt).matrixTransform(stateTf); -// } else { - // Move mode -// state = 'move'; -// -// stateTarget = evt.target; -// -// stateTf = g.getCTM().inverse(); -// -// stateOrigin = getEventPoint(evt).matrixTransform(stateTf); -// } -} - -/** - * Handle mouse button release event. - */ -function handleMouseUp(evt) { - if(evt.preventDefault) - evt.preventDefault(); - - evt.returnValue = false; - - var svgDoc = evt.target.ownerDocument; - - if(state == 'pan' || state == 'move') { - // Quit pan mode - state = ''; - } -} - diff --git a/docs/js/bootstrap.js b/docs/js/bootstrap.js deleted file mode 100644 index c832ccb..0000000 --- a/docs/js/bootstrap.js +++ /dev/null @@ -1,1722 +0,0 @@ -/* =================================================== - * bootstrap-transition.js v2.0.0 - * http://twitter.github.com/bootstrap/javascript.html#transitions - * =================================================== - * Copyright 2012 Twitter, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ========================================================== */ - -!function( $ ) { - - $(function () { - - "use strict" - - /* CSS TRANSITION SUPPORT (https://gist.github.com/373874) - * ======================================================= */ - - $.support.transition = (function () { - var thisBody = document.body || document.documentElement - , thisStyle = thisBody.style - , support = thisStyle.transition !== undefined || thisStyle.WebkitTransition !== undefined || thisStyle.MozTransition !== undefined || thisStyle.MsTransition !== undefined || thisStyle.OTransition !== undefined - - return support && { - end: (function () { - var transitionEnd = "TransitionEnd" - if ( $.browser.webkit ) { - transitionEnd = "webkitTransitionEnd" - } else if ( $.browser.mozilla ) { - transitionEnd = "transitionend" - } else if ( $.browser.opera ) { - transitionEnd = "oTransitionEnd" - } - return transitionEnd - }()) - } - })() - - }) - -}( window.jQuery ) -/* ========================================================== - * bootstrap-alert.js v2.0.0 - * http://twitter.github.com/bootstrap/javascript.html#alerts - * ========================================================== - * Copyright 2012 Twitter, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ========================================================== */ - - -!function( $ ){ - - "use strict" - - /* ALERT CLASS DEFINITION - * ====================== */ - - var dismiss = '[data-dismiss="alert"]' - , Alert = function ( el ) { - $(el).on('click', dismiss, this.close) - } - - Alert.prototype = { - - constructor: Alert - - , close: function ( e ) { - var $this = $(this) - , selector = $this.attr('data-target') - , $parent - - if (!selector) { - selector = $this.attr('href') - selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 - } - - $parent = $(selector) - $parent.trigger('close') - - e && e.preventDefault() - - $parent.length || ($parent = $this.hasClass('alert') ? $this : $this.parent()) - - $parent.removeClass('in') - - function removeElement() { - $parent.remove() - $parent.trigger('closed') - } - - $.support.transition && $parent.hasClass('fade') ? - $parent.on($.support.transition.end, removeElement) : - removeElement() - } - - } - - - /* ALERT PLUGIN DEFINITION - * ======================= */ - - $.fn.alert = function ( option ) { - return this.each(function () { - var $this = $(this) - , data = $this.data('alert') - if (!data) $this.data('alert', (data = new Alert(this))) - if (typeof option == 'string') data[option].call($this) - }) - } - - $.fn.alert.Constructor = Alert - - - /* ALERT DATA-API - * ============== */ - - $(function () { - $('body').on('click.alert.data-api', dismiss, Alert.prototype.close) - }) - -}( window.jQuery ) -/* ============================================================ - * bootstrap-button.js v2.0.0 - * http://twitter.github.com/bootstrap/javascript.html#buttons - * ============================================================ - * Copyright 2012 Twitter, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============================================================ */ - -!function( $ ){ - - "use strict" - - /* BUTTON PUBLIC CLASS DEFINITION - * ============================== */ - - var Button = function ( element, options ) { - this.$element = $(element) - this.options = $.extend({}, $.fn.button.defaults, options) - } - - Button.prototype = { - - constructor: Button - - , setState: function ( state ) { - var d = 'disabled' - , $el = this.$element - , data = $el.data() - , val = $el.is('input') ? 'val' : 'html' - - state = state + 'Text' - data.resetText || $el.data('resetText', $el[val]()) - - $el[val](data[state] || this.options[state]) - - // push to event loop to allow forms to submit - setTimeout(function () { - state == 'loadingText' ? - $el.addClass(d).attr(d, d) : - $el.removeClass(d).removeAttr(d) - }, 0) - } - - , toggle: function () { - var $parent = this.$element.parent('[data-toggle="buttons-radio"]') - - $parent && $parent - .find('.active') - .removeClass('active') - - this.$element.toggleClass('active') - } - - } - - - /* BUTTON PLUGIN DEFINITION - * ======================== */ - - $.fn.button = function ( option ) { - return this.each(function () { - var $this = $(this) - , data = $this.data('button') - , options = typeof option == 'object' && option - if (!data) $this.data('button', (data = new Button(this, options))) - if (option == 'toggle') data.toggle() - else if (option) data.setState(option) - }) - } - - $.fn.button.defaults = { - loadingText: 'loading...' - } - - $.fn.button.Constructor = Button - - - /* BUTTON DATA-API - * =============== */ - - $(function () { - $('body').on('click.button.data-api', '[data-toggle^=button]', function ( e ) { - $(e.target).button('toggle') - }) - }) - -}( window.jQuery ) -/* ========================================================== - * bootstrap-carousel.js v2.0.0 - * http://twitter.github.com/bootstrap/javascript.html#carousel - * ========================================================== - * Copyright 2012 Twitter, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ========================================================== */ - - -!function( $ ){ - - "use strict" - - /* CAROUSEL CLASS DEFINITION - * ========================= */ - - var Carousel = function (element, options) { - this.$element = $(element) - this.options = $.extend({}, $.fn.carousel.defaults, options) - this.options.slide && this.slide(this.options.slide) - } - - Carousel.prototype = { - - cycle: function () { - this.interval = setInterval($.proxy(this.next, this), this.options.interval) - return this - } - - , to: function (pos) { - var $active = this.$element.find('.active') - , children = $active.parent().children() - , activePos = children.index($active) - , that = this - - if (pos > (children.length - 1) || pos < 0) return - - if (this.sliding) { - return this.$element.one('slid', function () { - that.to(pos) - }) - } - - if (activePos == pos) { - return this.pause().cycle() - } - - return this.slide(pos > activePos ? 'next' : 'prev', $(children[pos])) - } - - , pause: function () { - clearInterval(this.interval) - return this - } - - , next: function () { - if (this.sliding) return - return this.slide('next') - } - - , prev: function () { - if (this.sliding) return - return this.slide('prev') - } - - , slide: function (type, next) { - var $active = this.$element.find('.active') - , $next = next || $active[type]() - , isCycling = this.interval - , direction = type == 'next' ? 'left' : 'right' - , fallback = type == 'next' ? 'first' : 'last' - , that = this - - this.sliding = true - - isCycling && this.pause() - - $next = $next.length ? $next : this.$element.find('.item')[fallback]() - - if (!$.support.transition && this.$element.hasClass('slide')) { - this.$element.trigger('slide') - $active.removeClass('active') - $next.addClass('active') - this.sliding = false - this.$element.trigger('slid') - } else { - $next.addClass(type) - $next[0].offsetWidth // force reflow - $active.addClass(direction) - $next.addClass(direction) - this.$element.trigger('slide') - this.$element.one($.support.transition.end, function () { - $next.removeClass([type, direction].join(' ')).addClass('active') - $active.removeClass(['active', direction].join(' ')) - that.sliding = false - setTimeout(function () { that.$element.trigger('slid') }, 0) - }) - } - - isCycling && this.cycle() - - return this - } - - } - - - /* CAROUSEL PLUGIN DEFINITION - * ========================== */ - - $.fn.carousel = function ( option ) { - return this.each(function () { - var $this = $(this) - , data = $this.data('carousel') - , options = typeof option == 'object' && option - if (!data) $this.data('carousel', (data = new Carousel(this, options))) - if (typeof option == 'number') data.to(option) - else if (typeof option == 'string' || (option = options.slide)) data[option]() - else data.cycle() - }) - } - - $.fn.carousel.defaults = { - interval: 5000 - } - - $.fn.carousel.Constructor = Carousel - - - /* CAROUSEL DATA-API - * ================= */ - - $(function () { - $('body').on('click.carousel.data-api', '[data-slide]', function ( e ) { - var $this = $(this), href - , $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7 - , options = !$target.data('modal') && $.extend({}, $target.data(), $this.data()) - $target.carousel(options) - e.preventDefault() - }) - }) - -}( window.jQuery ) -/* ============================================================= - * bootstrap-collapse.js v2.0.0 - * http://twitter.github.com/bootstrap/javascript.html#collapse - * ============================================================= - * Copyright 2012 Twitter, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============================================================ */ - -!function( $ ){ - - "use strict" - - var Collapse = function ( element, options ) { - this.$element = $(element) - this.options = $.extend({}, $.fn.collapse.defaults, options) - - if (this.options["parent"]) { - this.$parent = $(this.options["parent"]) - } - - this.options.toggle && this.toggle() - } - - Collapse.prototype = { - - constructor: Collapse - - , dimension: function () { - var hasWidth = this.$element.hasClass('width') - return hasWidth ? 'width' : 'height' - } - - , show: function () { - var dimension = this.dimension() - , scroll = $.camelCase(['scroll', dimension].join('-')) - , actives = this.$parent && this.$parent.find('.in') - , hasData - - if (actives && actives.length) { - hasData = actives.data('collapse') - actives.collapse('hide') - hasData || actives.data('collapse', null) - } - - this.$element[dimension](0) - this.transition('addClass', 'show', 'shown') - this.$element[dimension](this.$element[0][scroll]) - - } - - , hide: function () { - var dimension = this.dimension() - this.reset(this.$element[dimension]()) - this.transition('removeClass', 'hide', 'hidden') - this.$element[dimension](0) - } - - , reset: function ( size ) { - var dimension = this.dimension() - - this.$element - .removeClass('collapse') - [dimension](size || 'auto') - [0].offsetWidth - - this.$element.addClass('collapse') - } - - , transition: function ( method, startEvent, completeEvent ) { - var that = this - , complete = function () { - if (startEvent == 'show') that.reset() - that.$element.trigger(completeEvent) - } - - this.$element - .trigger(startEvent) - [method]('in') - - $.support.transition && this.$element.hasClass('collapse') ? - this.$element.one($.support.transition.end, complete) : - complete() - } - - , toggle: function () { - this[this.$element.hasClass('in') ? 'hide' : 'show']() - } - - } - - /* COLLAPSIBLE PLUGIN DEFINITION - * ============================== */ - - $.fn.collapse = function ( option ) { - return this.each(function () { - var $this = $(this) - , data = $this.data('collapse') - , options = typeof option == 'object' && option - if (!data) $this.data('collapse', (data = new Collapse(this, options))) - if (typeof option == 'string') data[option]() - }) - } - - $.fn.collapse.defaults = { - toggle: true - } - - $.fn.collapse.Constructor = Collapse - - - /* COLLAPSIBLE DATA-API - * ==================== */ - - $(function () { - $('body').on('click.collapse.data-api', '[data-toggle=collapse]', function ( e ) { - var $this = $(this), href - , target = $this.attr('data-target') - || e.preventDefault() - || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7 - , option = $(target).data('collapse') ? 'toggle' : $this.data() - $(target).collapse(option) - }) - }) - -}( window.jQuery ) -/* ============================================================ - * bootstrap-dropdown.js v2.0.0 - * http://twitter.github.com/bootstrap/javascript.html#dropdowns - * ============================================================ - * Copyright 2012 Twitter, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============================================================ */ - - -!function( $ ){ - - "use strict" - - /* DROPDOWN CLASS DEFINITION - * ========================= */ - - var toggle = '[data-toggle="dropdown"]' - , Dropdown = function ( element ) { - var $el = $(element).on('click.dropdown.data-api', this.toggle) - $('html').on('click.dropdown.data-api', function () { - $el.parent().removeClass('open') - }) - } - - Dropdown.prototype = { - - constructor: Dropdown - - , toggle: function ( e ) { - var $this = $(this) - , selector = $this.attr('data-target') - , $parent - , isActive - - if (!selector) { - selector = $this.attr('href') - selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 - } - - $parent = $(selector) - $parent.length || ($parent = $this.parent()) - - isActive = $parent.hasClass('open') - - clearMenus() - !isActive && $parent.toggleClass('open') - - return false - } - - } - - function clearMenus() { - $(toggle).parent().removeClass('open') - } - - - /* DROPDOWN PLUGIN DEFINITION - * ========================== */ - - $.fn.dropdown = function ( option ) { - return this.each(function () { - var $this = $(this) - , data = $this.data('dropdown') - if (!data) $this.data('dropdown', (data = new Dropdown(this))) - if (typeof option == 'string') data[option].call($this) - }) - } - - $.fn.dropdown.Constructor = Dropdown - - - /* APPLY TO STANDARD DROPDOWN ELEMENTS - * =================================== */ - - $(function () { - $('html').on('click.dropdown.data-api', clearMenus) - $('body').on('click.dropdown.data-api', toggle, Dropdown.prototype.toggle) - }) - -}( window.jQuery ) -/* ========================================================= - * bootstrap-modal.js v2.0.0 - * http://twitter.github.com/bootstrap/javascript.html#modals - * ========================================================= - * Copyright 2012 Twitter, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ========================================================= */ - - -!function( $ ){ - - "use strict" - - /* MODAL CLASS DEFINITION - * ====================== */ - - var Modal = function ( content, options ) { - this.options = $.extend({}, $.fn.modal.defaults, options) - this.$element = $(content) - .delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this)) - } - - Modal.prototype = { - - constructor: Modal - - , toggle: function () { - return this[!this.isShown ? 'show' : 'hide']() - } - - , show: function () { - var that = this - - if (this.isShown) return - - $('body').addClass('modal-open') - - this.isShown = true - this.$element.trigger('show') - - escape.call(this) - backdrop.call(this, function () { - var transition = $.support.transition && that.$element.hasClass('fade') - - !that.$element.parent().length && that.$element.appendTo(document.body) //don't move modals dom position - - that.$element - .show() - - if (transition) { - that.$element[0].offsetWidth // force reflow - } - - that.$element.addClass('in') - - transition ? - that.$element.one($.support.transition.end, function () { that.$element.trigger('shown') }) : - that.$element.trigger('shown') - - }) - } - - , hide: function ( e ) { - e && e.preventDefault() - - if (!this.isShown) return - - var that = this - this.isShown = false - - $('body').removeClass('modal-open') - - escape.call(this) - - this.$element - .trigger('hide') - .removeClass('in') - - $.support.transition && this.$element.hasClass('fade') ? - hideWithTransition.call(this) : - hideModal.call(this) - } - - } - - - /* MODAL PRIVATE METHODS - * ===================== */ - - function hideWithTransition() { - var that = this - , timeout = setTimeout(function () { - that.$element.off($.support.transition.end) - hideModal.call(that) - }, 500) - - this.$element.one($.support.transition.end, function () { - clearTimeout(timeout) - hideModal.call(that) - }) - } - - function hideModal( that ) { - this.$element - .hide() - .trigger('hidden') - - backdrop.call(this) - } - - function backdrop( callback ) { - var that = this - , animate = this.$element.hasClass('fade') ? 'fade' : '' - - if (this.isShown && this.options.backdrop) { - var doAnimate = $.support.transition && animate - - this.$backdrop = $('