├── test └── app │ ├── Lib │ └── empty │ ├── Plugin │ └── empty │ ├── Vendor │ └── empty │ ├── Test │ ├── Fixture │ │ └── empty │ └── Case │ │ ├── View │ │ └── Helper │ │ │ └── empty │ │ ├── Model │ │ └── Behavior │ │ │ └── empty │ │ └── Controller │ │ └── Component │ │ └── empty │ ├── View │ ├── Elements │ │ └── empty │ ├── Scaffolds │ │ └── empty │ ├── Layouts │ │ ├── xml │ │ │ └── default.ctp │ │ ├── js │ │ │ └── default.ctp │ │ ├── rss │ │ │ └── default.ctp │ │ ├── ajax.ctp │ │ ├── Emails │ │ │ ├── text │ │ │ │ └── default.ctp │ │ │ └── html │ │ │ │ └── default.ctp │ │ ├── flash.ctp │ │ └── error.ctp │ ├── Cities │ │ ├── index.ctp │ │ ├── concat.ctp │ │ ├── virtual_fields.ctp │ │ ├── linkable.ctp │ │ ├── containable.ctp │ │ └── no_json_handler.ctp │ ├── Emails │ │ ├── text │ │ │ └── default.ctp │ │ └── html │ │ │ └── default.ctp │ ├── Errors │ │ ├── error500.ctp │ │ └── error400.ctp │ ├── Users │ │ └── login.ctp │ ├── Helper │ │ └── AppHelper.php │ ├── States │ │ └── index.ctp │ └── Pages │ │ └── home.ctp │ ├── webroot │ ├── files │ │ └── empty │ ├── js │ │ ├── empty │ │ ├── datatables │ │ │ ├── lib.js │ │ │ ├── images │ │ │ │ ├── favicon.ico │ │ │ │ ├── sort_asc.png │ │ │ │ ├── sort_both.png │ │ │ │ ├── sort_desc.png │ │ │ │ ├── back_enabled.png │ │ │ │ ├── Sorting icons.psd │ │ │ │ ├── back_disabled.png │ │ │ │ ├── forward_disabled.png │ │ │ │ ├── forward_enabled.png │ │ │ │ ├── sort_asc_disabled.png │ │ │ │ ├── back_enabled_hover.png │ │ │ │ ├── sort_desc_disabled.png │ │ │ │ └── forward_enabled_hover.png │ │ │ └── extras │ │ │ │ ├── ColVis │ │ │ │ └── media │ │ │ │ │ ├── images │ │ │ │ │ └── button.png │ │ │ │ │ ├── js │ │ │ │ │ └── ColVis.min.js.gz │ │ │ │ │ ├── docs │ │ │ │ │ ├── media │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ ├── arrow.jpg │ │ │ │ │ │ │ ├── arrow.png │ │ │ │ │ │ │ └── extended.png │ │ │ │ │ │ ├── license │ │ │ │ │ │ │ └── Syntax Highlighter │ │ │ │ │ │ ├── js │ │ │ │ │ │ │ ├── shBrushJScript.js │ │ │ │ │ │ │ └── doc.js │ │ │ │ │ │ └── css │ │ │ │ │ │ │ └── shThemeDataTables.css │ │ │ │ │ ├── index.html │ │ │ │ │ ├── a69b02bcf2.html │ │ │ │ │ └── ccb5a49865.html │ │ │ │ │ └── css │ │ │ │ │ ├── ColVis.css │ │ │ │ │ └── ColVisAlt.css │ │ │ │ ├── KeyTable │ │ │ │ └── js │ │ │ │ │ └── KeyTable.min.js.gz │ │ │ │ ├── TableTools │ │ │ │ └── media │ │ │ │ │ ├── images │ │ │ │ │ ├── csv.png │ │ │ │ │ ├── pdf.png │ │ │ │ │ ├── xls.png │ │ │ │ │ ├── copy.png │ │ │ │ │ ├── print.png │ │ │ │ │ ├── background.png │ │ │ │ │ ├── collection.png │ │ │ │ │ ├── copy_hover.png │ │ │ │ │ ├── csv_hover.png │ │ │ │ │ ├── pdf_hover.png │ │ │ │ │ ├── xls_hover.png │ │ │ │ │ ├── print_hover.png │ │ │ │ │ ├── psd │ │ │ │ │ │ ├── printer.psd │ │ │ │ │ │ ├── collection.psd │ │ │ │ │ │ ├── file_types.psd │ │ │ │ │ │ └── copy document.psd │ │ │ │ │ └── collection_hover.png │ │ │ │ │ ├── as3 │ │ │ │ │ └── lib │ │ │ │ │ │ └── AlivePDF.swc │ │ │ │ │ ├── swf │ │ │ │ │ ├── copy_csv_xls.swf │ │ │ │ │ └── copy_csv_xls_pdf.swf │ │ │ │ │ └── js │ │ │ │ │ └── TableTools.min.js.gz │ │ │ │ ├── AutoFill │ │ │ │ └── media │ │ │ │ │ ├── images │ │ │ │ │ └── filler.png │ │ │ │ │ ├── js │ │ │ │ │ └── AutoFill.min.js.gz │ │ │ │ │ ├── docs │ │ │ │ │ ├── media │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ ├── arrow.jpg │ │ │ │ │ │ │ ├── arrow.png │ │ │ │ │ │ │ └── extended.png │ │ │ │ │ │ ├── license │ │ │ │ │ │ │ └── Syntax Highlighter │ │ │ │ │ │ ├── js │ │ │ │ │ │ │ ├── shBrushJScript.js │ │ │ │ │ │ │ └── doc.js │ │ │ │ │ │ └── css │ │ │ │ │ │ │ └── shThemeDataTables.css │ │ │ │ │ ├── index.html │ │ │ │ │ ├── b44bd4821a.html │ │ │ │ │ ├── 47cac4f141.html │ │ │ │ │ ├── 02ff627f40.html │ │ │ │ │ ├── a69b02bcf2.html │ │ │ │ │ ├── c6945fdb4a.html │ │ │ │ │ ├── 36456bf45f.html │ │ │ │ │ ├── 8ee4007a12.html │ │ │ │ │ └── 5a72546831.html │ │ │ │ │ └── css │ │ │ │ │ └── AutoFill.css │ │ │ │ ├── ColReorder │ │ │ │ └── media │ │ │ │ │ ├── images │ │ │ │ │ └── insert.png │ │ │ │ │ ├── js │ │ │ │ │ └── ColReorder.min.js.gz │ │ │ │ │ ├── docs │ │ │ │ │ ├── media │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ ├── arrow.jpg │ │ │ │ │ │ │ ├── arrow.png │ │ │ │ │ │ │ └── extended.png │ │ │ │ │ │ ├── license │ │ │ │ │ │ │ └── Syntax Highlighter │ │ │ │ │ │ └── js │ │ │ │ │ │ │ ├── shBrushJScript.js │ │ │ │ │ │ │ └── doc.js │ │ │ │ │ ├── index.html │ │ │ │ │ ├── 4f1246032c.html │ │ │ │ │ ├── a69b02bcf2.html │ │ │ │ │ └── 46848f6f3b.html │ │ │ │ │ └── css │ │ │ │ │ └── ColReorder.css │ │ │ │ ├── FixedHeader │ │ │ │ └── js │ │ │ │ │ └── FixedHeader.min.js.gz │ │ │ │ ├── FixedColumns │ │ │ │ ├── docs │ │ │ │ │ ├── media │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ ├── arrow.jpg │ │ │ │ │ │ │ ├── arrow.png │ │ │ │ │ │ │ └── extended.png │ │ │ │ │ │ ├── license │ │ │ │ │ │ │ └── Syntax Highlighter │ │ │ │ │ │ └── js │ │ │ │ │ │ │ ├── shBrushJScript.js │ │ │ │ │ │ │ └── doc.js │ │ │ │ │ ├── index.html │ │ │ │ │ ├── 070023b890.html │ │ │ │ │ ├── 73098af57c.html │ │ │ │ │ └── e20106c59a.html │ │ │ │ └── media │ │ │ │ │ └── js │ │ │ │ │ └── FixedColumns.min.js.gz │ │ │ │ └── Scroller │ │ │ │ ├── media │ │ │ │ ├── docs │ │ │ │ │ ├── media │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ ├── arrow.jpg │ │ │ │ │ │ │ ├── arrow.png │ │ │ │ │ │ │ └── extended.png │ │ │ │ │ │ ├── license │ │ │ │ │ │ │ └── Syntax Highlighter │ │ │ │ │ │ └── js │ │ │ │ │ │ │ ├── shBrushJScript.js │ │ │ │ │ │ │ └── doc.js │ │ │ │ │ ├── index.html │ │ │ │ │ └── c6053fac6b.html │ │ │ │ ├── images │ │ │ │ │ └── loading-background.png │ │ │ │ ├── js │ │ │ │ │ └── dataTables.scroller.min.js.gz │ │ │ │ └── css │ │ │ │ │ └── dataTables.scroller.css │ │ │ │ ├── state_saving.html │ │ │ │ ├── api_scrolling.html │ │ │ │ ├── server-side_processing.html │ │ │ │ ├── large_js_source.html │ │ │ │ └── index.html │ │ └── examples.js │ ├── favicon.ico │ ├── img │ │ ├── cake.icon.png │ │ ├── cake.power.gif │ │ ├── test-fail-icon.png │ │ ├── test-pass-icon.png │ │ ├── test-skip-icon.png │ │ └── test-error-icon.png │ ├── .htaccess │ ├── test.php │ └── index.php │ ├── Console │ ├── Templates │ │ └── empty │ ├── Command │ │ ├── Task │ │ │ └── empty │ │ └── AppShell.php │ ├── cake.bat │ ├── cake.php │ └── cake │ ├── Model │ ├── Behavior │ │ └── empty │ ├── Datasource │ │ └── empty │ ├── AppModel.php │ ├── State.php │ └── City.php │ ├── Controller │ ├── Component │ │ └── empty │ ├── AppController.php │ ├── PagesController.php │ └── CitiesController.php │ ├── Locale │ └── eng │ │ └── LC_MESSAGES │ │ └── empty │ ├── .htaccess │ ├── Config │ ├── Schema │ │ ├── sessions.sql │ │ ├── i18n.sql │ │ ├── db_acl.sql │ │ ├── sessions.php │ │ ├── schema.php │ │ ├── i18n.php │ │ └── db_acl.php │ ├── routes.php │ ├── acl.ini.php │ ├── email.php.default │ └── database.php .default │ └── index.php ├── _config.yml └── .gitignore /test/app/Lib/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/app/Plugin/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/app/Vendor/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/app/Test/Fixture/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/app/View/Elements/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/app/webroot/files/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/app/webroot/js/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/app/Console/Templates/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/app/Model/Behavior/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/app/Model/Datasource/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/app/View/Scaffolds/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-cayman -------------------------------------------------------------------------------- /test/app/Console/Command/Task/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/app/Controller/Component/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/app/Locale/eng/LC_MESSAGES/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/app/Test/Case/View/Helper/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/app/Test/Case/Model/Behavior/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/app/Test/Case/Controller/Component/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/app/View/Layouts/xml/default.ctp: -------------------------------------------------------------------------------- 1 | fetch('content'); ?> 2 | -------------------------------------------------------------------------------- /test/app/webroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/favicon.ico -------------------------------------------------------------------------------- /test/app/webroot/img/cake.icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/img/cake.icon.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/lib.js: -------------------------------------------------------------------------------- 1 | var lib = [ 2 | '/css/jquery.dataTables.css', 3 | '/js/jquery.dataTables.min.js', 4 | ] -------------------------------------------------------------------------------- /test/app/webroot/img/cake.power.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/img/cake.power.gif -------------------------------------------------------------------------------- /test/app/webroot/img/test-fail-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/img/test-fail-icon.png -------------------------------------------------------------------------------- /test/app/webroot/img/test-pass-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/img/test-pass-icon.png -------------------------------------------------------------------------------- /test/app/webroot/img/test-skip-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/img/test-skip-icon.png -------------------------------------------------------------------------------- /test/app/webroot/img/test-error-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/img/test-error-icon.png -------------------------------------------------------------------------------- /test/app/View/Layouts/js/default.ctp: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/images/favicon.ico -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/images/sort_asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/images/sort_asc.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/images/sort_both.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/images/sort_both.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/images/sort_desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/images/sort_desc.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/images/back_enabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/images/back_enabled.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/images/Sorting icons.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/images/Sorting icons.psd -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/images/back_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/images/back_disabled.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/images/forward_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/images/forward_disabled.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/images/forward_enabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/images/forward_enabled.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/images/sort_asc_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/images/sort_asc_disabled.png -------------------------------------------------------------------------------- /test/app/.htaccess: -------------------------------------------------------------------------------- 1 | # 2 | # RewriteEngine on 3 | # RewriteRule ^$ webroot/ [L] 4 | # RewriteRule (.*) webroot/$1 [L] 5 | # 6 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/images/back_enabled_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/images/back_enabled_hover.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/images/sort_desc_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/images/sort_desc_disabled.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/images/forward_enabled_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/images/forward_enabled_hover.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColVis/media/images/button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/ColVis/media/images/button.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/KeyTable/js/KeyTable.min.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/KeyTable/js/KeyTable.min.js.gz -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/images/csv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/images/csv.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/images/pdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/images/pdf.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/images/xls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/images/xls.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/images/filler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/AutoFill/media/images/filler.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColVis/media/js/ColVis.min.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/ColVis/media/js/ColVis.min.js.gz -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/images/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/images/copy.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/images/print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/images/print.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/js/AutoFill.min.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/AutoFill/media/js/AutoFill.min.js.gz -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColReorder/media/images/insert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/ColReorder/media/images/insert.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/FixedHeader/js/FixedHeader.min.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/FixedHeader/js/FixedHeader.min.js.gz -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/as3/lib/AlivePDF.swc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/as3/lib/AlivePDF.swc -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/images/background.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/images/collection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/images/collection.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/images/copy_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/images/copy_hover.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/images/csv_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/images/csv_hover.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/images/pdf_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/images/pdf_hover.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/images/xls_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/images/xls_hover.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/swf/copy_csv_xls.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/swf/copy_csv_xls.swf -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColReorder/media/js/ColReorder.min.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/ColReorder/media/js/ColReorder.min.js.gz -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColVis/media/docs/media/images/arrow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/ColVis/media/docs/media/images/arrow.jpg -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColVis/media/docs/media/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/ColVis/media/docs/media/images/arrow.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/FixedColumns/docs/media/images/arrow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/FixedColumns/docs/media/images/arrow.jpg -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/FixedColumns/docs/media/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/FixedColumns/docs/media/images/arrow.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/images/print_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/images/print_hover.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/images/psd/printer.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/images/psd/printer.psd -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/js/TableTools.min.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/js/TableTools.min.js.gz -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/docs/media/images/arrow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/AutoFill/media/docs/media/images/arrow.jpg -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/docs/media/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/AutoFill/media/docs/media/images/arrow.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColVis/media/docs/media/images/extended.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/ColVis/media/docs/media/images/extended.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/FixedColumns/docs/media/images/extended.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/FixedColumns/docs/media/images/extended.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/Scroller/media/docs/media/images/arrow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/Scroller/media/docs/media/images/arrow.jpg -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/Scroller/media/docs/media/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/Scroller/media/docs/media/images/arrow.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/images/psd/collection.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/images/psd/collection.psd -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/images/psd/file_types.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/images/psd/file_types.psd -------------------------------------------------------------------------------- /test/app/webroot/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine On 3 | RewriteCond %{REQUEST_FILENAME} !-d 4 | RewriteCond %{REQUEST_FILENAME} !-f 5 | RewriteRule ^(.*)$ index.php [QSA,L] 6 | 7 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/docs/media/images/extended.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/AutoFill/media/docs/media/images/extended.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColReorder/media/docs/media/images/arrow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/ColReorder/media/docs/media/images/arrow.jpg -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColReorder/media/docs/media/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/ColReorder/media/docs/media/images/arrow.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/FixedColumns/media/js/FixedColumns.min.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/FixedColumns/media/js/FixedColumns.min.js.gz -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/Scroller/media/docs/media/images/extended.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/Scroller/media/docs/media/images/extended.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/Scroller/media/images/loading-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/Scroller/media/images/loading-background.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/images/collection_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/images/collection_hover.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/TableTools/media/images/psd/copy document.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/TableTools/media/images/psd/copy document.psd -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColReorder/media/docs/media/images/extended.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/ColReorder/media/docs/media/images/extended.png -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/Scroller/media/js/dataTables.scroller.min.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnizzardini/cakephp-datatable/HEAD/test/app/webroot/js/datatables/extras/Scroller/media/js/dataTables.scroller.min.js.gz -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /test/app/tmp/sessions/ 2 | /test/app/tmp/tests/ 3 | /test/app/tmp/cache/ 4 | /test/app/tmp/logs/ 5 | /app/tmp/sessions/ 6 | /app/tmp/cache/ 7 | /app/tmp/tests/ 8 | /app/tmp/logs/ 9 | /app/Config/database.php 10 | /nbproject/ 11 | /test/app/Config/database.php 12 | -------------------------------------------------------------------------------- /test/app/View/Cities/index.ctp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
IDCityState IDPopulation
-------------------------------------------------------------------------------- /test/app/View/Cities/concat.ctp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
IDCity / PopulationState
-------------------------------------------------------------------------------- /test/app/View/Layouts/rss/default.ctp: -------------------------------------------------------------------------------- 1 | Rss->document( 10 | $this->Rss->channel( 11 | array(), $channel, $this->fetch('content') 12 | ) 13 | ); 14 | ?> 15 | -------------------------------------------------------------------------------- /test/app/View/Cities/virtual_fields.ctp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
IDCity / PopulationState
-------------------------------------------------------------------------------- /test/app/View/Cities/linkable.ctp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
IDCityStatePopulation
-------------------------------------------------------------------------------- /test/app/View/Cities/containable.ctp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
IDCityStatePopulation
-------------------------------------------------------------------------------- /test/app/View/Cities/no_json_handler.ctp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
IDCityStatePopulation
-------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColReorder/media/css/ColReorder.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Namespace DTCR - "DataTables ColReorder" plug-in 3 | */ 4 | 5 | table.DTCR_clonedTable { 6 | background-color: white; 7 | z-index: 202; 8 | } 9 | 10 | div.DTCR_pointer { 11 | width: 1px; 12 | background-color: #0259C4; 13 | z-index: 201; 14 | } 15 | 16 | body.alt div.DTCR_pointer { 17 | margin-top: -15px; 18 | margin-left: -9px; 19 | width: 18px; 20 | background: url('../images/insert.png') no-repeat top left; 21 | } -------------------------------------------------------------------------------- /test/app/Config/Schema/sessions.sql: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # 3 | # Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 4 | # 1785 E. Sahara Avenue, Suite 490-204 5 | # Las Vegas, Nevada 89104 6 | # 7 | # Licensed under The MIT License 8 | # For full copyright and license information, please see the LICENSE.txt 9 | # Redistributions of files must retain the above copyright notice. 10 | # MIT License (http://www.opensource.org/licenses/mit-license.php) 11 | 12 | CREATE TABLE cake_sessions ( 13 | id varchar(255) NOT NULL default '', 14 | data text, 15 | expires int(11) default NULL, 16 | PRIMARY KEY (id) 17 | ); -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/css/AutoFill.css: -------------------------------------------------------------------------------- 1 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 2 | * AutoFill styles 3 | */ 4 | 5 | div.AutoFill_filler { 6 | display: none; 7 | position: absolute; 8 | height: 14px; 9 | width: 14px; 10 | background: url(../images/filler.png) no-repeat center center; 11 | z-index: 1002; 12 | } 13 | 14 | div.AutoFill_border { 15 | display: none; 16 | position: absolute; 17 | background-color: #0063dc; 18 | z-index: 1001; 19 | 20 | box-shadow: 0px 0px 5px #76b4ff; 21 | -moz-box-shadow: 0px 0px 5px #76b4ff; 22 | -webkit-box-shadow: 0px 0px 5px #76b4ff; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /test/app/index.php: -------------------------------------------------------------------------------- 1 | 20 | -------------------------------------------------------------------------------- /test/app/View/Layouts/ajax.ctp: -------------------------------------------------------------------------------- 1 | 20 | fetch('content'); ?> 21 | -------------------------------------------------------------------------------- /test/app/View/Layouts/Emails/text/default.ctp: -------------------------------------------------------------------------------- 1 | 20 | fetch('content'); ?> 21 | 22 | This email was sent using the CakePHP Framework, http://cakephp.org. 23 | -------------------------------------------------------------------------------- /test/app/View/Emails/html/default.ctp: -------------------------------------------------------------------------------- 1 | 20 | ' . $line . "

\n"; 25 | endforeach; 26 | ?> -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/Scroller/media/css/dataTables.scroller.css: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Namespace: DTS (DataTables Scroller) 4 | */ 5 | 6 | div.DTS tbody th, 7 | div.DTS tbody td { 8 | white-space: nowrap; 9 | } 10 | 11 | div.DTS tbody tr.even { 12 | background-color: white; 13 | } 14 | 15 | div.DTS div.DTS_Loading { 16 | position: absolute; 17 | top: 50%; 18 | left: 50%; 19 | width: 200px; 20 | height: 20px; 21 | margin-top: -20px; 22 | margin-left: -100px; 23 | z-index: 1; 24 | 25 | border: 1px solid #999; 26 | padding: 20px 0; 27 | text-align: center; 28 | background-color: white; 29 | background-color: rgba(255, 255, 255, 0.5); 30 | } 31 | 32 | div.DTS div.dataTables_scrollHead { 33 | background-color: white; 34 | } 35 | 36 | div.DTS div.dataTables_scrollBody { 37 | z-index: 2; 38 | } 39 | 40 | div.DTS div.dataTables_scroll { 41 | background: url('../images/loading-background.png') repeat 0 0; 42 | } 43 | 44 | -------------------------------------------------------------------------------- /test/app/Config/Schema/i18n.sql: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # 3 | # Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 4 | # 5 | # Licensed under The MIT License 6 | # For full copyright and license information, please see the LICENSE.txt 7 | # Redistributions of files must retain the above copyright notice. 8 | # MIT License (http://www.opensource.org/licenses/mit-license.php) 9 | 10 | CREATE TABLE i18n ( 11 | id int(10) NOT NULL auto_increment, 12 | locale varchar(6) NOT NULL, 13 | model varchar(255) NOT NULL, 14 | foreign_key int(10) NOT NULL, 15 | field varchar(255) NOT NULL, 16 | content mediumtext, 17 | PRIMARY KEY (id), 18 | # UNIQUE INDEX I18N_LOCALE_FIELD(locale, model, foreign_key, field), 19 | # INDEX I18N_LOCALE_ROW(locale, model, foreign_key), 20 | # INDEX I18N_LOCALE_MODEL(locale, model), 21 | # INDEX I18N_FIELD(model, foreign_key, field), 22 | # INDEX I18N_ROW(model, foreign_key), 23 | INDEX locale (locale), 24 | INDEX model (model), 25 | INDEX row_id (foreign_key), 26 | INDEX field (field) 27 | ); -------------------------------------------------------------------------------- /test/app/Console/Command/AppShell.php: -------------------------------------------------------------------------------- 1 | 20 |

21 |

22 | : 23 | 24 |

25 | 0): 27 | echo $this->element('exception_stack_trace'); 28 | endif; 29 | ?> 30 | -------------------------------------------------------------------------------- /test/app/View/Layouts/Emails/html/default.ctp: -------------------------------------------------------------------------------- 1 | 20 | 21 | 22 | 23 | <?php echo $title_for_layout; ?> 24 | 25 | 26 | fetch('content'); ?> 27 | 28 |

This email was sent using the CakePHP Framework

29 | 30 | -------------------------------------------------------------------------------- /test/app/View/Users/login.ctp: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 | 6 |

Login

7 | 8 |
9 | 10 | 11 |
12 | 13 |
14 | Don't have an account? Register Here 15 |
16 |
17 |
-------------------------------------------------------------------------------- /test/app/Console/cake.bat: -------------------------------------------------------------------------------- 1 | :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 2 | :: 3 | :: Bake is a shell script for running CakePHP bake script 4 | :: PHP 5 5 | :: 6 | :: CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 7 | :: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 8 | :: 9 | :: Licensed under The MIT License 10 | :: Redistributions of files must retain the above copyright notice. 11 | :: 12 | :: @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 13 | :: @link http://cakephp.org CakePHP(tm) Project 14 | :: @package app.Console 15 | :: @since CakePHP(tm) v 2.0 16 | :: @license MIT License (http://www.opensource.org/licenses/mit-license.php) 17 | :: 18 | :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 19 | 20 | :: In order for this script to work as intended, the cake\console\ folder must be in your PATH 21 | 22 | @echo. 23 | @echo off 24 | 25 | SET app=%0 26 | SET lib=%~dp0 27 | 28 | php -q "%lib%cake.php" -working "%CD% " %* 29 | 30 | echo. 31 | 32 | exit /B %ERRORLEVEL% 33 | -------------------------------------------------------------------------------- /test/app/View/Errors/error400.ctp: -------------------------------------------------------------------------------- 1 | 20 |

21 |

22 | : 23 | '{$url}'" 26 | ); ?> 27 |

28 | 0): 30 | echo $this->element('exception_stack_trace'); 31 | endif; 32 | ?> 33 | -------------------------------------------------------------------------------- /test/app/Model/AppModel.php: -------------------------------------------------------------------------------- 1 | 2 | $(function() { 3 | $('#states-table').dataTable({ 4 | "iDisplayLength": 100, 5 | "bProcessing": true, 6 | "bServerSide": true, 7 | "sAjaxSource": "/states/index.json", 8 | "sDom": 'CRTfrtip', 9 | "oTableTools": { 10 | "sSwfPath": "/js/datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf", 11 | }, 12 | "aoColumns":[ 13 | {bVisible: false}, 14 | null, 15 | null, 16 | null, 17 | null, 18 | null, 19 | {bSortable: false} 20 | ], 21 | "fnCreatedRow": function(nRow, aData, iDataIndex){ 22 | $('td:eq(0)', nRow).html('hi'); 23 | } 24 | }); 25 | }); 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
IDCompanyPhoneFaxWebsiteTax NumberAction
-------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColReorder/media/docs/media/license/Syntax Highlighter: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003, 2004 Jim Weirich 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /test/app/Model/State.php: -------------------------------------------------------------------------------- 1 | 20 | 21 | 22 | 23 | Html->charset(); ?> 24 | <?php echo $page_title; ?> 25 | 26 | 27 | 28 | 29 | 34 | 35 | 36 |

37 | 38 | -------------------------------------------------------------------------------- /test/app/Config/Schema/db_acl.sql: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # 3 | # Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 4 | # 5 | # Licensed under The MIT License 6 | # For full copyright and license information, please see the LICENSE.txt 7 | # Redistributions of files must retain the above copyright notice. 8 | # MIT License (http://www.opensource.org/licenses/mit-license.php) 9 | 10 | CREATE TABLE acos ( 11 | id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, 12 | parent_id INTEGER(10) DEFAULT NULL, 13 | model VARCHAR(255) DEFAULT '', 14 | foreign_key INTEGER(10) UNSIGNED DEFAULT NULL, 15 | alias VARCHAR(255) DEFAULT '', 16 | lft INTEGER(10) DEFAULT NULL, 17 | rght INTEGER(10) DEFAULT NULL, 18 | PRIMARY KEY (id) 19 | ); 20 | 21 | CREATE TABLE aros_acos ( 22 | id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, 23 | aro_id INTEGER(10) UNSIGNED NOT NULL, 24 | aco_id INTEGER(10) UNSIGNED NOT NULL, 25 | _create CHAR(2) NOT NULL DEFAULT 0, 26 | _read CHAR(2) NOT NULL DEFAULT 0, 27 | _update CHAR(2) NOT NULL DEFAULT 0, 28 | _delete CHAR(2) NOT NULL DEFAULT 0, 29 | PRIMARY KEY(id) 30 | ); 31 | 32 | CREATE TABLE aros ( 33 | id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, 34 | parent_id INTEGER(10) DEFAULT NULL, 35 | model VARCHAR(255) DEFAULT '', 36 | foreign_key INTEGER(10) UNSIGNED DEFAULT NULL, 37 | alias VARCHAR(255) DEFAULT '', 38 | lft INTEGER(10) DEFAULT NULL, 39 | rght INTEGER(10) DEFAULT NULL, 40 | PRIMARY KEY (id) 41 | ); -------------------------------------------------------------------------------- /test/app/Console/cake.php: -------------------------------------------------------------------------------- 1 | #!/usr/bin/php -q 2 | 2 | 3 | 4 | 5 | Table of Contents - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 |
22 |
23 | 24 |
25 |

Table of Contents

26 |
27 |
ColVis

ColVis provides column visiblity control for DataTables

28 |
29 |
30 |
31 | 32 | 39 | 40 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Table of Contents - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 |
22 |
23 | 24 |
25 |

Table of Contents

26 |
27 |
AutoFill

AutoFill provides Excel like auto fill features for a DataTable

28 |
29 |
30 |
31 | 32 | 39 | 40 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColReorder/media/docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Table of Contents - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 |
22 |
23 | 24 |
25 |

Table of Contents

26 |
27 |
ColReorder

ColReorder provides column visiblity control for DataTables

28 |
29 |
30 |
31 | 32 | 39 | 40 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColVis/media/css/ColVis.css: -------------------------------------------------------------------------------- 1 | 2 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 3 | * ColVis styles 4 | */ 5 | .ColVis { 6 | float: right; 7 | margin-bottom: 1em; 8 | } 9 | 10 | .ColVis_Button { 11 | position: relative; 12 | float: left; 13 | margin-right: 3px; 14 | padding: 3px 5px; 15 | height: 30px; 16 | background-color: #fff; 17 | border: 1px solid #d0d0d0; 18 | cursor: pointer; 19 | *cursor: hand; 20 | } 21 | 22 | button.ColVis_Button::-moz-focus-inner { 23 | border: none !important; 24 | padding: 0; 25 | } 26 | 27 | .ColVis_text_hover { 28 | border: 1px solid #999; 29 | background-color: #f0f0f0; 30 | } 31 | 32 | div.ColVis_collectionBackground { 33 | background-color: black; 34 | z-index: 1100; 35 | } 36 | 37 | div.ColVis_collection { 38 | position: relative; 39 | width: 150px; 40 | background-color: #f3f3f3; 41 | padding: 3px; 42 | border: 1px solid #ccc; 43 | z-index: 1102; 44 | } 45 | 46 | div.ColVis_collection button.ColVis_Button { 47 | background-color: white; 48 | width: 100%; 49 | float: none; 50 | margin-bottom: 2px; 51 | } 52 | 53 | div.ColVis_catcher { 54 | position: absolute; 55 | z-index: 1101; 56 | } 57 | 58 | .disabled { 59 | color: #999; 60 | } 61 | 62 | 63 | 64 | button.ColVis_Button { 65 | text-align: left; 66 | } 67 | 68 | div.ColVis_collection button.ColVis_Button:hover { 69 | border: 1px solid #999; 70 | background-color: #f0f0f0; 71 | } 72 | 73 | span.ColVis_radio { 74 | display: inline-block; 75 | width: 20px; 76 | } 77 | -------------------------------------------------------------------------------- /test/app/Config/Schema/sessions.php: -------------------------------------------------------------------------------- 1 | array('type' => 'string', 'null' => false, 'key' => 'primary'), 42 | 'data' => array('type' => 'text', 'null' => true, 'default' => null), 43 | 'expires' => array('type' => 'integer', 'null' => true, 'default' => null), 44 | 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)) 45 | ); 46 | 47 | } 48 | -------------------------------------------------------------------------------- /test/app/Console/cake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | ################################################################################ 3 | # 4 | # Bake is a shell script for running CakePHP bake script 5 | # PHP 5 6 | # 7 | # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 | # Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 9 | # 10 | # Licensed under The MIT License 11 | # For full copyright and license information, please see the LICENSE.txt 12 | # Redistributions of files must retain the above copyright notice. 13 | # 14 | # @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 | # @link http://cakephp.org CakePHP(tm) Project 16 | # @package app.Console 17 | # @since CakePHP(tm) v 1.2.0.5012 18 | # @license MIT License (http://www.opensource.org/licenses/mit-license.php) 19 | # 20 | ################################################################################ 21 | 22 | # Canonicalize by following every symlink of the given name recursively 23 | canonicalize() { 24 | NAME="$1" 25 | if [ -f "$NAME" ] 26 | then 27 | DIR=$(dirname -- "$NAME") 28 | NAME=$(cd -P "$DIR" && pwd -P)/$(basename -- "$NAME") 29 | fi 30 | while [ -h "$NAME" ]; do 31 | DIR=$(dirname -- "$NAME") 32 | SYM=$(readlink "$NAME") 33 | NAME=$(cd "$DIR" && cd $(dirname -- "$SYM") && pwd)/$(basename -- "$SYM") 34 | done 35 | echo "$NAME" 36 | } 37 | 38 | CONSOLE=$(dirname -- "$(canonicalize "$0")") 39 | APP=$(dirname "$CONSOLE") 40 | 41 | exec php -q "$CONSOLE"/cake.php -working "$APP" "$@" 42 | exit 43 | -------------------------------------------------------------------------------- /test/app/Controller/AppController.php: -------------------------------------------------------------------------------- 1 | RequestHandler->responseType() == 'json'){ 45 | $this->RequestHandler->setContent('json', 'application/json' ); 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /test/app/Config/Schema/schema.php: -------------------------------------------------------------------------------- 1 | array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary'), 13 | 'name' => array('type' => 'string', 'null' => false, 'length' => 60, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'), 14 | 'state_id' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 2, 'key' => 'index'), 15 | 'population' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10), 16 | 'indexes' => array( 17 | 'PRIMARY' => array('column' => 'id', 'unique' => 1), 18 | 'state_id' => array('column' => 'state_id', 'unique' => 0) 19 | ), 20 | 'tableParameters' => array('charset' => 'latin1', 'collate' => 'latin1_swedish_ci', 'engine' => 'InnoDB') 21 | ); 22 | 23 | public $states = array( 24 | 'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 2, 'key' => 'primary'), 25 | 'name' => array('type' => 'string', 'null' => false, 'length' => 30, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'), 26 | 'abbrev' => array('type' => 'string', 'null' => false, 'length' => 2, 'key' => 'unique', 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'), 27 | 'indexes' => array( 28 | 'PRIMARY' => array('column' => 'id', 'unique' => 1), 29 | 'abbrev' => array('column' => 'abbrev', 'unique' => 1) 30 | ), 31 | 'tableParameters' => array('charset' => 'latin1', 'collate' => 'latin1_swedish_ci', 'engine' => 'InnoDB') 32 | ); 33 | 34 | } 35 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColVis/media/docs/media/js/shBrushJScript.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'break case catch continue ' + 25 | 'default delete do else false ' + 26 | 'for function if in instanceof ' + 27 | 'new null return super switch ' + 28 | 'this throw true try typeof var while with' 29 | ; 30 | 31 | var r = SyntaxHighlighter.regexLib; 32 | 33 | this.regexList = [ 34 | { regex: r.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings 35 | { regex: r.multiLineSingleQuotedString, css: 'string' }, // single quoted strings 36 | { regex: r.singleLineCComments, css: 'comments' }, // one line comments 37 | { regex: r.multiLineCComments, css: 'comments' }, // multiline comments 38 | { regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion 39 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords 40 | ]; 41 | 42 | this.forHtmlScript(r.scriptScriptTags); 43 | }; 44 | 45 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 46 | Brush.aliases = ['js', 'jscript', 'javascript']; 47 | 48 | SyntaxHighlighter.brushes.JScript = Brush; 49 | 50 | // CommonJS 51 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 52 | })(); 53 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/FixedColumns/docs/media/js/shBrushJScript.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'break case catch continue ' + 25 | 'default delete do else false ' + 26 | 'for function if in instanceof ' + 27 | 'new null return super switch ' + 28 | 'this throw true try typeof var while with' 29 | ; 30 | 31 | var r = SyntaxHighlighter.regexLib; 32 | 33 | this.regexList = [ 34 | { regex: r.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings 35 | { regex: r.multiLineSingleQuotedString, css: 'string' }, // single quoted strings 36 | { regex: r.singleLineCComments, css: 'comments' }, // one line comments 37 | { regex: r.multiLineCComments, css: 'comments' }, // multiline comments 38 | { regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion 39 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords 40 | ]; 41 | 42 | this.forHtmlScript(r.scriptScriptTags); 43 | }; 44 | 45 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 46 | Brush.aliases = ['js', 'jscript', 'javascript']; 47 | 48 | SyntaxHighlighter.brushes.JScript = Brush; 49 | 50 | // CommonJS 51 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 52 | })(); 53 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/docs/media/js/shBrushJScript.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'break case catch continue ' + 25 | 'default delete do else false ' + 26 | 'for function if in instanceof ' + 27 | 'new null return super switch ' + 28 | 'this throw true try typeof var while with' 29 | ; 30 | 31 | var r = SyntaxHighlighter.regexLib; 32 | 33 | this.regexList = [ 34 | { regex: r.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings 35 | { regex: r.multiLineSingleQuotedString, css: 'string' }, // single quoted strings 36 | { regex: r.singleLineCComments, css: 'comments' }, // one line comments 37 | { regex: r.multiLineCComments, css: 'comments' }, // multiline comments 38 | { regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion 39 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords 40 | ]; 41 | 42 | this.forHtmlScript(r.scriptScriptTags); 43 | }; 44 | 45 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 46 | Brush.aliases = ['js', 'jscript', 'javascript']; 47 | 48 | SyntaxHighlighter.brushes.JScript = Brush; 49 | 50 | // CommonJS 51 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 52 | })(); 53 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColReorder/media/docs/media/js/shBrushJScript.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'break case catch continue ' + 25 | 'default delete do else false ' + 26 | 'for function if in instanceof ' + 27 | 'new null return super switch ' + 28 | 'this throw true try typeof var while with' 29 | ; 30 | 31 | var r = SyntaxHighlighter.regexLib; 32 | 33 | this.regexList = [ 34 | { regex: r.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings 35 | { regex: r.multiLineSingleQuotedString, css: 'string' }, // single quoted strings 36 | { regex: r.singleLineCComments, css: 'comments' }, // one line comments 37 | { regex: r.multiLineCComments, css: 'comments' }, // multiline comments 38 | { regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion 39 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords 40 | ]; 41 | 42 | this.forHtmlScript(r.scriptScriptTags); 43 | }; 44 | 45 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 46 | Brush.aliases = ['js', 'jscript', 'javascript']; 47 | 48 | SyntaxHighlighter.brushes.JScript = Brush; 49 | 50 | // CommonJS 51 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 52 | })(); 53 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/Scroller/media/docs/media/js/shBrushJScript.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'break case catch continue ' + 25 | 'default delete do else false ' + 26 | 'for function if in instanceof ' + 27 | 'new null return super switch ' + 28 | 'this throw true try typeof var while with' 29 | ; 30 | 31 | var r = SyntaxHighlighter.regexLib; 32 | 33 | this.regexList = [ 34 | { regex: r.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings 35 | { regex: r.multiLineSingleQuotedString, css: 'string' }, // single quoted strings 36 | { regex: r.singleLineCComments, css: 'comments' }, // one line comments 37 | { regex: r.multiLineCComments, css: 'comments' }, // multiline comments 38 | { regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion 39 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords 40 | ]; 41 | 42 | this.forHtmlScript(r.scriptScriptTags); 43 | }; 44 | 45 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 46 | Brush.aliases = ['js', 'jscript', 'javascript']; 47 | 48 | SyntaxHighlighter.brushes.JScript = Brush; 49 | 50 | // CommonJS 51 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 52 | })(); 53 | -------------------------------------------------------------------------------- /test/app/View/Layouts/error.ctp: -------------------------------------------------------------------------------- 1 | 22 | 23 | 24 | 25 | Html->charset(); ?> 26 | 27 | <?php echo $cakeDescription ?>: 28 | <?php echo $title_for_layout; ?> 29 | 30 | Html->meta('icon'); 32 | 33 | echo $this->Html->css('cake.generic'); 34 | 35 | echo $this->fetch('meta'); 36 | echo $this->fetch('css'); 37 | echo $this->fetch('script'); 38 | ?> 39 | 40 | 41 |
42 | 45 |
46 | 47 | Session->flash(); ?> 48 | 49 | fetch('content'); ?> 50 |
51 | 59 |
60 | element('sql_dump'); ?> 61 | 62 | 63 | -------------------------------------------------------------------------------- /test/app/Config/Schema/i18n.php: -------------------------------------------------------------------------------- 1 | array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary'), 44 | 'locale' => array('type' => 'string', 'null' => false, 'length' => 6, 'key' => 'index'), 45 | 'model' => array('type' => 'string', 'null' => false, 'key' => 'index'), 46 | 'foreign_key' => array('type' => 'integer', 'null' => false, 'length' => 10, 'key' => 'index'), 47 | 'field' => array('type' => 'string', 'null' => false, 'key' => 'index'), 48 | 'content' => array('type' => 'text', 'null' => true, 'default' => null), 49 | 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'locale' => array('column' => 'locale', 'unique' => 0), 'model' => array('column' => 'model', 'unique' => 0), 'row_id' => array('column' => 'foreign_key', 'unique' => 0), 'field' => array('column' => 'field', 'unique' => 0)) 50 | ); 51 | 52 | } 53 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/FixedColumns/docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Table of Contents - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 |
22 |
23 | 24 |
25 |

Table of Contents

26 |
27 |
FixedColumns

When making use of DataTables' x-axis scrolling feature, you may wish to 28 | fix the left most column in place. This plug-in for DataTables provides 29 | exactly this option (note for non-scrolling tables, please use the
30 | FixedHeader plug-in, which can fix headers, footers and columns). Key 31 | features include: 32 |

    33 |
  • Freezes the left or right most columns to the side of the table
  • 34 |
  • Option to freeze two or more columns
  • 35 |
  • Full integration with DataTables' scrolling options
  • 36 |
  • Speed - FixedColumns is fast in its operation
  • 37 |

38 |
39 |
40 |
41 | 42 | 49 | 50 | -------------------------------------------------------------------------------- /test/app/Controller/PagesController.php: -------------------------------------------------------------------------------- 1 | redirect('/'); 60 | } 61 | $page = $subpage = $title_for_layout = null; 62 | 63 | if (!empty($path[0])) { 64 | $page = $path[0]; 65 | } 66 | if (!empty($path[1])) { 67 | $subpage = $path[1]; 68 | } 69 | if (!empty($path[$count - 1])) { 70 | $title_for_layout = Inflector::humanize($path[$count - 1]); 71 | } 72 | $this->set(compact('page', 'subpage', 'title_for_layout')); 73 | $this->render(implode('/', $path)); 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /test/app/Config/routes.php: -------------------------------------------------------------------------------- 1 | 'cities', 'action' => 'index', 'home')); 30 | /** 31 | * ...and connect the rest of 'Pages' controller's urls. 32 | */ 33 | Router::connect('/pages/*', array('controller' => 'pages', 'action' => 'display')); 34 | 35 | /** 36 | * Userland routes 37 | */ 38 | Router::connect('/login', array('controller' => 'Users', 'action' => 'login')); 39 | Router::connect('/logout', array('controller' => 'Users', 'action' => 'logout')); 40 | 41 | /** 42 | * Load all plugin routes. See the CakePlugin documentation on 43 | * how to customize the loading of plugin routes. 44 | */ 45 | CakePlugin::routes(); 46 | Router::setExtensions(array('json'),true); 47 | Router::parseExtensions('json'); 48 | 49 | /** 50 | * Load the CakePHP default routes. Only remove this if you do not want to use 51 | * the built-in default routes. 52 | */ 53 | require CAKE . 'Config' . DS . 'routes.php'; 54 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColVis/media/css/ColVisAlt.css: -------------------------------------------------------------------------------- 1 | /* 2 | * An alternative styling for ColVis 3 | * Note you will likely have to change the path for the background image used by jQuery UI theming: 4 | * ../../../../examples/examples_support/themes/smoothness 5 | */ 6 | 7 | .ColVis { 8 | position: absolute; 9 | right: 0; 10 | top: 0; 11 | width: 15px; 12 | height: 30px; 13 | } 14 | 15 | .ColVis_MasterButton { 16 | height: 100%; 17 | width: 100%; 18 | border-left-width: 0; 19 | cursor: pointer; 20 | *cursor: hand; 21 | background: url('../images/button.png') no-repeat top left; 22 | } 23 | 24 | button.ColVis_Button::-moz-focus-inner { 25 | border: none !important; 26 | padding: 0; 27 | } 28 | 29 | .ColVis_text_hover { 30 | border: 1px solid #999; 31 | background-color: #f0f0f0; 32 | } 33 | 34 | div.ColVis_collectionBackground { 35 | background-color: black; 36 | z-index: 1100; 37 | } 38 | 39 | div.ColVis_collection { 40 | position: relative; 41 | width: 150px; 42 | background-color: #f9f9f9; 43 | padding: 3px; 44 | border: 1px solid #ccc; 45 | z-index: 1102; 46 | } 47 | 48 | div.ColVis_collection button.ColVis_Button { 49 | height: 30px; 50 | width: 100%; 51 | margin-right: 3px; 52 | margin-bottom: 2px; 53 | padding: 3px 5px; 54 | cursor: pointer; 55 | *cursor: hand; 56 | text-align: left; 57 | } 58 | 59 | div.ColVis_collection button.ColVis_Button:hover { 60 | border: 1px solid #999; 61 | background-color: #f0f0f0; 62 | } 63 | 64 | div.ColVis_catcher { 65 | position: absolute; 66 | z-index: 1101; 67 | } 68 | 69 | span.ColVis_radio { 70 | display: inline-block; 71 | width: 20px; 72 | } 73 | 74 | button.ColVis_Restore { 75 | margin-top: 15px; 76 | } 77 | 78 | button.ColVis_Restore span { 79 | display: inline-block; 80 | padding-left: 10px; 81 | text-align: left; 82 | } 83 | 84 | .disabled { 85 | color: #999; 86 | } 87 | 88 | 89 | 90 | /* 91 | * Styles needed for DataTables scrolling 92 | */ 93 | div.dataTables_scrollHead { 94 | position: relative; 95 | overflow: hidden; 96 | } 97 | 98 | div.dataTables_scrollBody { 99 | overflow-y: scroll; 100 | } 101 | 102 | div.dataTables_scrollFoot { 103 | overflow: hidden; 104 | } 105 | -------------------------------------------------------------------------------- /test/app/Config/acl.ini.php: -------------------------------------------------------------------------------- 1 | ; 2 | ;/** 3 | ; * ACL Configuration 4 | ; * 5 | ; * 6 | ; * PHP 5 7 | ; * 8 | ; * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 9 | ; * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 10 | ; * 11 | ; * Licensed under The MIT License 12 | ; * Redistributions of files must retain the above copyright notice. 13 | ; * 14 | ; * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 | ; * @link http://cakephp.org CakePHP(tm) Project 16 | ; * @package app.Config 17 | ; * @since CakePHP(tm) v 0.10.0.1076 18 | ; * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 19 | ; */ 20 | 21 | ; acl.ini.php - Cake ACL Configuration 22 | ; --------------------------------------------------------------------- 23 | ; Use this file to specify user permissions. 24 | ; aco = access control object (something in your application) 25 | ; aro = access request object (something requesting access) 26 | ; 27 | ; User records are added as follows: 28 | ; 29 | ; [uid] 30 | ; groups = group1, group2, group3 31 | ; allow = aco1, aco2, aco3 32 | ; deny = aco4, aco5, aco6 33 | ; 34 | ; Group records are added in a similar manner: 35 | ; 36 | ; [gid] 37 | ; allow = aco1, aco2, aco3 38 | ; deny = aco4, aco5, aco6 39 | ; 40 | ; The allow, deny, and groups sections are all optional. 41 | ; NOTE: groups names *cannot* ever be the same as usernames! 42 | ; 43 | ; ACL permissions are checked in the following order: 44 | ; 1. Check for user denies (and DENY if specified) 45 | ; 2. Check for user allows (and ALLOW if specified) 46 | ; 3. Gather user's groups 47 | ; 4. Check group denies (and DENY if specified) 48 | ; 5. Check group allows (and ALLOW if specified) 49 | ; 6. If no aro, aco, or group information is found, DENY 50 | ; 51 | ; --------------------------------------------------------------------- 52 | 53 | ;------------------------------------- 54 | ;Users 55 | ;------------------------------------- 56 | 57 | [username-goes-here] 58 | groups = group1, group2 59 | deny = aco1, aco2 60 | allow = aco3, aco4 61 | 62 | ;------------------------------------- 63 | ;Groups 64 | ;------------------------------------- 65 | 66 | [groupname-goes-here] 67 | deny = aco5, aco6 68 | allow = aco7, aco8 69 | -------------------------------------------------------------------------------- /test/app/Config/email.php.default: -------------------------------------------------------------------------------- 1 | The name of a supported transport; valid options are as follows: 26 | * Mail - Send using PHP mail function 27 | * Smtp - Send using SMTP 28 | * Debug - Do not send the email, just return the result 29 | * 30 | * You can add custom transports (or override existing transports) by adding the 31 | * appropriate file to app/Network/Email. Transports should be named 'YourTransport.php', 32 | * where 'Your' is the name of the transport. 33 | * 34 | * from => 35 | * The origin email. See CakeEmail::from() about the valid values 36 | * 37 | */ 38 | class EmailConfig { 39 | 40 | public $default = array( 41 | 'transport' => 'Mail', 42 | 'from' => 'you@localhost', 43 | //'charset' => 'utf-8', 44 | //'headerCharset' => 'utf-8', 45 | ); 46 | 47 | public $smtp = array( 48 | 'transport' => 'Smtp', 49 | 'from' => array('site@localhost' => 'My Site'), 50 | 'host' => 'localhost', 51 | 'port' => 25, 52 | 'timeout' => 30, 53 | 'username' => 'user', 54 | 'password' => 'secret', 55 | 'client' => null, 56 | 'log' => false, 57 | //'charset' => 'utf-8', 58 | //'headerCharset' => 'utf-8', 59 | ); 60 | 61 | public $fast = array( 62 | 'from' => 'you@localhost', 63 | 'sender' => null, 64 | 'to' => null, 65 | 'cc' => null, 66 | 'bcc' => null, 67 | 'replyTo' => null, 68 | 'readReceipt' => null, 69 | 'returnPath' => null, 70 | 'messageId' => true, 71 | 'subject' => null, 72 | 'message' => null, 73 | 'headers' => null, 74 | 'viewRender' => null, 75 | 'template' => false, 76 | 'layout' => false, 77 | 'viewVars' => null, 78 | 'attachments' => null, 79 | 'emailFormat' => null, 80 | 'transport' => 'Smtp', 81 | 'host' => 'localhost', 82 | 'port' => 25, 83 | 'timeout' => 30, 84 | 'username' => 'user', 85 | 'password' => 'secret', 86 | 'client' => null, 87 | 'log' => true, 88 | //'charset' => 'utf-8', 89 | //'headerCharset' => 'utf-8', 90 | ); 91 | 92 | } 93 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/docs/b44bd4821a.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Namespace: An array of objects - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 |
23 |

Namespace: An array of objects

24 | 25 |
26 | 27 |
28 |
29 | 30 | 31 | 32 |
33 |

Navigation

34 |
    35 |
  • Overview
  • 36 |
  • Summary
    Classes (0)Namespaces (0)
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
  • Details
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
37 |
38 | 39 | Hiding private elements 40 | (toggle) 41 | 42 |
43 |
44 | 45 | Showing extended elements 46 | (toggle) 47 | 48 |
49 |
50 | 51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 | 59 |
60 | 61 | 62 | 63 | 64 | 65 |
66 | 67 | 74 | 75 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColReorder/media/docs/4f1246032c.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Namespace: Information used for the mouse drag - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 |
23 |

Namespace: Information used for the mouse drag

24 | 25 |
26 | 27 |
28 |
29 | 30 | 31 | 32 |
33 |

Navigation

34 |
    35 |
  • Overview
  • 36 |
  • Summary
    Classes (0)Namespaces (0)
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
  • Details
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
37 |
38 | 39 | Hiding private elements 40 | (toggle) 41 | 42 |
43 |
44 | 45 | Showing extended elements 46 | (toggle) 47 | 48 |
49 |
50 | 51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 | 59 |
60 | 61 | 62 | 63 | 64 | 65 |
66 | 67 | 74 | 75 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/docs/47cac4f141.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Namespace: Cached information about the border display - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 |
23 |

Namespace: Cached information about the border display

24 | 25 |
26 | 27 |
28 |
29 | 30 | 31 | 32 |
33 |

Navigation

34 |
    35 |
  • Overview
  • 36 |
  • Summary
    Classes (0)Namespaces (0)
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
  • Details
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
37 |
38 | 39 | Hiding private elements 40 | (toggle) 41 | 42 |
43 |
44 | 45 | Showing extended elements 46 | (toggle) 47 | 48 |
49 |
50 | 51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 | 59 |
60 | 61 | 62 | 63 | 64 | 65 |
66 | 67 | 74 | 75 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/docs/02ff627f40.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Namespace: Store for live information for the current drag - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 |
23 |

Namespace: Store for live information for the current drag

24 | 25 |
26 | 27 |
28 |
29 | 30 | 31 | 32 |
33 |

Navigation

34 |
    35 |
  • Overview
  • 36 |
  • Summary
    Classes (0)Namespaces (0)
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
  • Details
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
37 |
38 | 39 | Hiding private elements 40 | (toggle) 41 | 42 |
43 |
44 | 45 | Showing extended elements 46 | (toggle) 47 | 48 |
49 |
50 | 51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 | 59 |
60 | 61 | 62 | 63 | 64 | 65 |
66 | 67 | 74 | 75 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColVis/media/docs/a69b02bcf2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Namespace: Common and useful DOM elements for the class instance - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 |
23 |

Namespace: Common and useful DOM elements for the class instance

24 | 25 |
26 | 27 |
28 |
29 | 30 | 31 | 32 |
33 |

Navigation

34 |
    35 |
  • Overview
  • 36 |
  • Summary
    Classes (0)Namespaces (0)
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
  • Details
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
37 |
38 | 39 | Hiding private elements 40 | (toggle) 41 | 42 |
43 |
44 | 45 | Showing extended elements 46 | (toggle) 47 | 48 |
49 |
50 | 51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 | 59 |
60 | 61 | 62 | 63 | 64 | 65 |
66 | 67 | 74 | 75 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/docs/a69b02bcf2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Namespace: Common and useful DOM elements for the class instance - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 |
23 |

Namespace: Common and useful DOM elements for the class instance

24 | 25 |
26 | 27 |
28 |
29 | 30 | 31 | 32 |
33 |

Navigation

34 |
    35 |
  • Overview
  • 36 |
  • Summary
    Classes (0)Namespaces (0)
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
  • Details
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
37 |
38 | 39 | Hiding private elements 40 | (toggle) 41 | 42 |
43 |
44 | 45 | Showing extended elements 46 | (toggle) 47 | 48 |
49 |
50 | 51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 | 59 |
60 | 61 | 62 | 63 | 64 | 65 |
66 | 67 | 74 | 75 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColReorder/media/docs/a69b02bcf2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Namespace: Common and useful DOM elements for the class instance - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 |
23 |

Namespace: Common and useful DOM elements for the class instance

24 | 25 |
26 | 27 |
28 |
29 | 30 | 31 | 32 |
33 |

Navigation

34 |
    35 |
  • Overview
  • 36 |
  • Summary
    Classes (0)Namespaces (0)
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
  • Details
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
37 |
38 | 39 | Hiding private elements 40 | (toggle) 41 | 42 |
43 |
44 | 45 | Showing extended elements 46 | (toggle) 47 | 48 |
49 |
50 | 51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 | 59 |
60 | 61 | 62 | 63 | 64 | 65 |
66 | 67 | 74 | 75 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/docs/c6945fdb4a.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Namespace: Cached information about the little dragging icon - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 |
23 |

Namespace: Cached information about the little dragging icon

24 | the filler 25 |
26 | 27 |
28 |
29 | 30 | 31 | 32 |
33 |

Navigation

34 |
    35 |
  • Overview
  • 36 |
  • Summary
    Classes (0)Namespaces (0)
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
  • Details
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
37 |
38 | 39 | Hiding private elements 40 | (toggle) 41 | 42 |
43 |
44 | 45 | Showing extended elements 46 | (toggle) 47 | 48 |
49 |
50 | 51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 | 59 |
60 | 61 | 62 | 63 | 64 | 65 |
66 | 67 | 74 | 75 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/Scroller/state_saving.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | DataTables example 8 | 13 | 14 | 15 | 16 | 27 | 28 | 29 |
30 |
31 | Scroller with state saving 32 |
33 | 34 |

Preamble

35 |

Scroller will automatically integrate with DataTables in order to save the scrolling position of the table, if state saving is enabled in the DataTable (bStateSave). This example shows that in practice - to demonstrate, scroll the table and then reload the page.

36 | 37 |

Live example

38 |
39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 |
IDFirst nameLast nameZIPCountry
50 |
51 |
52 | 53 | 54 |

Initialisation code

55 |
$(document).ready(function() {
56 | 	var oTable = $('#example').dataTable( {
57 | 		"sScrollY": "200px",
58 | 		"sAjaxSource": "media/data/2500.txt",
59 | 		"sDom": "frtiS",
60 | 		"bDeferRender": true,
61 | 		"bStateSave": true
62 | 	} );
63 | } );
64 | 65 | 66 |

Other examples

67 | 76 | 77 |
78 | 79 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/Scroller/media/docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Table of Contents - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 |
22 |
23 | 24 |
25 |

Table of Contents

26 |
27 |
Scroller

Scroller is a virtual rendering plug-in for DataTables which allows large 28 | datasets to be drawn on screen every quickly. What the virtual rendering means 29 | is that only the visible portion of the table (and a bit to either side to make 30 | the scrolling smooth) is drawn, while the scrolling container gives the 31 | visual impression that the whole table is visible. This is done by making use 32 | of the pagination abilities of DataTables and moving the table around in the 33 | scrolling container DataTables adds to the page. The scrolling container is 34 | forced to the height it would be for the full table display using an extra 35 | element.

36 | 37 |

Note that rows in the table MUST all be the same height. Information in a cell 38 | which expands on to multiple lines will cause some odd behaviour in the scrolling.

39 | 40 |

Scroller is initialised by simply including the letter 'S' in the sDom for the 41 | table you want to have this feature enabled on. Note that the 'S' must come 42 | AFTER the 't' parameter in sDom.

43 | 44 |

Key features include: 45 |

    46 |
  • Speed! The aim of Scroller for DataTables is to make rendering large data sets fast
  • 47 |
  • Full compatibility with deferred rendering in DataTables 1.9 for maximum speed
  • 48 |
  • Correct visual scrolling implementation, similar to "infinite scrolling" in DataTable core
  • 49 |
  • Integration with state saving in DataTables (scrolling position is saved)
  • 50 |
  • Easy to use
  • 51 |

52 |
53 |
54 |
55 | 56 | 63 | 64 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColVis/media/docs/ccb5a49865.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Namespace: Settings object which contains customisable information for ColVis instance - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 |
23 |

Namespace: Settings object which contains customisable information for ColVis instance

24 | 25 |
26 | 27 |
28 |
29 | 30 | 31 | 32 |
33 |

Navigation

34 |
    35 |
  • Overview
  • 36 |
  • Summary
    Classes (0)Namespaces (0)
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
  • Details
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
37 |
38 | 39 | Hiding private elements 40 | (toggle) 41 | 42 |
43 |
44 | 45 | Showing extended elements 46 | (toggle) 47 | 48 |
49 |
50 | 51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 | 59 |
60 | 61 | 62 | 63 | 64 | 65 |
66 | 67 | 74 | 75 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/docs/36456bf45f.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Namespace: Settings object which contains customisable information for AutoFill instance - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 |
23 |

Namespace: Settings object which contains customisable information for AutoFill instance

24 | 25 |
26 | 27 |
28 |
29 | 30 | 31 | 32 |
33 |

Navigation

34 |
    35 |
  • Overview
  • 36 |
  • Summary
    Classes (0)Namespaces (0)
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
  • Details
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
37 |
38 | 39 | Hiding private elements 40 | (toggle) 41 | 42 |
43 |
44 | 45 | Showing extended elements 46 | (toggle) 47 | 48 |
49 |
50 | 51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 | 59 |
60 | 61 | 62 | 63 | 64 | 65 |
66 | 67 | 74 | 75 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColReorder/media/docs/46848f6f3b.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Namespace: Settings object which contains customisable information for ColReorder instance - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 |
23 |

Namespace: Settings object which contains customisable information for ColReorder instance

24 | 25 |
26 | 27 |
28 |
29 | 30 | 31 | 32 |
33 |

Navigation

34 |
    35 |
  • Overview
  • 36 |
  • Summary
    Classes (0)Namespaces (0)
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
  • Details
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
37 |
38 | 39 | Hiding private elements 40 | (toggle) 41 | 42 |
43 |
44 | 45 | Showing extended elements 46 | (toggle) 47 | 48 |
49 |
50 | 51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 | 59 |
60 | 61 | 62 | 63 | 64 | 65 |
66 | 67 | 74 | 75 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/docs/8ee4007a12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Namespace: Data cache for information that we need for scrolling the screen when we near 6 | the edges - documentation 7 | 8 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 |
24 |

Namespace: Data cache for information that we need for scrolling the screen when we near 25 | the edges

26 | 27 |
28 | 29 |
30 |
31 | 32 | 33 | 34 |
35 |

Navigation

36 |
    37 |
  • Overview
  • 38 |
  • Summary
    Classes (0)Namespaces (0)
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
  • Details
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
39 |
40 | 41 | Hiding private elements 42 | (toggle) 43 | 44 |
45 |
46 | 47 | Showing extended elements 48 | (toggle) 49 | 50 |
51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 | 59 |
60 | 61 |
62 | 63 | 64 | 65 | 66 | 67 |
68 | 69 | 76 | 77 | -------------------------------------------------------------------------------- /test/app/Config/database.php .default: -------------------------------------------------------------------------------- 1 | The name of a supported datasource; valid options are as follows: 26 | * Database/Mysql - MySQL 4 & 5, 27 | * Database/Sqlite - SQLite (PHP5 only), 28 | * Database/Postgres - PostgreSQL 7 and higher, 29 | * Database/Sqlserver - Microsoft SQL Server 2005 and higher 30 | * 31 | * You can add custom database datasources (or override existing datasources) by adding the 32 | * appropriate file to app/Model/Datasource/Database. Datasources should be named 'MyDatasource.php', 33 | * 34 | * 35 | * persistent => true / false 36 | * Determines whether or not the database should use a persistent connection 37 | * 38 | * host => 39 | * the host you connect to the database. To add a socket or port number, use 'port' => # 40 | * 41 | * prefix => 42 | * Uses the given prefix for all the tables in this database. This setting can be overridden 43 | * on a per-table basis with the Model::$tablePrefix property. 44 | * 45 | * schema => 46 | * For Postgres/Sqlserver specifies which schema you would like to use the tables in. Postgres defaults to 'public'. For Sqlserver, it defaults to empty and use 47 | * the connected user's default schema (typically 'dbo'). 48 | * 49 | * encoding => 50 | * For MySQL, Postgres specifies the character encoding to use when connecting to the 51 | * database. Uses database default not specified. 52 | * 53 | * unix_socket => 54 | * For MySQL to connect via socket specify the `unix_socket` parameter instead of `host` and `port` 55 | */ 56 | class DATABASE_CONFIG { 57 | 58 | public $default = array( 59 | 'datasource' => 'Database/Mysql', 60 | 'persistent' => false, 61 | 'host' => 'localhost', 62 | 'login' => 'user', 63 | 'password' => 'password', 64 | 'database' => 'database_name', 65 | 'prefix' => '', 66 | //'encoding' => 'utf8', 67 | ); 68 | 69 | public $test = array( 70 | 'datasource' => 'Database/Mysql', 71 | 'persistent' => false, 72 | 'host' => 'localhost', 73 | 'login' => 'user', 74 | 'password' => 'password', 75 | 'database' => 'test_database_name', 76 | 'prefix' => '', 77 | //'encoding' => 'utf8', 78 | ); 79 | } 80 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/docs/5a72546831.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Namespace: Data cache for the position of the DataTables scrolling element (when scrolling 6 | is enabled) - documentation 7 | 8 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 |
24 |

Namespace: Data cache for the position of the DataTables scrolling element (when scrolling 25 | is enabled)

26 | 27 |
28 | 29 |
30 |
31 | 32 | 33 | 34 |
35 |

Navigation

36 |
    37 |
  • Overview
  • 38 |
  • Summary
    Classes (0)Namespaces (0)
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
  • Details
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
39 |
40 | 41 | Hiding private elements 42 | (toggle) 43 | 44 |
45 |
46 | 47 | Showing extended elements 48 | (toggle) 49 | 50 |
51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 | 59 |
60 | 61 |
62 | 63 | 64 | 65 | 66 | 67 |
68 | 69 | 76 | 77 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/Scroller/media/docs/c6053fac6b.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Namespace: dom - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 |
23 |

Namespace: dom

24 |

Ancestry: Scroller# » dom

25 |
26 | Scroller v1.1.0 documentation 27 |
28 |
29 | 30 | 31 | 32 |
33 |

Navigation

34 |
    35 |
  • Overview
  • 36 |
  • Summary
    Classes (0)Namespaces (0)
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
  • Details
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
37 |
38 | 39 | Hiding private elements 40 | (toggle) 41 | 42 |
43 |
44 | 45 | Showing extended elements 46 | (toggle) 47 | 48 |
49 |
50 | 51 |
52 | 53 |
54 | 55 |

DOM elements used by the class instance

56 | 57 |
58 | 59 |
60 | 61 | 62 | 63 | 64 | 65 |
66 | 67 | 74 | 75 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/Scroller/api_scrolling.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | DataTables example 8 | 13 | 14 | 15 | 16 | 29 | 30 | 31 |
32 |
33 | Scroller API example 34 |
35 | 36 |

Preamble

37 |

This example shows a trivial use of the Scroller API to scroll the table to row 1000 once the table has been loaded. Any number could be used here, and a small animated effect is used to provide visual feedback to the user (this can be disabled by passed false as a second parameter to fnScrollToRow).

38 | 39 |

Live example

40 |
41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 |
IDFirst nameLast nameZIPCountry
52 |
53 |
54 | 55 | 56 |

Initialisation code

57 |
$(document).ready(function() {
58 | 	$('#example').dataTable( {
59 | 		"sScrollY": "200px",
60 | 		"sAjaxSource": "media/data/2500.txt",
61 | 		"sDom": "frtiS",
62 | 		"bDeferRender": true,
63 | 		"fnInitComplete": function () {
64 | 			this.fnSettings().oScroller.fnScrollToRow( 1000 );
65 | 		}
66 | 	} );
67 | } );
68 | 69 | 70 |

Other examples

71 | 80 | 81 |
82 | 83 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/FixedColumns/docs/070023b890.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Namespace: left - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 |
23 |

Namespace: left

24 |

Ancestry: FixedColumns » #dom » .grid. » left

25 |
26 | FixedColumns v2.0.3 documentation 27 |
28 |
29 | 30 | 31 | 32 |
33 |

Navigation

34 |
    35 |
  • Overview
  • 36 |
  • Summary
    Classes (0)Namespaces (0)
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
  • Details
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
37 |
38 | 39 | Hiding private elements 40 | (toggle) 41 | 42 |
43 |
44 | 45 | Showing extended elements 46 | (toggle) 47 | 48 |
49 |
50 | 51 |
52 | 53 |
54 | 55 |

Left fixed column grid components

56 | 57 |
58 | 59 |
60 | 61 | 62 | 63 | 64 | 65 |
66 | 67 | 74 | 75 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/FixedColumns/docs/73098af57c.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Namespace: right - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 |
23 |

Namespace: right

24 |

Ancestry: FixedColumns » #dom » .grid. » right

25 |
26 | FixedColumns v2.0.3 documentation 27 |
28 |
29 | 30 | 31 | 32 |
33 |

Navigation

34 |
    35 |
  • Overview
  • 36 |
  • Summary
    Classes (0)Namespaces (0)
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
  • Details
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
37 |
38 | 39 | Hiding private elements 40 | (toggle) 41 | 42 |
43 |
44 | 45 | Showing extended elements 46 | (toggle) 47 | 48 |
49 |
50 | 51 |
52 | 53 |
54 | 55 |

Right fixed column grid components

56 | 57 |
58 | 59 |
60 | 61 | 62 | 63 | 64 | 65 |
66 | 67 | 74 | 75 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/docs/media/js/doc.js: -------------------------------------------------------------------------------- 1 | 2 | (function() { 3 | 4 | var showingNav = true; 5 | 6 | $(document).ready( function () { 7 | var jqNav = $('div.fw_nav'); 8 | jqNav.css('right', ($(window).width() - $('div.fw_container').width()) /2); 9 | 10 | var n = $('div.nav_blocker')[0]; 11 | n.style.height = $(jqNav).outerHeight()+"px"; 12 | n.style.width = ($(jqNav).outerWidth()+20)+"px"; 13 | 14 | SyntaxHighlighter.highlight(); 15 | 16 | $('#private_toggle').click( function () { 17 | if ( $('input[name=show_private]').val() == 0 ) { 18 | $('input[name=show_private]').val( 1 ); 19 | $('#private_label').html('Showing'); 20 | $('.private').css('display', 'block'); 21 | } else { 22 | $('input[name=show_private]').val( 0 ); 23 | $('#private_label').html('Hiding'); 24 | $('.private').css('display', 'none'); 25 | } 26 | fnWriteCookie(); 27 | return false; 28 | } ); 29 | 30 | $('#extended_toggle').click( function () { 31 | if ( $('input[name=show_extended]').val() == 0 ) { 32 | $('input[name=show_extended]').val( 1 ); 33 | $('#extended_label').html('Showing'); 34 | $('.augmented').css('display', 'block'); 35 | } else { 36 | $('input[name=show_extended]').val( 0 ); 37 | $('#extended_label').html('Hiding'); 38 | $('.augmented').css('display', 'none'); 39 | } 40 | fnWriteCookie(); 41 | return false; 42 | } ); 43 | 44 | var savedHeight = $(jqNav).height(); 45 | $('div.fw_nav h2').click( function () { 46 | if ( showingNav ) { 47 | $('div.fw_nav').animate( { 48 | "height": 10, 49 | "opacity": 0.3 50 | } ); 51 | showingNav = false; 52 | } else { 53 | $('div.fw_nav').animate( { 54 | "height": savedHeight, 55 | "opacity": 1 56 | } ); 57 | showingNav = true; 58 | } 59 | fnWriteCookie(); 60 | } ); 61 | 62 | var cookie = fnReadCookie( 'SpryMedia_JSDoc' ); 63 | if ( cookie != null ) { 64 | var a = cookie.split('-'); 65 | if ( a[0] == 1 ) { 66 | $('#private_toggle').click(); 67 | } 68 | if ( a[1] == 0 ) { 69 | $('#extended_toggle').click(); 70 | } 71 | if ( a[2] == 'false' ) { 72 | $('div.fw_nav').css('height', 10).css('opacity', 0.3); 73 | showingNav = false; 74 | } 75 | } 76 | } ); 77 | 78 | 79 | function fnWriteCookie() 80 | { 81 | var sVal = 82 | $('input[name=show_private]').val()+'-'+ 83 | $('input[name=show_extended]').val()+'-'+ 84 | showingNav; 85 | 86 | fnCreateCookie( 'SpryMedia_JSDoc', sVal ); 87 | } 88 | 89 | 90 | function fnCreateCookie( sName, sValue ) 91 | { 92 | var iDays = 365; 93 | var date = new Date(); 94 | date.setTime( date.getTime()+(iDays*24*60*60*1000) ); 95 | var sExpires = "; expires="+date.toGMTString(); 96 | 97 | document.cookie = sName+"="+sValue+sExpires+"; path=/"; 98 | } 99 | 100 | 101 | function fnReadCookie( sName ) 102 | { 103 | var sNameEQ = sName + "="; 104 | var sCookieContents = document.cookie.split(';'); 105 | 106 | for( var i=0 ; i 2 | 3 | 4 | 5 | 6 | 7 | DataTables example 8 | 13 | 14 | 15 | 16 | 29 | 30 | 31 |
32 |
33 | Scroller example - server-side processing 34 |
35 | 36 |

Preamble

37 |

When using server-side processing, Scroller will wait a small amount of time to allow the scrolling to finish before requesting more data from the server (200mS by default). This prevents you from DoSing your own server! This example shows Scroller in action with a database of 10'000 records, although of course server-side processing can scale much larger if you require. In this example we also enable the loadingIndicator option of Scroller to show the end user what is happening when they scroll passed the currently loaded data.

38 | 39 |

Live example

40 |
41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 |
IDFirst nameLast nameZIPCountry
52 |
53 |
54 | 55 | 56 |

Initialisation code

57 |
$(document).ready(function() {
58 | 	var oTable = $('#example').dataTable( {
59 | 		"sScrollY": "200px",
60 | 		"sAjaxSource": "media/data/server_processing.php",
61 | 		"bServerSide": true,
62 | 		"sDom": "frtiS",
63 | 		"oScroller": {
64 | 			"loadingIndicator": true
65 | 		}
66 | 	} );
67 | } );
68 | 69 | 70 |

Other examples

71 | 80 | 81 |
82 | 83 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/Scroller/large_js_source.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | DataTables example 8 | 13 | 14 | 15 | 16 | 31 | 32 | 33 |
34 |
35 | Scroller example - 50'000 rows 36 |
37 | 38 |

Preamble

39 |

This example is completely artificial in that the data generated is created on the client-side by just looping around a Javascript array and then passing that to DataTables. However, it does show quite nicely that DataTables and Scroller can cope with large amounts of data on the client-side quite nicely. Typically data such as this would be Ajax sourced and server-side processing should be considered. Please be aware that the performance of this page will depend on your browser - for example IE6 will crawl!

40 | 41 |

Live example

42 |
43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 |
Column 1Column 2Column 3Column 4Column 5
54 |
55 |
56 | 57 | 58 |

Initialisation code

59 |
$(document).ready(function() {
60 | 	var aaData = [];
61 | 	for ( var i=1 ; i<50000 ; i++ ) {
62 | 		aaData.push( [ i, i, i, i, i ] );
63 | 	}
64 | 	
65 | 	var oTable = $('#example').dataTable( {
66 | 		"sScrollY": "200px",
67 | 		"aaData": aaData,
68 | 		"sDom": "frtiS",
69 | 		"bDeferRender": true
70 | 	} );
71 | } );
72 | 73 | 74 |

Other examples

75 | 84 | 85 |
86 | 87 | -------------------------------------------------------------------------------- /test/app/webroot/test.php: -------------------------------------------------------------------------------- 1 | 8 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 9 | * 10 | * Licensed under The MIT License 11 | * For full copyright and license information, please see the LICENSE.txt 12 | * Redistributions of files must retain the above copyright notice 13 | * 14 | * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 | * @link http://book.cakephp.org/2.0/en/development/testing.html 16 | * @package app.webroot 17 | * @since CakePHP(tm) v 1.2.0.4433 18 | * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 19 | */ 20 | set_time_limit(0); 21 | ini_set('display_errors', 1); 22 | /** 23 | * Use the DS to separate the directories in other defines 24 | */ 25 | if (!defined('DS')) { 26 | define('DS', DIRECTORY_SEPARATOR); 27 | } 28 | 29 | /** 30 | * These defines should only be edited if you have cake installed in 31 | * a directory layout other than the way it is distributed. 32 | * When using custom settings be sure to use the DS and do not add a trailing DS. 33 | */ 34 | 35 | /** 36 | * The full path to the directory which holds "app", WITHOUT a trailing DS. 37 | * 38 | */ 39 | if (!defined('ROOT')) { 40 | define('ROOT', dirname(dirname(dirname(__FILE__)))); 41 | } 42 | 43 | /** 44 | * The actual directory name for the "app". 45 | * 46 | */ 47 | if (!defined('APP_DIR')) { 48 | define('APP_DIR', basename(dirname(dirname(__FILE__)))); 49 | } 50 | 51 | /** 52 | * The absolute path to the "Cake" directory, WITHOUT a trailing DS. 53 | * 54 | * For ease of development CakePHP uses PHP's include_path. If you 55 | * need to cannot modify your include_path, you can set this path. 56 | * 57 | * Leaving this constant undefined will result in it being defined in Cake/bootstrap.php 58 | * 59 | * The following line differs from its sibling 60 | * /lib/Cake/Console/Templates/skel/webroot/test.php 61 | */ 62 | //define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'lib'); 63 | 64 | /** 65 | * Editing below this line should not be necessary. 66 | * Change at your own risk. 67 | * 68 | */ 69 | if (!defined('WEBROOT_DIR')) { 70 | define('WEBROOT_DIR', basename(dirname(__FILE__))); 71 | } 72 | if (!defined('WWW_ROOT')) { 73 | define('WWW_ROOT', dirname(__FILE__) . DS); 74 | } 75 | 76 | if (!defined('CAKE_CORE_INCLUDE_PATH')) { 77 | if (function_exists('ini_set')) { 78 | ini_set('include_path', ROOT . DS . 'lib' . PATH_SEPARATOR . ini_get('include_path')); 79 | } 80 | if (!include ('Cake' . DS . 'bootstrap.php')) { 81 | $failed = true; 82 | } 83 | } else { 84 | if (!include (CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'bootstrap.php')) { 85 | $failed = true; 86 | } 87 | } 88 | if (!empty($failed)) { 89 | trigger_error("CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your " . DS . "cake core directory and your " . DS . "vendors root directory.", E_USER_ERROR); 90 | } 91 | 92 | if (Configure::read('debug') < 1) { 93 | throw new NotFoundException(__d('cake_dev', 'Debug setting does not allow access to this url.')); 94 | } 95 | 96 | require_once CAKE . 'TestSuite' . DS . 'CakeTestSuiteDispatcher.php'; 97 | 98 | CakeTestSuiteDispatcher::run(); 99 | -------------------------------------------------------------------------------- /test/app/Config/Schema/db_acl.php: -------------------------------------------------------------------------------- 1 | array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary'), 42 | 'parent_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10), 43 | 'model' => array('type' => 'string', 'null' => true), 44 | 'foreign_key' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10), 45 | 'alias' => array('type' => 'string', 'null' => true), 46 | 'lft' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10), 47 | 'rght' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10), 48 | 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)) 49 | ); 50 | 51 | public $aros = array( 52 | 'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary'), 53 | 'parent_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10), 54 | 'model' => array('type' => 'string', 'null' => true), 55 | 'foreign_key' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10), 56 | 'alias' => array('type' => 'string', 'null' => true), 57 | 'lft' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10), 58 | 'rght' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10), 59 | 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)) 60 | ); 61 | 62 | public $aros_acos = array( 63 | 'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary'), 64 | 'aro_id' => array('type' => 'integer', 'null' => false, 'length' => 10, 'key' => 'index'), 65 | 'aco_id' => array('type' => 'integer', 'null' => false, 'length' => 10), 66 | '_create' => array('type' => 'string', 'null' => false, 'default' => '0', 'length' => 2), 67 | '_read' => array('type' => 'string', 'null' => false, 'default' => '0', 'length' => 2), 68 | '_update' => array('type' => 'string', 'null' => false, 'default' => '0', 'length' => 2), 69 | '_delete' => array('type' => 'string', 'null' => false, 'default' => '0', 'length' => 2), 70 | 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'ARO_ACO_KEY' => array('column' => array('aro_id', 'aco_id'), 'unique' => 1)) 71 | ); 72 | 73 | } 74 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/Scroller/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | DataTables example 8 | 13 | 14 | 15 | 16 | 26 | 27 | 28 |
29 |
30 | Scroller basic initialisation example 31 |
32 | 33 |

Preamble

34 |

Scroller is a plug-in for DataTables which enhances the "infinite scrolling" feature that DataTables has built-in to make the scrolling feel more natural. The scrolling box shown on the page is the full height of the drawn table, but a virtual rendering technique is used to only render the part of the table that is actually viewable in the scrolling viewport in order to increase the speed of drawing.

35 |

Note that Scroller assumes that all rows are of the same height (in order to preform the required calculations. You can use 'td { white-space: nowrap; }' in your CSS to ensure that text in rows does not wrap.

36 |

This example shows how Scroller for DataTables can be initialised by simply including the character 'S' in sDom (note that the 'S' must come after the 't' in sDom). Deferred rendering an and Ajax data source are also used in this example.

37 | 38 |

Live example

39 |
40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 |
IDFirst nameLast nameZIPCountry
51 |
52 |
53 | 54 | 55 |

Initialisation code

56 |
$(document).ready(function() {
57 | 	var oTable = $('#example').dataTable( {
58 | 		"sScrollY": "200px",
59 | 		"sAjaxSource": "media/data/2500.txt",
60 | 		"sDom": "frtiS",
61 | 		"bDeferRender": true
62 | 	} );
63 | } );
64 | 65 | 66 |

Other examples

67 | 76 | 77 |
78 | 79 | -------------------------------------------------------------------------------- /test/app/Controller/CitiesController.php: -------------------------------------------------------------------------------- 1 | RequestHandler->responseType() == 'json') { 10 | $this->paginate = array( 11 | 'fields' => array('id', 'name', 'population'), 12 | 'link' => array( 13 | 'State' => array( 14 | 'fields' => array('id','name','abbrev') 15 | ) 16 | ) 17 | ); 18 | $this->DataTable->mDataProp = true; 19 | $this->set('response', $this->DataTable->getResponse()); 20 | $this->set('_serialize','response'); 21 | } 22 | } 23 | 24 | public function containable(){ 25 | if($this->RequestHandler->responseType() == 'json') { 26 | $this->paginate = array( 27 | 'fields' => array('id', 'name', 'population'), 28 | 'contain' => array( 29 | 'State' => array( 30 | 'fields' => array('id','name','abbrev') 31 | ) 32 | ) 33 | ); 34 | 35 | $this->DataTable->mDataProp = true; 36 | $this->set('response', $this->DataTable->getResponse()); 37 | $this->set('_serialize','response'); 38 | } 39 | } 40 | 41 | public function concat(){ 42 | if($this->RequestHandler->responseType() == 'json') { 43 | $this->paginate = array( 44 | 'fields' => array('City.id', 'CONCAT(City.name," / ",City.population) as together'), 45 | 'link' => array( 46 | 'State' => array( 47 | 'fields' => array('id','name','abbrev') 48 | ) 49 | ) 50 | ); 51 | 52 | $this->DataTable->mDataProp = true; 53 | $this->set('response', $this->DataTable->getResponse()); 54 | $this->set('_serialize','response'); 55 | } 56 | } 57 | 58 | public function virtualFields(){ 59 | if($this->RequestHandler->responseType() == 'json') { 60 | 61 | $this->City->virtualFields = array( 62 | 'together' => 'CONCAT(City.name," / ",City.population)' 63 | ); 64 | 65 | $this->paginate = array( 66 | 'fields' => array('id','together','population'), 67 | 'link' => array( 68 | 'State' => array( 69 | 'fields' => array('id','name','abbrev') 70 | ) 71 | ) 72 | ); 73 | 74 | $this->DataTable->mDataProp = true; 75 | $this->set('response', $this->DataTable->getResponse()); 76 | $this->set('_serialize','response'); 77 | } 78 | } 79 | 80 | public function noJsonHandler(){ 81 | if($this->request->is('ajax')){ 82 | $this->autoRender = false; 83 | $this->paginate = array( 84 | 'fields' => array('id', 'name', 'population'), 85 | 'link' => array( 86 | 'State' => array( 87 | 'fields' => array('name') 88 | ) 89 | ) 90 | ); 91 | 92 | $this->DataTable->mDataProp = true; 93 | echo json_encode($this->DataTable->getResponse()); 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /test/app/webroot/js/examples.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | 3 | // basic usage see app/Controllers/CitiesController::index 4 | $('#index').dataTable({ 5 | "iDisplayLength": 100, 6 | "bProcessing": true, 7 | "bServerSide": true, 8 | "sAjaxSource": "/cities/index.json", 9 | "aoColumns": [ 10 | {mData:"City.id"}, 11 | {mData:"City.name"}, 12 | {mData:"State.name"}, 13 | {mData:"City.population"} 14 | ], 15 | "sDom": 'frtip' 16 | }); 17 | 18 | // using containable behavior see app/Controllers/CitiesController::containable 19 | $('#containable').dataTable({ 20 | "iDisplayLength": 100, 21 | "bProcessing": true, 22 | "bServerSide": true, 23 | "sAjaxSource": "/cities/containable.json", 24 | "sDom": 'frtip', 25 | "aoColumns": [ 26 | {mData:"City.id"}, 27 | {mData:"City.name"}, 28 | {mData:"State.name"}, 29 | {mData:"City.population"} 30 | ], 31 | "fnCreatedRow": function(nRow, aData, iDataIndex){ 32 | $('td:eq(3)', nRow).html(''); 33 | } 34 | }); 35 | 36 | // using concat see app/Controllers/CitiesController::concat 37 | // note: concat is not recommended 38 | $('#concat').dataTable({ 39 | "iDisplayLength": 100, 40 | "bProcessing": true, 41 | "bServerSide": true, 42 | "sAjaxSource": "/cities/concat.json", 43 | "sDom": 'frtip', 44 | "aoColumns": [ 45 | {mData:"City.id"}, 46 | {mData:"0.together"}, 47 | {mData:"State.name"} 48 | ], 49 | "fnCreatedRow": function(nRow, aData, iDataIndex){ 50 | $('td:eq(2)', nRow).html(''); 51 | }, 52 | "fnInitComplete": function(){ 53 | alert('WARNING!\n CONCAT is NOT recommended. I advise using virtualFields instead. Right now the code does not handle sorting or search on CONCATS too well'); 54 | } 55 | }); 56 | 57 | // using virtualFields see app/Controllers/CitiesController::virtualFields 58 | $('#virtualFields').dataTable({ 59 | "iDisplayLength": 100, 60 | "bProcessing": true, 61 | "bServerSide": true, 62 | "sAjaxSource": "/cities/virtualFields.json", 63 | "sDom": 'frtip', 64 | "aoColumns": [ 65 | {mData:"City.id"}, 66 | {mData:"City.together"}, 67 | {mData:"State.name"}, 68 | {mData:"City.population"} 69 | ], 70 | "fnCreatedRow": function(nRow, aData, iDataIndex){ 71 | $('td:eq(3)', nRow).html(''); 72 | } 73 | }); 74 | 75 | // using noJsonHandler see app/Controllers/CitiesController::noJsonHandler 76 | $('#noJsonHandler').dataTable({ 77 | "iDisplayLength": 100, 78 | "bProcessing": true, 79 | "bServerSide": true, 80 | "sAjaxSource": "/cities/noJsonHandler", 81 | "sDom": 'frtip', 82 | "aoColumns": [ 83 | {mData:"City.id"}, 84 | {mData:"City.name"}, 85 | {mData:"State.name"}, 86 | {mData:"City.population"}, 87 | {mData:"City.id"} 88 | ], 89 | "fnCreatedRow": function(nRow, aData, iDataIndex){ 90 | $('td:eq(4)', nRow).html(''); 91 | } 92 | }); 93 | }); -------------------------------------------------------------------------------- /test/app/View/Pages/home.ctp: -------------------------------------------------------------------------------- 1 | 3 | 39 |
40 | 41 | 42 |
43 |
44 | 45 |

Over 50 Local Citations

46 |

Get your local business listed in over 50 local citation sources and business directories. Submit your listing to us once and 47 | we start submitting it for you. SubmitMeLocal handles the grunt work for you.

48 |

View Citations »

49 |
50 |
51 | 52 |

Easy to Manage

53 |

SubmitMeLocals management interface shows you where your business has been submitted, if its active, and allows you to easily manage 54 | your citations from one easy to use interface.

55 |

Screenshot »

56 |
57 |
58 | 59 |

Get Started

60 |

Start your submission for just $59.00. Bulk Pricing is Available for your SEO agency. SubmitMeLocal costs less, works better, and submits faster than the other competing services.

61 |

Get Started »

62 |
63 |
64 | 65 | 66 | element('submissions'); ?> -------------------------------------------------------------------------------- /test/app/webroot/index.php: -------------------------------------------------------------------------------- 1 | dispatch( 107 | new CakeRequest(), 108 | new CakeResponse() 109 | ); 110 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/FixedColumns/docs/e20106c59a.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Namespace: clone - documentation 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 |
23 |

Namespace: clone

24 |

Ancestry: FixedColumns » #dom. » clone

25 |
26 | FixedColumns v2.0.3 documentation 27 |
28 |
29 | 30 | 31 | 32 |
33 |

Navigation

34 |
    35 |
  • Overview
  • 36 |
  • Summary
    Classes (0)Namespaces (2)
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
  • Details
    Properties (0)Static properties (0)
    Methods (0)Static methods (0)
    Events (0)
37 |
38 | 39 | Hiding private elements 40 | (toggle) 41 | 42 |
43 |
44 | 45 | Showing extended elements 46 | (toggle) 47 | 48 |
49 |
50 | 51 |
52 | 53 |
54 | 55 |

Cloned table nodes

56 | 57 |
58 | 59 |
60 | 61 | 62 |
63 | 64 |

Summary

65 | 66 |

Namespaces

67 |
68 |
left

Left column cloned table nodes

right

Right column cloned table nodes

69 |
70 |
71 | 72 | 73 | 74 | 75 |
76 | 77 | 84 | 85 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/AutoFill/media/docs/media/css/shThemeDataTables.css: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | .syntaxhighlighter { 18 | background-color: white !important; 19 | font-size: 14px !important; 20 | overflow: visible !important; 21 | } 22 | .syntaxhighlighter .line.alt1 { 23 | background-color: white !important; 24 | } 25 | .syntaxhighlighter .line.alt2 { 26 | background-color: #F8F8F8 !important; 27 | } 28 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 29 | background-color: #e0e0e0 !important; 30 | } 31 | .syntaxhighlighter .line.highlighted.number { 32 | color: black !important; 33 | } 34 | .syntaxhighlighter table caption { 35 | color: black !important; 36 | } 37 | .syntaxhighlighter .gutter { 38 | } 39 | .syntaxhighlighter .gutter div { 40 | color: #5C5C5C !important; 41 | width: 20px !important; 42 | } 43 | .syntaxhighlighter .gutter .line.alt1, .syntaxhighlighter .gutter .line.alt2 { 44 | background-color: white !important; 45 | } 46 | .odd .syntaxhighlighter .gutter .line.alt1, .odd .syntaxhighlighter .gutter .line.alt2 { 47 | background-color: #F2F2F2 !important; 48 | } 49 | .syntaxhighlighter .gutter .line { 50 | border-right: 3px solid #4E6CA3 !important; 51 | } 52 | .syntaxhighlighter .gutter .line.highlighted { 53 | background-color: #4E6CA3 !important; 54 | color: white !important; 55 | } 56 | .syntaxhighlighter.printing .line .content { 57 | border: none !important; 58 | } 59 | .syntaxhighlighter.collapsed { 60 | overflow: visible !important; 61 | } 62 | .syntaxhighlighter.collapsed .toolbar { 63 | color: blue !important; 64 | background: white !important; 65 | border: 1px solid #4E6CA3 !important; 66 | } 67 | .syntaxhighlighter.collapsed .toolbar a { 68 | color: blue !important; 69 | } 70 | .syntaxhighlighter.collapsed .toolbar a:hover { 71 | color: red !important; 72 | } 73 | .syntaxhighlighter .toolbar { 74 | color: white !important; 75 | background: #4E6CA3 !important; 76 | border: none !important; 77 | } 78 | .syntaxhighlighter .toolbar a { 79 | color: white !important; 80 | } 81 | .syntaxhighlighter .toolbar a:hover { 82 | color: black !important; 83 | } 84 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 85 | color: black !important; 86 | } 87 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 88 | color: #008200 !important; 89 | } 90 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 91 | color: blue !important; 92 | } 93 | .syntaxhighlighter .keyword { 94 | color: #006699 !important; 95 | } 96 | .syntaxhighlighter .preprocessor { 97 | color: gray !important; 98 | } 99 | .syntaxhighlighter .variable { 100 | color: #aa7700 !important; 101 | } 102 | .syntaxhighlighter .value { 103 | color: #009900 !important; 104 | } 105 | .syntaxhighlighter .functions { 106 | color: #ff1493 !important; 107 | } 108 | .syntaxhighlighter .constants { 109 | color: #0066cc !important; 110 | } 111 | .syntaxhighlighter .script { 112 | font-weight: bold !important; 113 | color: #006699 !important; 114 | background-color: none !important; 115 | } 116 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 117 | color: gray !important; 118 | } 119 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 120 | color: #ff1493 !important; 121 | } 122 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 123 | color: red !important; 124 | } 125 | 126 | .syntaxhighlighter .keyword { 127 | font-weight: bold !important; 128 | } 129 | -------------------------------------------------------------------------------- /test/app/webroot/js/datatables/extras/ColVis/media/docs/media/css/shThemeDataTables.css: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | .syntaxhighlighter { 18 | background-color: white !important; 19 | font-size: 14px !important; 20 | overflow: visible !important; 21 | } 22 | .syntaxhighlighter .line.alt1 { 23 | background-color: white !important; 24 | } 25 | .syntaxhighlighter .line.alt2 { 26 | background-color: #F8F8F8 !important; 27 | } 28 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 29 | background-color: #e0e0e0 !important; 30 | } 31 | .syntaxhighlighter .line.highlighted.number { 32 | color: black !important; 33 | } 34 | .syntaxhighlighter table caption { 35 | color: black !important; 36 | } 37 | .syntaxhighlighter .gutter { 38 | } 39 | .syntaxhighlighter .gutter div { 40 | color: #5C5C5C !important; 41 | width: 20px !important; 42 | } 43 | .syntaxhighlighter .gutter .line.alt1, .syntaxhighlighter .gutter .line.alt2 { 44 | background-color: white !important; 45 | } 46 | .odd .syntaxhighlighter .gutter .line.alt1, .odd .syntaxhighlighter .gutter .line.alt2 { 47 | background-color: #F2F2F2 !important; 48 | } 49 | .syntaxhighlighter .gutter .line { 50 | border-right: 3px solid #4E6CA3 !important; 51 | } 52 | .syntaxhighlighter .gutter .line.highlighted { 53 | background-color: #4E6CA3 !important; 54 | color: white !important; 55 | } 56 | .syntaxhighlighter.printing .line .content { 57 | border: none !important; 58 | } 59 | .syntaxhighlighter.collapsed { 60 | overflow: visible !important; 61 | } 62 | .syntaxhighlighter.collapsed .toolbar { 63 | color: blue !important; 64 | background: white !important; 65 | border: 1px solid #4E6CA3 !important; 66 | } 67 | .syntaxhighlighter.collapsed .toolbar a { 68 | color: blue !important; 69 | } 70 | .syntaxhighlighter.collapsed .toolbar a:hover { 71 | color: red !important; 72 | } 73 | .syntaxhighlighter .toolbar { 74 | color: white !important; 75 | background: #4E6CA3 !important; 76 | border: none !important; 77 | } 78 | .syntaxhighlighter .toolbar a { 79 | color: white !important; 80 | } 81 | .syntaxhighlighter .toolbar a:hover { 82 | color: black !important; 83 | } 84 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 85 | color: black !important; 86 | } 87 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 88 | color: #008200 !important; 89 | } 90 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 91 | color: blue !important; 92 | } 93 | .syntaxhighlighter .keyword { 94 | color: #006699 !important; 95 | } 96 | .syntaxhighlighter .preprocessor { 97 | color: gray !important; 98 | } 99 | .syntaxhighlighter .variable { 100 | color: #aa7700 !important; 101 | } 102 | .syntaxhighlighter .value { 103 | color: #009900 !important; 104 | } 105 | .syntaxhighlighter .functions { 106 | color: #ff1493 !important; 107 | } 108 | .syntaxhighlighter .constants { 109 | color: #0066cc !important; 110 | } 111 | .syntaxhighlighter .script { 112 | font-weight: bold !important; 113 | color: #006699 !important; 114 | background-color: none !important; 115 | } 116 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 117 | color: gray !important; 118 | } 119 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 120 | color: #ff1493 !important; 121 | } 122 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 123 | color: red !important; 124 | } 125 | 126 | .syntaxhighlighter .keyword { 127 | font-weight: bold !important; 128 | } 129 | --------------------------------------------------------------------------------