├── ExampleApp
├── lib
│ └── Cake
│ │ ├── Test
│ │ ├── test_app
│ │ │ ├── View
│ │ │ │ ├── Posts
│ │ │ │ │ ├── alt_ext.alt
│ │ │ │ │ ├── index.ctp
│ │ │ │ │ ├── scaffold.form.ctp
│ │ │ │ │ ├── parent_view.ctp
│ │ │ │ │ ├── extend_loop.ctp
│ │ │ │ │ ├── extend_loop_inner.ctp
│ │ │ │ │ ├── extend_missing_element.ctp
│ │ │ │ │ ├── extend_self.ctp
│ │ │ │ │ ├── cache_empty_sections.ctp
│ │ │ │ │ ├── open_block.ctp
│ │ │ │ │ ├── helper_overwrite.ctp
│ │ │ │ │ ├── extend_element.ctp
│ │ │ │ │ ├── extend_with_element.ctp
│ │ │ │ │ ├── parent_1.ctp
│ │ │ │ │ ├── parent_2.ctp
│ │ │ │ │ ├── nested_extends.ctp
│ │ │ │ │ ├── sequencial_nocache.ctp
│ │ │ │ │ ├── nocache_multiple_element.ctp
│ │ │ │ │ ├── xml
│ │ │ │ │ │ └── index.ctp
│ │ │ │ │ ├── multiple_nocache.ctp
│ │ │ │ │ ├── json
│ │ │ │ │ │ └── index.ctp
│ │ │ │ │ └── cache_form.ctp
│ │ │ │ ├── TestsApps
│ │ │ │ │ ├── json
│ │ │ │ │ │ └── index.ctp
│ │ │ │ │ └── index.ctp
│ │ │ │ ├── Elements
│ │ │ │ │ ├── test_element.xml
│ │ │ │ │ ├── type_check.ctp
│ │ │ │ │ ├── test_element.ctp
│ │ │ │ │ ├── html_call.ctp
│ │ │ │ │ ├── parent_element.ctp
│ │ │ │ │ ├── extended_element.ctp
│ │ │ │ │ ├── extended_missing_element.ctp
│ │ │ │ │ ├── nocache
│ │ │ │ │ │ ├── plain.ctp
│ │ │ │ │ │ ├── sub2.ctp
│ │ │ │ │ │ ├── contains_nocache.ctp
│ │ │ │ │ │ └── sub1.ctp
│ │ │ │ │ └── session_helper.ctp
│ │ │ │ ├── Emails
│ │ │ │ │ ├── text
│ │ │ │ │ │ ├── default.ctp
│ │ │ │ │ │ ├── custom.ctp
│ │ │ │ │ │ ├── japanese.ctp
│ │ │ │ │ │ ├── custom_helper.ctp
│ │ │ │ │ │ └── wide.ctp
│ │ │ │ │ └── html
│ │ │ │ │ │ ├── custom.ctp
│ │ │ │ │ │ ├── japanese.ctp
│ │ │ │ │ │ ├── nested_element.ctp
│ │ │ │ │ │ ├── default.ctp
│ │ │ │ │ │ └── image.ctp
│ │ │ │ ├── Layouts
│ │ │ │ │ ├── ajax.ctp
│ │ │ │ │ ├── json
│ │ │ │ │ │ └── default.ctp
│ │ │ │ │ ├── ajax2.ctp
│ │ │ │ │ ├── banana.ctp
│ │ │ │ │ ├── Emails
│ │ │ │ │ │ ├── text
│ │ │ │ │ │ │ ├── japanese.ctp
│ │ │ │ │ │ │ └── default.ctp
│ │ │ │ │ │ └── html
│ │ │ │ │ │ │ ├── thin.ctp
│ │ │ │ │ │ │ ├── japanese.ctp
│ │ │ │ │ │ │ └── default.ctp
│ │ │ │ │ ├── js
│ │ │ │ │ │ └── default.ctp
│ │ │ │ │ ├── xml
│ │ │ │ │ │ └── default.ctp
│ │ │ │ │ ├── cache_layout.ctp
│ │ │ │ │ ├── rss
│ │ │ │ │ │ └── default.ctp
│ │ │ │ │ ├── cache_empty_sections.ctp
│ │ │ │ │ ├── flash.ctp
│ │ │ │ │ ├── multi_cache.ctp
│ │ │ │ │ └── default.ctp
│ │ │ │ ├── Themed
│ │ │ │ │ └── TestTheme
│ │ │ │ │ │ ├── Emails
│ │ │ │ │ │ └── text
│ │ │ │ │ │ │ └── themed.ctp
│ │ │ │ │ │ ├── Posts
│ │ │ │ │ │ ├── index.ctp
│ │ │ │ │ │ ├── scaffold.index.ctp
│ │ │ │ │ │ └── themed.ctp
│ │ │ │ │ │ ├── webroot
│ │ │ │ │ │ ├── js
│ │ │ │ │ │ │ ├── theme.js
│ │ │ │ │ │ │ └── one
│ │ │ │ │ │ │ │ └── theme_one.js
│ │ │ │ │ │ ├── space image.text
│ │ │ │ │ │ ├── css
│ │ │ │ │ │ │ ├── theme_webroot.css
│ │ │ │ │ │ │ └── test_asset.css
│ │ │ │ │ │ ├── flash
│ │ │ │ │ │ │ └── theme_test.swf
│ │ │ │ │ │ ├── pdfs
│ │ │ │ │ │ │ └── theme_test.pdf
│ │ │ │ │ │ └── img
│ │ │ │ │ │ │ ├── test.jpg
│ │ │ │ │ │ │ └── cake.power.gif
│ │ │ │ │ │ ├── Elements
│ │ │ │ │ │ └── test_element.ctp
│ │ │ │ │ │ ├── Plugin
│ │ │ │ │ │ └── TestPlugin
│ │ │ │ │ │ │ ├── Tests
│ │ │ │ │ │ │ └── index.ctp
│ │ │ │ │ │ │ ├── Emails
│ │ │ │ │ │ │ └── text
│ │ │ │ │ │ │ │ └── test_plugin_tpl.ctp
│ │ │ │ │ │ │ └── Layouts
│ │ │ │ │ │ │ └── plugin_default.ctp
│ │ │ │ │ │ └── Layouts
│ │ │ │ │ │ └── default.ctp
│ │ │ │ ├── Pages
│ │ │ │ │ ├── page.home.ctp
│ │ │ │ │ └── extract.ctp
│ │ │ │ ├── Helper
│ │ │ │ │ └── BananaHelper.php
│ │ │ │ └── Errors
│ │ │ │ │ ├── error500.ctp
│ │ │ │ │ └── error400.ctp
│ │ │ ├── Plugin
│ │ │ │ ├── TestPlugin
│ │ │ │ │ ├── webroot
│ │ │ │ │ │ ├── css
│ │ │ │ │ │ │ ├── theme_one.htc
│ │ │ │ │ │ │ ├── test_plugin_asset.css
│ │ │ │ │ │ │ └── unknown.extension
│ │ │ │ │ │ ├── js
│ │ │ │ │ │ │ └── test_plugin
│ │ │ │ │ │ │ │ └── test.js
│ │ │ │ │ │ ├── root.js
│ │ │ │ │ │ ├── pdfs
│ │ │ │ │ │ │ └── plugin_test.pdf
│ │ │ │ │ │ ├── flash
│ │ │ │ │ │ │ └── plugin_test.swf
│ │ │ │ │ │ └── img
│ │ │ │ │ │ │ └── cake.icon.gif
│ │ │ │ │ ├── View
│ │ │ │ │ │ ├── Tests
│ │ │ │ │ │ │ ├── index.ctp
│ │ │ │ │ │ │ └── scaffold.form.ctp
│ │ │ │ │ │ ├── Layouts
│ │ │ │ │ │ │ ├── default.ctp
│ │ │ │ │ │ │ └── Emails
│ │ │ │ │ │ │ │ └── text
│ │ │ │ │ │ │ │ └── plug_default.ctp
│ │ │ │ │ │ ├── Emails
│ │ │ │ │ │ │ └── text
│ │ │ │ │ │ │ │ └── test_plugin_tpl.ctp
│ │ │ │ │ │ ├── Elements
│ │ │ │ │ │ │ ├── translate.ctp
│ │ │ │ │ │ │ ├── plugin_element.ctp
│ │ │ │ │ │ │ ├── sub_dir
│ │ │ │ │ │ │ │ └── sub_element.ctp
│ │ │ │ │ │ │ └── test_plugin_element.ctp
│ │ │ │ │ │ └── Helper
│ │ │ │ │ │ │ ├── TestPluginAppHelper.php
│ │ │ │ │ │ │ ├── OtherHelperHelper.php
│ │ │ │ │ │ │ └── PluggedHelperHelper.php
│ │ │ │ │ ├── Vendor
│ │ │ │ │ │ ├── Example
│ │ │ │ │ │ │ └── ExampleExample.php
│ │ │ │ │ │ ├── welcome.php
│ │ │ │ │ │ └── sample
│ │ │ │ │ │ │ └── sample_plugin.php
│ │ │ │ │ ├── Utility
│ │ │ │ │ │ └── TestPluginEngine.php
│ │ │ │ │ ├── Model
│ │ │ │ │ │ ├── Datasource
│ │ │ │ │ │ │ ├── Database
│ │ │ │ │ │ │ │ ├── TestDriver.php
│ │ │ │ │ │ │ │ └── DboDummy.php
│ │ │ │ │ │ │ ├── Session
│ │ │ │ │ │ │ │ └── TestPluginSession.php
│ │ │ │ │ │ │ ├── TestOtherSource.php
│ │ │ │ │ │ │ └── TestSource.php
│ │ │ │ │ │ ├── TestPluginAppModel.php
│ │ │ │ │ │ └── TestPluginComment.php
│ │ │ │ │ ├── Config
│ │ │ │ │ │ ├── routes.php
│ │ │ │ │ │ ├── bootstrap.php
│ │ │ │ │ │ ├── custom_config.php
│ │ │ │ │ │ ├── nested.ini
│ │ │ │ │ │ ├── load.php
│ │ │ │ │ │ └── more.load.php
│ │ │ │ │ ├── Lib
│ │ │ │ │ │ ├── Routing
│ │ │ │ │ │ │ ├── Route
│ │ │ │ │ │ │ │ └── TestRoute.php
│ │ │ │ │ │ │ └── Filter
│ │ │ │ │ │ │ │ └── TestDispatcherFilter.php
│ │ │ │ │ │ ├── TestPluginLibrary.php
│ │ │ │ │ │ ├── TestPluginOtherLibrary.php
│ │ │ │ │ │ ├── Custom
│ │ │ │ │ │ │ └── Package
│ │ │ │ │ │ │ │ └── CustomLibClass.php
│ │ │ │ │ │ └── Log
│ │ │ │ │ │ │ └── Engine
│ │ │ │ │ │ │ └── TestPluginLog.php
│ │ │ │ │ ├── Locale
│ │ │ │ │ │ └── po
│ │ │ │ │ │ │ └── LC_MONETARY
│ │ │ │ │ │ │ └── test_plugin.po
│ │ │ │ │ ├── Console
│ │ │ │ │ │ └── Command
│ │ │ │ │ │ │ ├── Task
│ │ │ │ │ │ │ └── OtherTaskTask.php
│ │ │ │ │ │ │ └── ExampleShell.php
│ │ │ │ │ └── Controller
│ │ │ │ │ │ ├── Component
│ │ │ │ │ │ ├── OtherComponent.php
│ │ │ │ │ │ ├── TestPluginOtherComponent.php
│ │ │ │ │ │ ├── PluginsComponent.php
│ │ │ │ │ │ └── TestPluginComponent.php
│ │ │ │ │ │ ├── TestPluginAppController.php
│ │ │ │ │ │ └── TestPluginController.php
│ │ │ │ ├── PluginJs
│ │ │ │ │ ├── webroot
│ │ │ │ │ │ └── js
│ │ │ │ │ │ │ ├── plugin_js.js
│ │ │ │ │ │ │ └── one
│ │ │ │ │ │ │ └── plugin_one.js
│ │ │ │ │ └── Config
│ │ │ │ │ │ └── bootstrap.php
│ │ │ │ └── TestPluginTwo
│ │ │ │ │ ├── Config
│ │ │ │ │ └── bootstrap.php
│ │ │ │ │ └── Console
│ │ │ │ │ └── Command
│ │ │ │ │ ├── ExampleShell.php
│ │ │ │ │ └── WelcomeShell.php
│ │ │ ├── Config
│ │ │ │ ├── empty.ini
│ │ │ │ ├── empty.php
│ │ │ │ ├── no_section.ini
│ │ │ │ ├── htmlhelper_minimized.ini
│ │ │ │ ├── no_ini_extension
│ │ │ │ ├── htmlhelper_tags.php
│ │ │ │ ├── no_php_extension
│ │ │ │ ├── var_test.php
│ │ │ │ ├── var_test2.php
│ │ │ │ ├── nested.ini
│ │ │ │ └── routes.php
│ │ │ ├── Console
│ │ │ │ ├── Templates
│ │ │ │ │ └── test
│ │ │ │ │ │ ├── views
│ │ │ │ │ │ └── admin_edit.ctp
│ │ │ │ │ │ └── classes
│ │ │ │ │ │ └── test_object.ctp
│ │ │ │ └── Command
│ │ │ │ │ └── SampleShell.php
│ │ │ ├── Vendor
│ │ │ │ ├── css
│ │ │ │ │ └── test_asset.css
│ │ │ │ ├── img
│ │ │ │ │ ├── test.jpg
│ │ │ │ │ └── test_2.JPG
│ │ │ │ ├── Test
│ │ │ │ │ ├── MyTest.php
│ │ │ │ │ └── hello.php
│ │ │ │ ├── welcome.php
│ │ │ │ ├── somename
│ │ │ │ │ └── some.name.php
│ │ │ │ └── sample
│ │ │ │ │ └── configure_test_vendor_sample.php
│ │ │ ├── Utility
│ │ │ │ └── TestAppEngine.php
│ │ │ ├── webroot
│ │ │ │ ├── theme
│ │ │ │ │ └── test_theme
│ │ │ │ │ │ ├── css
│ │ │ │ │ │ ├── theme_webroot.css
│ │ │ │ │ │ └── webroot_test.css
│ │ │ │ │ │ └── img
│ │ │ │ │ │ ├── test.jpg
│ │ │ │ │ │ └── cake.power.gif
│ │ │ │ └── img
│ │ │ │ │ └── cake.power.gif
│ │ │ ├── Locale
│ │ │ │ ├── cache_test_po
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── default.po
│ │ │ │ │ │ ├── dom1.po
│ │ │ │ │ │ └── dom2.po
│ │ │ │ ├── eng
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ └── validation_messages.po
│ │ │ │ ├── rule_0_mo
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.mo
│ │ │ │ │ │ └── default.mo
│ │ │ │ ├── rule_10_mo
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.mo
│ │ │ │ │ │ └── default.mo
│ │ │ │ ├── rule_11_mo
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.mo
│ │ │ │ │ │ └── default.mo
│ │ │ │ ├── rule_12_mo
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.mo
│ │ │ │ │ │ └── default.mo
│ │ │ │ ├── rule_13_mo
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.mo
│ │ │ │ │ │ └── default.mo
│ │ │ │ ├── rule_14_mo
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.mo
│ │ │ │ │ │ └── default.mo
│ │ │ │ ├── rule_15_mo
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.mo
│ │ │ │ │ │ └── default.mo
│ │ │ │ ├── rule_1_mo
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.mo
│ │ │ │ │ │ └── default.mo
│ │ │ │ ├── rule_2_mo
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.mo
│ │ │ │ │ │ └── default.mo
│ │ │ │ ├── rule_3_mo
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.mo
│ │ │ │ │ │ └── default.mo
│ │ │ │ ├── rule_4_mo
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.mo
│ │ │ │ │ │ └── default.mo
│ │ │ │ ├── rule_5_mo
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.mo
│ │ │ │ │ │ └── default.mo
│ │ │ │ ├── rule_6_mo
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.mo
│ │ │ │ │ │ └── default.mo
│ │ │ │ ├── rule_7_mo
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.mo
│ │ │ │ │ │ └── default.mo
│ │ │ │ ├── rule_8_mo
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.mo
│ │ │ │ │ │ └── default.mo
│ │ │ │ ├── rule_9_mo
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.mo
│ │ │ │ │ │ └── default.mo
│ │ │ │ ├── po
│ │ │ │ │ └── LC_MONETARY
│ │ │ │ │ │ └── default.po
│ │ │ │ ├── rule_0_po
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.po
│ │ │ │ │ │ └── default.po
│ │ │ │ ├── rule_2_po
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.po
│ │ │ │ │ │ └── default.po
│ │ │ │ ├── rule_1_po
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.po
│ │ │ │ │ │ └── default.po
│ │ │ │ ├── rule_14_po
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── default.po
│ │ │ │ │ │ └── core.po
│ │ │ │ ├── rule_5_po
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── default.po
│ │ │ │ │ │ └── core.po
│ │ │ │ ├── rule_12_po
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── default.po
│ │ │ │ │ │ └── core.po
│ │ │ │ ├── rule_4_po
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.po
│ │ │ │ │ │ └── default.po
│ │ │ │ ├── rule_8_po
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.po
│ │ │ │ │ │ └── default.po
│ │ │ │ ├── rule_3_po
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.po
│ │ │ │ │ │ └── default.po
│ │ │ │ ├── rule_11_po
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── default.po
│ │ │ │ │ │ └── core.po
│ │ │ │ ├── rule_13_po
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── default.po
│ │ │ │ │ │ └── core.po
│ │ │ │ ├── rule_9_po
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.po
│ │ │ │ │ │ └── default.po
│ │ │ │ ├── rule_6_po
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.po
│ │ │ │ │ │ └── default.po
│ │ │ │ ├── rule_7_po
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ │ ├── core.po
│ │ │ │ │ │ └── default.po
│ │ │ │ └── rule_10_po
│ │ │ │ │ └── LC_MESSAGES
│ │ │ │ │ ├── core.po
│ │ │ │ │ └── default.po
│ │ │ ├── Model
│ │ │ │ ├── Datasource
│ │ │ │ │ ├── Database
│ │ │ │ │ │ └── TestLocalDriver.php
│ │ │ │ │ ├── Session
│ │ │ │ │ │ └── TestAppLibSession.php
│ │ │ │ │ ├── Test2Source.php
│ │ │ │ │ └── Test2OtherSource.php
│ │ │ │ ├── Post.php
│ │ │ │ ├── Comment.php
│ │ │ │ ├── PersisterTwo.php
│ │ │ │ ├── AppModel.php
│ │ │ │ └── Behavior
│ │ │ │ │ ├── PersisterOneBehaviorBehavior.php
│ │ │ │ │ └── PersisterTwoBehaviorBehavior.php
│ │ │ ├── Controller
│ │ │ │ ├── TestAppsErrorController.php
│ │ │ │ └── TestConfigsController.php
│ │ │ ├── Error
│ │ │ │ └── TestAppsExceptionRenderer.php
│ │ │ └── Lib
│ │ │ │ ├── Library.php
│ │ │ │ ├── Utility
│ │ │ │ └── TestUtilityClass.php
│ │ │ │ └── Log
│ │ │ │ └── Engine
│ │ │ │ └── TestAppLog.php
│ │ ├── Fixture
│ │ │ ├── sample.xml
│ │ │ ├── soap_request.xml
│ │ │ ├── soap_response.xml
│ │ │ └── PrefixTestFixture.php
│ │ ├── bake_compare
│ │ │ └── Controller
│ │ │ │ ├── Scaffold.ctp
│ │ │ │ ├── NoHelpersOrComponents.ctp
│ │ │ │ └── NoActions.ctp
│ │ └── Case
│ │ │ ├── AllCoreTest.php
│ │ │ ├── AllEventTest.php
│ │ │ ├── AllViewTest.php
│ │ │ ├── AllConfigureTest.php
│ │ │ ├── AllI18nTest.php
│ │ │ ├── AllUtilityTest.php
│ │ │ ├── AllTestSuiteTest.php
│ │ │ └── AllErrorTest.php
│ │ ├── Console
│ │ ├── Templates
│ │ │ └── skel
│ │ │ │ ├── View
│ │ │ │ ├── Layouts
│ │ │ │ │ ├── xml
│ │ │ │ │ │ └── default.ctp
│ │ │ │ │ ├── js
│ │ │ │ │ │ └── default.ctp
│ │ │ │ │ ├── ajax.ctp
│ │ │ │ │ ├── rss
│ │ │ │ │ │ └── default.ctp
│ │ │ │ │ ├── Emails
│ │ │ │ │ │ ├── html
│ │ │ │ │ │ │ └── default.ctp
│ │ │ │ │ │ └── text
│ │ │ │ │ │ │ └── default.ctp
│ │ │ │ │ └── flash.ctp
│ │ │ │ ├── Errors
│ │ │ │ │ ├── error500.ctp
│ │ │ │ │ └── error400.ctp
│ │ │ │ ├── Helper
│ │ │ │ │ └── AppHelper.php
│ │ │ │ └── Emails
│ │ │ │ │ ├── text
│ │ │ │ │ └── default.ctp
│ │ │ │ │ └── html
│ │ │ │ │ └── default.ctp
│ │ │ │ ├── webroot
│ │ │ │ ├── favicon.ico
│ │ │ │ ├── img
│ │ │ │ │ ├── cake.icon.png
│ │ │ │ │ ├── cake.power.gif
│ │ │ │ │ ├── test-error-icon.png
│ │ │ │ │ ├── test-fail-icon.png
│ │ │ │ │ ├── test-pass-icon.png
│ │ │ │ │ └── test-skip-icon.png
│ │ │ │ └── .htaccess
│ │ │ │ ├── .htaccess
│ │ │ │ ├── index.php
│ │ │ │ ├── Console
│ │ │ │ ├── Command
│ │ │ │ │ └── AppShell.php
│ │ │ │ └── cake.bat
│ │ │ │ ├── Config
│ │ │ │ ├── Schema
│ │ │ │ │ ├── sessions.sql
│ │ │ │ │ ├── i18n.sql
│ │ │ │ │ └── sessions.php
│ │ │ │ └── routes.php
│ │ │ │ ├── Model
│ │ │ │ └── AppModel.php
│ │ │ │ └── Controller
│ │ │ │ └── AppController.php
│ │ ├── Command
│ │ │ └── AppShell.php
│ │ └── cake.bat
│ │ ├── Config
│ │ └── config.php
│ │ ├── View
│ │ └── ThemeView.php
│ │ ├── VERSION.txt
│ │ ├── Model
│ │ ├── AcoAction.php
│ │ ├── Aco.php
│ │ ├── Aro.php
│ │ └── I18nModel.php
│ │ ├── TestSuite
│ │ └── templates
│ │ │ ├── missing_connection.php
│ │ │ └── xdebug.php
│ │ ├── Log
│ │ └── CakeLogInterface.php
│ │ └── Network
│ │ └── Http
│ │ └── HttpResponse.php
├── app
│ ├── View
│ │ ├── Helper
│ │ │ ├── GoogleMapHelper.php
│ │ │ └── AppHelper.php
│ │ ├── Layouts
│ │ │ ├── xml
│ │ │ │ └── default.ctp
│ │ │ ├── js
│ │ │ │ └── default.ctp
│ │ │ ├── rss
│ │ │ │ └── default.ctp
│ │ │ ├── ajax.ctp
│ │ │ └── Emails
│ │ │ │ ├── text
│ │ │ │ └── default.ctp
│ │ │ │ └── html
│ │ │ │ └── default.ctp
│ │ ├── Emails
│ │ │ ├── text
│ │ │ │ └── default.ctp
│ │ │ └── html
│ │ │ │ └── default.ctp
│ │ ├── Pages
│ │ │ └── default_map.ctp
│ │ └── Errors
│ │ │ ├── error500.ctp
│ │ │ └── error400.ctp
│ ├── webroot
│ │ ├── favicon.ico
│ │ ├── img
│ │ │ ├── cake.icon.png
│ │ │ ├── cake.power.gif
│ │ │ ├── soccerfield.png
│ │ │ ├── GitHub-Mark-32px.png
│ │ │ ├── test-error-icon.png
│ │ │ ├── test-fail-icon.png
│ │ │ ├── test-pass-icon.png
│ │ │ └── test-skip-icon.png
│ │ └── .htaccess
│ ├── .htaccess
│ ├── Config
│ │ └── Schema
│ │ │ ├── sessions.sql
│ │ │ └── i18n.sql
│ ├── index.php
│ ├── Console
│ │ ├── Command
│ │ │ └── AppShell.php
│ │ └── cake.bat
│ ├── Model
│ │ └── AppModel.php
│ └── Controller
│ │ └── AppController.php
├── .htaccess
├── build.properties
├── .editorconfig
├── .gitignore
└── composer.json
├── index.php
├── tests
├── Autoloader.php
└── GoogleMapHelperTest.php
└── .travis.yml
/ExampleApp/lib/Cake/Test/test_app/View/Posts/alt_ext.alt:
--------------------------------------------------------------------------------
1 | alt ext
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/index.ctp:
--------------------------------------------------------------------------------
1 | posts index
--------------------------------------------------------------------------------
/ExampleApp/app/View/Helper/GoogleMapHelper.php:
--------------------------------------------------------------------------------
1 | ../../../../GoogleMapHelper.php
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/TestsApps/json/index.ctp:
--------------------------------------------------------------------------------
1 | {"cakephp":"cool"}
--------------------------------------------------------------------------------
/ExampleApp/app/View/Layouts/xml/default.ctp:
--------------------------------------------------------------------------------
1 | fetch('content'); ?>
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/webroot/css/theme_one.htc:
--------------------------------------------------------------------------------
1 | htc file
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Elements/test_element.xml:
--------------------------------------------------------------------------------
1 |
test element
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Emails/text/default.ctp:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Config/empty.ini:
--------------------------------------------------------------------------------
1 | ; do nothing this is an empty file.
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/PluginJs/webroot/js/plugin_js.js:
--------------------------------------------------------------------------------
1 | alert('win sauce');
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Tests/index.ctp:
--------------------------------------------------------------------------------
1 | test plugin index
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Elements/type_check.ctp:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Layouts/ajax.ctp:
--------------------------------------------------------------------------------
1 | fetch('content'); ?>
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Config/empty.php:
--------------------------------------------------------------------------------
1 | fetch('content'); ?>
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/scaffold.form.ctp:
--------------------------------------------------------------------------------
1 | test_app posts add/edit scaffold view
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Elements/test_element.ctp:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Emails/text/custom.ctp:
--------------------------------------------------------------------------------
1 | Here is your value:
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Emails/text/japanese.ctp:
--------------------------------------------------------------------------------
1 | ここにあなたの設定した値が入ります:
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Layouts/ajax2.ctp:
--------------------------------------------------------------------------------
1 | Ajax!
2 | fetch('content'); ?>
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Themed/TestTheme/Elements/test_element.ctp:
--------------------------------------------------------------------------------
1 | Hi, I'm the test element.
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Themed/TestTheme/Posts/scaffold.index.ctp:
--------------------------------------------------------------------------------
1 | I'm a themed scaffold file.
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/js/one/theme_one.js:
--------------------------------------------------------------------------------
1 | // nested theme js file
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/space image.text:
--------------------------------------------------------------------------------
1 | This is not an image.
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Config/htmlhelper_minimized.ini:
--------------------------------------------------------------------------------
1 | minimizedAttributeFormat = "format"
2 |
3 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/PluginJs/webroot/js/one/plugin_one.js:
--------------------------------------------------------------------------------
1 | alert('plugin one nested js file');
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Emails/text/test_plugin_tpl.ctp:
--------------------------------------------------------------------------------
1 | Into TestPlugin.
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Utility/TestAppEngine.php:
--------------------------------------------------------------------------------
1 | fetch('content'); ?>
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Tests/scaffold.form.ctp:
--------------------------------------------------------------------------------
1 | test_plugin add/edit scaffold view
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Themed/TestTheme/Plugin/TestPlugin/Tests/index.ctp:
--------------------------------------------------------------------------------
1 | test plugin index theme view
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/css/theme_webroot.css:
--------------------------------------------------------------------------------
1 | /* theme webroot css file */
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Console/Templates/test/classes/test_object.ctp:
--------------------------------------------------------------------------------
1 | I got rendered
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Emails/html/custom.ctp:
--------------------------------------------------------------------------------
1 | Here is your value:
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Emails/html/japanese.ctp:
--------------------------------------------------------------------------------
1 | ここにあなたの設定した値が入ります:
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/parent_view.ctp:
--------------------------------------------------------------------------------
1 | Parent View.
2 | fetch('content') ?>
3 |
--------------------------------------------------------------------------------
/tests/Autoloader.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Emails/text/custom_helper.ctp:
--------------------------------------------------------------------------------
1 | Right now: Time->toAtom($time); ?>
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Layouts/banana.ctp:
--------------------------------------------------------------------------------
1 |
2 | Banana->peel();
4 | ?>
5 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/extend_loop.ctp:
--------------------------------------------------------------------------------
1 | extend('extend_loop_inner'); ?>
2 | Outer element.
3 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/css/test_asset.css:
--------------------------------------------------------------------------------
1 | /* this is the test asset css file */
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/webroot/theme/test_theme/css/theme_webroot.css:
--------------------------------------------------------------------------------
1 | /* override the theme webroot css file */
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Vendor/Example/ExampleExample.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/webroot/pdfs/plugin_test.pdf:
--------------------------------------------------------------------------------
1 | this is just a test to load pdf file from the plugin.
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Elements/html_call.ctp:
--------------------------------------------------------------------------------
1 | Html->link('Test', 'http://example.com');
3 | ?>
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Elements/parent_element.ctp:
--------------------------------------------------------------------------------
1 | Parent Element.
2 | fetch('content'); ?>
3 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/extend_loop_inner.ctp:
--------------------------------------------------------------------------------
1 | extend('extend_loop'); ?>
2 | Inner loop element.
3 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/extend_missing_element.ctp:
--------------------------------------------------------------------------------
1 | element('extended_missing_element'); ?>
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/extend_self.ctp:
--------------------------------------------------------------------------------
1 | extend('extend_self'); ?>
2 | To infinifty and beyond.
3 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/webroot/theme/test_theme/css/webroot_test.css:
--------------------------------------------------------------------------------
1 | /* this is the webroot test asset css file */
2 |
--------------------------------------------------------------------------------
/ExampleApp/app/webroot/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/app/webroot/favicon.ico
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Utility/TestPluginEngine.php:
--------------------------------------------------------------------------------
1 | extend('parent_element'); ?>
2 | Element content.
3 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/cache_empty_sections.ctp:
--------------------------------------------------------------------------------
1 | View Content
2 |
3 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/open_block.ctp:
--------------------------------------------------------------------------------
1 | start('no_close');
3 | echo 'This block has no close :(';
4 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Themed/TestTheme/Plugin/TestPlugin/Emails/text/test_plugin_tpl.ctp:
--------------------------------------------------------------------------------
1 | Into TestPlugin. (themed)
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/flash/theme_test.swf:
--------------------------------------------------------------------------------
1 | this is just a test to load swf file from the theme.
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/pdfs/theme_test.pdf:
--------------------------------------------------------------------------------
1 | this is just a test to load pdf file from the theme.
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/helper_overwrite.ctp:
--------------------------------------------------------------------------------
1 | Html->link('Test link', '#');
4 | ?>
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Elements/plugin_element.ctp:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Elements/sub_dir/sub_element.ctp:
--------------------------------------------------------------------------------
1 | Content from TestPlugin.Elements/sub_dir/sub_element
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/TestsApps/index.ctp:
--------------------------------------------------------------------------------
1 | This is the TestsAppsController index view
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Themed/TestTheme/Layouts/default.ctp:
--------------------------------------------------------------------------------
1 | default test_theme layout
2 | fetch('content') ?>
3 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Themed/TestTheme/Plugin/TestPlugin/Layouts/plugin_default.ctp:
--------------------------------------------------------------------------------
1 | test_plugin test_plugin_theme default layout
--------------------------------------------------------------------------------
/ExampleApp/app/webroot/img/cake.icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/app/webroot/img/cake.icon.png
--------------------------------------------------------------------------------
/ExampleApp/app/webroot/img/cake.power.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/app/webroot/img/cake.power.gif
--------------------------------------------------------------------------------
/ExampleApp/app/webroot/img/soccerfield.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/app/webroot/img/soccerfield.png
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/Database/TestDriver.php:
--------------------------------------------------------------------------------
1 | extend('noneexistent_parent_element'); ?>
2 | Element content.
3 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Emails/html/nested_element.ctp:
--------------------------------------------------------------------------------
1 | Before the element.
2 | element('html_call'); ?>
3 | After the element.
--------------------------------------------------------------------------------
/ExampleApp/app/webroot/img/GitHub-Mark-32px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/app/webroot/img/GitHub-Mark-32px.png
--------------------------------------------------------------------------------
/ExampleApp/app/webroot/img/test-error-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/app/webroot/img/test-error-icon.png
--------------------------------------------------------------------------------
/ExampleApp/app/webroot/img/test-fail-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/app/webroot/img/test-fail-icon.png
--------------------------------------------------------------------------------
/ExampleApp/app/webroot/img/test-pass-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/app/webroot/img/test-pass-icon.png
--------------------------------------------------------------------------------
/ExampleApp/app/webroot/img/test-skip-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/app/webroot/img/test-skip-icon.png
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Elements/test_plugin_element.ctp:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ExampleApp/app/View/Layouts/js/default.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Config/no_ini_extension:
--------------------------------------------------------------------------------
1 | ; Test file for testing config file without .ini extension.
2 | some_key = some_value
3 | bool_key = 1
4 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/PluginJs/Config/bootstrap.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Config/custom_config.php:
--------------------------------------------------------------------------------
1 | Cache Me
2 | B. In Plain Element
3 | log('2. in plain element') ?>
4 |
5 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPluginTwo/Config/bootstrap.php:
--------------------------------------------------------------------------------
1 | fetch('content'); ?>
3 |
4 | CakePHP Framework を使って送信したメールです。 http://cakephp.org.
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Layouts/js/default.ctp:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/extend_element.ctp:
--------------------------------------------------------------------------------
1 | extend('parent_view'); ?>
2 | View content.
3 | element('extended_element'); ?>
4 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/extend_with_element.ctp:
--------------------------------------------------------------------------------
1 | element('test_element'); ?>
2 | extend('parent_view'); ?>
3 | The view
4 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/parent_1.ctp:
--------------------------------------------------------------------------------
1 | extend('parent_2');
3 | ?>
4 | This is the first parent.
5 | fetch('content'); ?>
6 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/parent_2.ctp:
--------------------------------------------------------------------------------
1 | This is the second parent.
2 | fetch('content'); ?>
3 | fetch('sidebar'); ?>
4 |
--------------------------------------------------------------------------------
/ExampleApp/.htaccess:
--------------------------------------------------------------------------------
1 |
2 | RewriteEngine on
3 | RewriteRule ^$ app/webroot/ [L]
4 | RewriteRule (.*) app/webroot/$1 [L]
5 |
6 |
--------------------------------------------------------------------------------
/ExampleApp/app/.htaccess:
--------------------------------------------------------------------------------
1 |
2 | RewriteEngine on
3 | RewriteRule ^$ webroot/ [L]
4 | RewriteRule (.*) webroot/$1 [L]
5 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/cache_test_po/LC_MESSAGES/default.po:
--------------------------------------------------------------------------------
1 | msgid "default.foo"
2 | msgstr "Default Foo"
3 |
4 | msgid "default.bar"
5 | msgstr "Default Bar"
6 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Config/nested.ini:
--------------------------------------------------------------------------------
1 | ; Test file for testing ini files with . syntax
2 | [database]
3 | db.username = bar
4 | db.password = foo
5 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Vendor/img/test_2.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Vendor/img/test_2.JPG
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: php
2 | php:
3 | - 5.5
4 | - 5.4
5 |
6 | script: phpunit --bootstrap tests/Autoloader.php tests/GoogleMapHelperTest.php
7 |
8 | notifications:
9 | email: false
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/View/Layouts/js/default.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/webroot/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Console/Templates/skel/webroot/favicon.ico
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Layouts/Emails/text/plug_default.ctp:
--------------------------------------------------------------------------------
1 |
2 | fetch('content'); ?>
3 |
4 | This email was sent using the TestPlugin.
5 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Layouts/Emails/text/default.ctp:
--------------------------------------------------------------------------------
1 |
2 | fetch('content'); ?>
3 |
4 | This email was sent using the CakePHP Framework, http://cakephp.org.
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/nested_extends.ctp:
--------------------------------------------------------------------------------
1 | extend('parent_1');
3 | $this->assign('sidebar', 'Sidebar Content.');
4 | ?>
5 | This is the first template.
6 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Themed/TestTheme/Posts/themed.ctp:
--------------------------------------------------------------------------------
1 | posts themed themed file.
2 |
3 | element('test_element'); ?>
4 |
5 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/webroot/img/cake.power.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/webroot/img/cake.power.gif
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Routing/Route/TestRoute.php:
--------------------------------------------------------------------------------
1 | ' . $line . '';
6 | endforeach;
7 | ?>
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Layouts/xml/default.ctp:
--------------------------------------------------------------------------------
1 | '; ?>
2 | fetch('content'); ?>
3 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/sequencial_nocache.ctp:
--------------------------------------------------------------------------------
1 | Content
2 |
3 | D. In View File
4 | log('4. in view file') ?>
5 |
6 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/.htaccess:
--------------------------------------------------------------------------------
1 |
2 | RewriteEngine on
3 | RewriteRule ^$ webroot/ [L]
4 | RewriteRule (.*) webroot/$1 [L]
5 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/webroot/img/cake.icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Console/Templates/skel/webroot/img/cake.icon.png
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/webroot/img/cake.power.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Console/Templates/skel/webroot/img/cake.power.gif
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/Fixture/sample.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | defect
5 |
6 |
7 | enhancement
8 |
9 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/eng/LC_MESSAGES/validation_messages.po:
--------------------------------------------------------------------------------
1 | msgid "Validation failed: %s"
2 | msgstr "Translated validation failed: %s"
3 |
4 | msgid "arg1"
5 | msgstr "Translated arg1"
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/cache_test_po/LC_MESSAGES/dom1.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr "Test Domain 1"
3 |
4 | msgid "dom1.foo"
5 | msgstr "Dom 1 Foo"
6 |
7 | msgid "dom1.bar"
8 | msgstr "Dom 1 Bar"
9 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/cache_test_po/LC_MESSAGES/dom2.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr "Test Domain"
3 |
4 | msgid "dom2.foo"
5 | msgstr "Dom 2 Foo"
6 |
7 | msgid "dom2.bar"
8 | msgstr "Dom 2 Bar"
9 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_0_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_0_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_10_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_10_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_11_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_11_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_12_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_12_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_13_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_13_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_14_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_14_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_15_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_15_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_1_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_1_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_2_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_2_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_3_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_3_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_4_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_4_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_5_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_5_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_6_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_6_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_7_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_7_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_8_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_8_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_9_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_9_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Model/Datasource/Database/TestLocalDriver.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/webroot/theme/test_theme/img/test.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/webroot/theme/test_theme/img/test.jpg
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/webroot/img/test-error-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Console/Templates/skel/webroot/img/test-error-icon.png
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/webroot/img/test-fail-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Console/Templates/skel/webroot/img/test-fail-icon.png
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/webroot/img/test-pass-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Console/Templates/skel/webroot/img/test-pass-icon.png
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/webroot/img/test-skip-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Console/Templates/skel/webroot/img/test-skip-icon.png
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_0_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_0_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_10_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_10_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_11_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_11_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_12_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_12_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_13_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_13_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_14_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_14_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_15_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_15_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_1_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_1_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_2_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_2_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_3_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_3_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_4_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_4_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_5_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_5_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_6_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_6_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_7_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_7_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_8_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_8_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_9_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Locale/rule_9_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Elements/nocache/sub2.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/webroot/img/cake.icon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/webroot/img/cake.icon.gif
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/img/test.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/img/test.jpg
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/webroot/theme/test_theme/img/cake.power.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/webroot/theme/test_theme/img/cake.power.gif
--------------------------------------------------------------------------------
/ExampleApp/app/webroot/.htaccess:
--------------------------------------------------------------------------------
1 |
2 | RewriteEngine On
3 | RewriteCond %{REQUEST_FILENAME} !-d
4 | RewriteCond %{REQUEST_FILENAME} !-f
5 | RewriteRule ^ index.php [L]
6 |
7 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Emails/html/image.ctp:
--------------------------------------------------------------------------------
1 | Html->image('image.gif', array(
4 | 'alt' => 'cool image',
5 | 'width' => 100,
6 | 'height' => 100,
7 | 'fullBase' => true,
8 | ));
9 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/img/cake.power.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcferna/CakePHP-GoogleMapHelper/HEAD/ExampleApp/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/img/cake.power.gif
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Elements/nocache/contains_nocache.ctp:
--------------------------------------------------------------------------------
1 | Cache Me
2 |
3 | F. In Element With No Cache Tags
4 | log('6. in element with no cache tags') ?>
5 |
6 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Config/htmlhelper_tags.php:
--------------------------------------------------------------------------------
1 | array(
5 | 'form' => 'start form',
6 | 'formend' => 'finish form',
7 | 'hiddenblock' => '%s
'
8 | )
9 | );
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Helper/BananaHelper.php:
--------------------------------------------------------------------------------
1 | peeled';
9 | }
10 |
11 | }
12 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/webroot/.htaccess:
--------------------------------------------------------------------------------
1 |
2 | RewriteEngine On
3 | RewriteCond %{REQUEST_FILENAME} !-d
4 | RewriteCond %{REQUEST_FILENAME} !-f
5 | RewriteRule ^ index.php [L]
6 |
7 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/nocache_multiple_element.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | element('nocache/sub1'); ?>
--------------------------------------------------------------------------------
/ExampleApp/build.properties:
--------------------------------------------------------------------------------
1 | # Name
2 | project.name = CakePHP
3 |
4 | # Git stuff
5 | git.remote = origin
6 |
7 | # Directories
8 | build.dir = build
9 | dist.dir = dist
10 |
11 | # Server
12 | pirum.dir = /home/cakephp/www-live/pear.cakephp.org
13 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Config/no_php_extension:
--------------------------------------------------------------------------------
1 | array(
5 | 'Third' => array(
6 | 'ThirdDeepest' => 'buried3'
7 | )
8 | )
9 | );
10 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Elements/nocache/sub1.ctp:
--------------------------------------------------------------------------------
1 | element('nocache/sub2'); ?>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/xml/index.ctp:
--------------------------------------------------------------------------------
1 | array('user' => array()));
3 | foreach ($users as $user) {
4 | $data['users']['user'][] = array('@' => $user['User']['username']);
5 | }
6 | echo Xml::fromArray($data)->saveXml();
7 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Config/var_test.php:
--------------------------------------------------------------------------------
1 | 'value',
4 | 'Deep' => array(
5 | 'Deeper' => array(
6 | 'Deepest' => 'buried'
7 | )
8 | ),
9 | 'TestAcl' => array(
10 | 'classname' => 'Original'
11 | )
12 | );
13 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/Database/DboDummy.php:
--------------------------------------------------------------------------------
1 |
10 | fetch('content'); ?>
11 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Config/var_test2.php:
--------------------------------------------------------------------------------
1 | 'value2',
4 | 'Deep' => array(
5 | 'Second' => array(
6 | 'SecondDeepest' => 'buried2'
7 | )
8 | ),
9 | 'TestAcl' => array(
10 | 'classname' => 'Overwrite',
11 | 'custom' => 'one'
12 | )
13 | );
14 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/bake_compare/Controller/Scaffold.ctp:
--------------------------------------------------------------------------------
1 | array(
9 | 'some' => 'config'
10 | )
11 | );
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/ExampleApp/.editorconfig:
--------------------------------------------------------------------------------
1 | ; This file is for unifying the coding style for different editors and IDEs.
2 | ; More information at http://editorconfig.org
3 |
4 | root = true
5 |
6 | [*]
7 | indent_style = tab
8 | end_of_line = lf
9 | insert_final_newline = true
10 | trim_trailing_whitespace = true
11 |
12 | [*.bat]
13 | end_of_line = crlf
14 |
--------------------------------------------------------------------------------
/ExampleApp/app/View/Layouts/rss/default.ctp:
--------------------------------------------------------------------------------
1 | Rss->document(
10 | $this->Rss->channel(
11 | array(), $channel, $this->fetch('content')
12 | )
13 | );
14 | ?>
15 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Layouts/cache_layout.ctp:
--------------------------------------------------------------------------------
1 | This is regular text
2 |
3 |
4 |
5 |
6 | fetch('content'); ?>
7 |
8 |
9 |
10 |
11 |
12 |
13 | Additional regular text.
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Layouts/Emails/html/thin.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | fetch('content'); ?>
10 |
11 | This email was sent using the CakePHP Framework
12 |
13 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/multiple_nocache.ctp:
--------------------------------------------------------------------------------
1 | --view start--
2 |
3 |
4 |
5 |
6 | this view has 3 nocache blocks
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | --view end--
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/View/Layouts/rss/default.ctp:
--------------------------------------------------------------------------------
1 | Rss->document(
10 | $this->Rss->channel(
11 | array(), $channel, $this->fetch('content')
12 | )
13 | );
14 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Errors/error500.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 | :
4 |
5 |
6 | 0):
8 | echo $this->element('exception_stack_trace');
9 | endif;
10 | ?>
11 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Config/nested.ini:
--------------------------------------------------------------------------------
1 | ; Test file for testing ini files with . syntax
2 | [database]
3 | db.username = mark
4 | db.password = secret
5 |
6 | [nesting]
7 | one.two.three = 3
8 | a.b.c.d = On
9 |
10 | [bools]
11 | test_on = on
12 | test_off = off
13 | test_yes = yes
14 | test_no = no
15 | test_true = true
16 | test_false = false
17 | test_null = null
18 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Layouts/Emails/html/japanese.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | fetch('content'); ?>
10 |
11 | このメールは CakePHP Framework を利用して送信しました。
12 |
13 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Layouts/rss/default.ctp:
--------------------------------------------------------------------------------
1 | Rss->header();
3 |
4 | if (!isset($channel)) {
5 | $channel = array();
6 | }
7 | if (!isset($channel['title'])) {
8 | $channel['title'] = $title_for_layout;
9 | }
10 |
11 | echo $this->Rss->document(
12 | $this->Rss->channel(
13 | array(), $channel, $this->fetch('content')
14 | )
15 | );
16 |
17 | ?>
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Layouts/Emails/html/default.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | fetch('content'); ?>
10 |
11 | This email was sent using the CakePHP Framework
12 |
13 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/Fixture/soap_request.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 | IBM
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/ExampleApp/.gitignore:
--------------------------------------------------------------------------------
1 | # User specific & automatically generated files #
2 | #################################################
3 | /app/tmp
4 | /lib/Cake/Console/Templates/skel/tmp/
5 | /plugins
6 | /vendors
7 | /build
8 | /dist
9 | /tags
10 |
11 | # OS generated files #
12 | ######################
13 | .DS_Store
14 | .DS_Store?
15 | ._*
16 | .Spotlight-V100
17 | .Trashes
18 | Icon?
19 | ehthumbs.db
20 | Thumbs.db
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/Fixture/soap_response.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 | 34.5
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/json/index.ctp:
--------------------------------------------------------------------------------
1 | Paginator->options['url']) ? $this->Paginator->options['url'] : null;
4 |
5 | $formatted = array(
6 | 'user' => $user['User']['username'],
7 | 'list' => array(),
8 | 'paging' => $paging,
9 | );
10 | foreach ($user['Item'] as $item) {
11 | $formatted['list'][] = $item['name'];
12 | }
13 |
14 | echo json_encode($formatted);
15 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/bake_compare/Controller/NoHelpersOrComponents.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 | :
4 | '{$url}'"
7 | ); ?>
8 |
9 | 0):
11 | echo $this->element('exception_stack_trace');
12 | endif;
13 | ?>
14 |
--------------------------------------------------------------------------------
/ExampleApp/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "markstory/cakephp_geshi": "*"
4 | },
5 | "repositories": [
6 | {
7 | "type": "vcs",
8 | "url": "https://github.com/markstory/cakephp_geshi"
9 | }
10 | ],
11 | "minimum-stability": "dev",
12 | "config": {
13 | "vendor-dir": "vendors"
14 | },
15 | "extra": {
16 | "installer-paths": {
17 | "app/Plugin/Geshi": ["markstory/cakephp_geshi"]
18 | }
19 | }
20 | }
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Posts/cache_form.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 | Form->create('User'); ?>
4 |
12 | Form->end('Submit'); ?>
13 |
14 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Layouts/cache_empty_sections.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | fetch('content'); ?>
11 |
12 |
13 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/Console/Command/AppShell.php:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 | :
13 |
14 |
15 | 0):
17 | echo $this->element('exception_stack_trace');
18 | endif;
19 | ?>
20 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/View/Layouts/Emails/html/default.ctp:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | fetch('content'); ?>
17 |
18 | This email was sent using the CakePHP Framework
19 |
20 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/bake_compare/Controller/NoActions.ctp:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 | :
13 | '{$url}'"
16 | ); ?>
17 |
18 | 0):
20 | echo $this->element('exception_stack_trace');
21 | endif;
22 | ?>
23 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/Session/TestPluginSession.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Html->charset(); ?>
6 |
7 |
8 |
9 |
10 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/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 | );
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/Model/AppModel.php:
--------------------------------------------------------------------------------
1 | layout = 'banana';
14 | } catch (Exception $e) {
15 | $controller = new Controller($request, $response);
16 | $controller->viewPath = 'Errors';
17 | }
18 | return $controller;
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/po/LC_MONETARY/default.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
12 | "X-Poedit-Language: Three Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 | msgid ""
15 | msgstr "header"
16 |
17 | msgid "Plural Rule 1"
18 | msgstr "Monetary Po (translated)"
--------------------------------------------------------------------------------
/ExampleApp/app/index.php:
--------------------------------------------------------------------------------
1 |
20 |
--------------------------------------------------------------------------------
/ExampleApp/app/View/Layouts/ajax.ctp:
--------------------------------------------------------------------------------
1 |
20 | fetch('content'); ?>
21 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/View/Emails/text/default.ctp:
--------------------------------------------------------------------------------
1 |
19 |
--------------------------------------------------------------------------------
/ExampleApp/app/View/Pages/default_map.ctp:
--------------------------------------------------------------------------------
1 | Map Default Example
2 |
3 | = $this->Html->script('//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js', false); ?>
4 | = $this->Html->script('http://maps.google.com/maps/api/js?sensor=false', false); ?>
5 |
6 |
7 | = $this->GoogleMap->map(); ?>
8 |
9 |
10 | Html->script("//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js", false); ?>
14 | = $this->Html->script("http://maps.google.com/maps/api/js?sensor=false", false); ?>
15 |
16 | // print the default map
17 | = $this->GoogleMap->map(); ?>
18 | ';
19 | ?>
20 |
21 | Code:
22 | = $this->Geshi->highlightText($text, 'php'); ?>
23 |
24 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_0_po/LC_MESSAGES/core.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=1; plural=0;\n"
12 | "X-Poedit-Language: Single Form Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1 (from core)"
16 | msgstr "Plural Rule 0 (from core translated)"
17 |
18 | msgid "%d = 1 (from core)"
19 | msgid_plural "%d = 0 or > 1 (from core)"
20 | msgstr[0] "%d ends with any # (from core translated)"
21 |
22 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/View/Layouts/flash.ctp:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 | Html->charset(); ?>
14 |
15 |
16 |
17 |
18 |
19 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Model/Datasource/Test2Source.php:
--------------------------------------------------------------------------------
1 | \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=1; plural=0;\n"
12 | "X-Poedit-Language: Single Form Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1"
16 | msgstr "Plural Rule 0 (translated)"
17 |
18 | msgid "%d = 1"
19 | msgid_plural "%d = 0 or > 1"
20 | msgstr[0] "%d ends with any # (translated)"
21 |
22 | #~ msgid "Plural-Forms 1"
23 | #~ msgstr "Plural-Forms 0"
24 |
25 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Model/Datasource/Test2OtherSource.php:
--------------------------------------------------------------------------------
1 | \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=2; plural=n != 1;\n"
12 | "X-Poedit-Language: Two Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1"
16 | msgstr "Monetary Plural Rule 1 (from plugin)"
17 |
18 | msgid "%d = 1"
19 | msgid_plural "%d = 0 or > 1"
20 | msgstr[0] "Monetary %d = 1 (from plugin)"
21 | msgstr[1] "Monetary %d = 0 or > 1 (from plugin)"
22 |
23 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_2_po/LC_MESSAGES/core.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=2; plural=n>1;\n"
12 | "X-Poedit-Language: Two Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1 (from core)"
16 | msgstr "Plural Rule 2 (from core translated)"
17 |
18 | msgid "%d = 1 (from core)"
19 | msgid_plural "%d = 0 or > 1 (from core)"
20 | msgstr[0] "%d = 0 or 1 (from core translated)"
21 | msgstr[1] "%d > 1 (from core translated)"
22 |
23 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/TestOtherSource.php:
--------------------------------------------------------------------------------
1 | \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=2; plural=n != 1;\n"
12 | "X-Poedit-Language: Two Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1 (from core)"
16 | msgstr "Plural Rule 1 (from core translated)"
17 |
18 | msgid "%d = 1 (from core)"
19 | msgid_plural "%d = 0 or > 1 (from core)"
20 | msgstr[0] "%d = 1 (from core translated)"
21 | msgstr[1] "%d = 0 or > 1 (from core translated)"
22 |
23 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Vendor/Test/MyTest.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Vendor.Test
15 | * @since CakePHP(tm) v 1.2.0.4206
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 | ?>
19 | This is the MyTest.php file
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Config/config.php:
--------------------------------------------------------------------------------
1 | \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=3; plural=n%10==1 ? 0 : n%10==2 ? 1 : 2;\n"
12 | "X-Poedit-Language: Three Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1"
16 | msgstr "Plural Rule 14 (translated)"
17 |
18 | msgid "%d = 1"
19 | msgid_plural "%d = 0 or > 1"
20 | msgstr[0] "%d ends in 1 (translated)"
21 | msgstr[1] "%d ends in 2 (translated)"
22 | msgstr[2] "%d everything else (translated)"
23 |
24 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_2_po/LC_MESSAGES/default.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=2; plural=n>1;\n"
12 | "X-Poedit-Language: Two Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1"
16 | msgstr "Plural Rule 2 (translated)"
17 |
18 | msgid "%d = 1"
19 | msgid_plural "%d = 0 or > 1"
20 | msgstr[0] "%d = 0 or 1 (translated)"
21 | msgstr[1] "%d > 1 (translated)"
22 |
23 | #~ msgid "Plural-Forms 1"
24 | #~ msgstr "Plural-Forms 1 (translated)"
25 |
26 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Vendor/Test/hello.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Vendor.Test
15 | * @since CakePHP(tm) v 1.2.0.4206
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 | ?>
19 | This is the hello.php file in Test directory
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Vendor/welcome.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Vendor
15 | * @since CakePHP(tm) v 1.2.0.7629
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 | ?>
19 | This is the welcome.php file in vendors directory
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_1_po/LC_MESSAGES/default.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=2; plural=n != 1;\n"
12 | "X-Poedit-Language: Two Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1"
16 | msgstr "Plural Rule 1 (translated)"
17 |
18 | msgid "%d = 1"
19 | msgid_plural "%d = 0 or > 1"
20 | msgstr[0] "%d = 1 (translated)"
21 | msgstr[1] "%d = 0 or > 1 (translated)"
22 |
23 | #~ msgid "Plural-Forms 1"
24 | #~ msgstr "Plural-Forms 1 (translated)"
25 |
26 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Vendor/somename/some.name.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Vendor.somename
15 | * @since CakePHP(tm) v 1.2.0.4206
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 | ?>
19 | This is a file with dot in file name
--------------------------------------------------------------------------------
/ExampleApp/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 |
--------------------------------------------------------------------------------
/ExampleApp/app/View/Emails/html/default.ctp:
--------------------------------------------------------------------------------
1 |
20 | ' . $line . "\n";
25 | endforeach;
26 | ?>
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_5_po/LC_MESSAGES/default.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2;\n"
12 |
13 | msgid "Plural Rule 1"
14 | msgstr "Plural Rule 5 (translated)"
15 |
16 | msgid "%d = 1"
17 | msgid_plural "%d = 0 or > 1"
18 | msgstr[0] "%d = 1 (translated)"
19 | msgstr[1] "%d = 0 or ends in 01-19 (translated)"
20 | msgstr[2] "%d everything else (translated)"
21 |
22 | #~ msgid "Plural-Forms 1"
23 | #~ msgstr "Plural-Forms 1 (translated)"
24 |
25 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/View/Layouts/Emails/text/default.ctp:
--------------------------------------------------------------------------------
1 |
19 | fetch('content'); ?>
20 |
21 | This email was sent using the CakePHP Framework, http://cakephp.org.
22 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/TestSource.php:
--------------------------------------------------------------------------------
1 |
19 | ' . $line . "\n";
24 | endforeach;
25 | ?>
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Config/routes.php:
--------------------------------------------------------------------------------
1 | 'tests_apps', 'action' => 'some_method'));
23 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Layouts/multi_cache.ctp:
--------------------------------------------------------------------------------
1 | This is regular text
2 |
3 | A. Layout Before Content
4 | log('1. layout before content') ?>
5 |
6 | element('nocache/plain'); ?>
7 |
8 | C. Layout After Test Element But Before Content
9 | log('3. layout after test element but before content') ?>
10 |
11 | fetch('content'); ?>
12 |
13 | E. Layout After Content
14 | log('5. layout after content') ?>
15 |
16 | Additional regular text.
17 | element('nocache/contains_nocache'); ?>
18 |
19 | G. Layout After Content And After Element With No Cache Tags
20 | log('7. layout after content and after element with no cache tags') ?>
21 |
22 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Lib/Library.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Lib
15 | * @since CakePHP(tm) v 1.3
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class Library
21 | *
22 | * @package Cake.Test.TestApp.Lib
23 | */
24 | class Library {
25 | }
26 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Vendor/welcome.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Vendor
15 | * @since CakePHP(tm) v 1.2.0.7629
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 | ?>
19 | This is the welcome.php file in test_plugin/vendors directory
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_12_po/LC_MESSAGES/default.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-10-09 19:20-0300\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: Renan Gonçalves \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=4; plural=n==1 ? 0 : n==2 ? 1 : n==0 || (n>=3 && n<=10) ? 2 : 3;\n"
12 | "X-Poedit-Language: Four Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1"
16 | msgstr "Plural Rule 12 (translated)"
17 |
18 | msgid "%d = 1"
19 | msgid_plural "%d = 0 or > 1"
20 | msgstr[0] "%d is 1 (translated)"
21 | msgstr[1] "%d is 2 (translated)"
22 | msgstr[2] "%d is 0 or 3-10 (translated)"
23 | msgstr[3] "%d everything else (translated)"
24 |
25 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_4_po/LC_MESSAGES/core.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n==2 ? 1 : 2;\n"
12 | "X-Poedit-Language: Three Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1 (from core)"
16 | msgstr "Plural Rule 4 (from core translated)"
17 |
18 | msgid "%d = 1 (from core)"
19 | msgid_plural "%d = 0 or > 1 (from core)"
20 | msgstr[0] "%d = 1 (from core translated)"
21 | msgstr[1] "%d = 2 (from core translated)"
22 | msgstr[2] "%d everything else (from core translated)"
23 |
24 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Model/Post.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Config
15 | * @since CakePHP(tm) v 1.3
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | $config['plugin_load'] = '/test_app/plugins/test_plugin/config/load.php';
20 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_4_po/LC_MESSAGES/default.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n==2 ? 1 : 2;\n"
12 | "X-Poedit-Language: Three Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1"
16 | msgstr "Plural Rule 4 (translated)"
17 |
18 | msgid "%d = 1"
19 | msgid_plural "%d = 0 or > 1"
20 | msgstr[0] "%d = 1 (translated)"
21 | msgstr[1] "%d = 2 (translated)"
22 | msgstr[2] "%d everything else (translated)"
23 |
24 | #~ msgid "Plural-Forms 1"
25 | #~ msgstr "Plural-Forms 1 (translated)"
26 |
27 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_14_po/LC_MESSAGES/core.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-10-09 19:20-0300\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: Renan Gonçalves \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=3; plural=n%10==1 ? 0 : n%10==2 ? 1 : 2;\n"
12 | "X-Poedit-Language: Three Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1 (from core)"
16 | msgstr "Plural Rule 14 (from core translated)"
17 |
18 | msgid "%d = 1 (from core)"
19 | msgid_plural "%d = 0 or > 1 (from core)"
20 | msgstr[0] "%d ends in 1 (from core translated)"
21 | msgstr[1] "%d ends in 2 (from core translated)"
22 | msgstr[2] "%d everything else (from core translated)"
23 |
24 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_8_po/LC_MESSAGES/core.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
12 | "X-Poedit-Language: Three Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1 (from core)"
16 | msgstr "Plural Rule 8 (from core translated)"
17 |
18 | msgid "%d = 1 (from core)"
19 | msgid_plural "%d = 0 or > 1 (from core)"
20 | msgstr[0] "%d is 1 (from core translated)"
21 | msgstr[1] "%d is 2-4 (from core translated)"
22 | msgstr[2] "%d everything else (from core translated)"
23 |
24 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Config/more.load.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Config
15 | * @since CakePHP(tm) v 1.3
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | $config['plugin_more_load'] = '/test_app/plugins/test_plugin/config/more.load.php';
20 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_8_po/LC_MESSAGES/default.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
12 | "X-Poedit-Language: Three Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1"
16 | msgstr "Plural Rule 8 (translated)"
17 |
18 | msgid "%d = 1"
19 | msgid_plural "%d = 0 or > 1"
20 | msgstr[0] "%d is 1 (translated)"
21 | msgstr[1] "%d is 2-4 (translated)"
22 | msgstr[2] "%d everything else (translated)"
23 |
24 | #~ msgid "Plural-Forms 1"
25 | #~ msgstr "Plural-Forms 1 (translated)"
26 |
27 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_3_po/LC_MESSAGES/core.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2;\n"
12 | "X-Poedit-Language: Three Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1 (from core)"
16 | msgstr "Plural Rule 3 (from core translated)"
17 |
18 | msgid "%d = 1 (from core)"
19 | msgid_plural "%d = 0 or > 1 (from core)"
20 | msgstr[0] "%d ends 1 but not 11 (from core translated)"
21 | msgstr[1] "%d everything else (from core translated)"
22 | msgstr[2] "%d = 0 (from core translated)"
23 |
24 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_11_po/LC_MESSAGES/default.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-10-09 19:20-0300\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: Renan Gonçalves \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=5; plural=n==1 ? 0 : n==2 ? 1 : n>=3 && n<=6 ? 2 : n>=7 && n<=10 ? 3 : 4;\n"
12 | "X-Poedit-Language: Five Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1"
16 | msgstr "Plural Rule 11 (translated)"
17 |
18 | msgid "%d = 1"
19 | msgid_plural "%d = 0 or > 1"
20 | msgstr[0] "%d is 1 (translated)"
21 | msgstr[1] "%d is 2 (translated)"
22 | msgstr[2] "%d is 3-6 (translated)"
23 | msgstr[3] "%d is 7-10 (translated)"
24 | msgstr[4] "%d everything else (translated)"
25 |
26 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_13_po/LC_MESSAGES/default.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-10-09 19:20-0300\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: Renan Gonçalves \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=4; plural=n==1 ? 0 : n==0 || (n%100>=1 && n%100<=10) ? 1 : n%100>=11 && n%100<=20 ? 2 : 3;\n"
12 | "X-Poedit-Language: Four Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1"
16 | msgstr "Plural Rule 13 (translated)"
17 |
18 | msgid "%d = 1"
19 | msgid_plural "%d = 0 or > 1"
20 | msgstr[0] "%d is 1 (translated)"
21 | msgstr[1] "%d is 0 or ends in 01-10 (translated)"
22 | msgstr[2] "%d ends in 11-20 (translated)"
23 | msgstr[3] "%d everything else (translated)"
24 |
25 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_3_po/LC_MESSAGES/default.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2;\n"
12 | "X-Poedit-Language: Three Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1"
16 | msgstr "Plural Rule 3 (translated)"
17 |
18 | msgid "%d = 1"
19 | msgid_plural "%d = 0 or > 1"
20 | msgstr[0] "%d ends 1 but not 11 (translated)"
21 | msgstr[1] "%d everything else (translated)"
22 | msgstr[2] "%d = 0 (translated)"
23 |
24 | #~ msgid "Plural-Forms 1"
25 | #~ msgstr "Plural-Forms 1 (translated)"
26 |
27 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_5_po/LC_MESSAGES/core.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2;\n"
12 | "X-Poedit-Language: Three Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1 (from core)"
16 | msgstr "Plural Rule 5 (from core translated)"
17 |
18 | msgid "%d = 1 (from core)"
19 | msgid_plural "%d = 0 or > 1 (from core)"
20 | msgstr[0] "%d = 1 (from core translated)"
21 | msgstr[1] "%d = 0 or ends in 01-19 (from core translated)"
22 | msgstr[2] "%d everything else (from core translated)"
23 |
24 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Lib/Utility/TestUtilityClass.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Lib.Utility
15 | * @since CakePHP(tm) v 1.3
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class TestUtilityClass
21 | *
22 | * @package Cake.Test.TestApp.Lib.Utility
23 | */
24 | class TestUtilityClass {
25 | }
26 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Command/AppShell.php:
--------------------------------------------------------------------------------
1 | \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
12 | "X-Poedit-Language: Three Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1 (from core)"
16 | msgstr "Plural Rule 9 (from core translated)"
17 |
18 | msgid "%d = 1 (from core)"
19 | msgid_plural "%d = 0 or > 1 (from core)"
20 | msgstr[0] "%d is 1 (from core translated)"
21 | msgstr[1] "%d ends in 2-4, not 12-14 (from core translated)"
22 | msgstr[2] "%d everything else (from core translated)"
23 |
24 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_9_po/LC_MESSAGES/default.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
12 | "X-Poedit-Language: Three Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1"
16 | msgstr "Plural Rule 9 (translated)"
17 |
18 | msgid "%d = 1"
19 | msgid_plural "%d = 0 or > 1"
20 | msgstr[0] "%d is 1 (translated)"
21 | msgstr[1] "%d ends in 2-4, not 12-14 (translated)"
22 | msgstr[2] "%d everything else (translated)"
23 |
24 | #~ msgid "Plural-Forms 1"
25 | #~ msgstr "Plural-Forms 1 (translated)"
26 |
27 |
--------------------------------------------------------------------------------
/ExampleApp/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 | );
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_12_po/LC_MESSAGES/core.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-10-09 19:20-0300\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: Renan Gonçalves \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=4; plural=n==1 ? 0 : n==2 ? 1 : n==0 || (n>=3 && n<=10) ? 2 : 3;\n"
12 | "X-Poedit-Language: Four Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1 (from core)"
16 | msgstr "Plural Rule 12 (from core translated)"
17 |
18 | msgid "%d = 1 (from core)"
19 | msgid_plural "%d = 0 or > 1 (from core)"
20 | msgstr[0] "%d is 1 (from core translated)"
21 | msgstr[1] "%d is 2 (from core translated)"
22 | msgstr[2] "%d is 0 or 3-10 (from core translated)"
23 | msgstr[3] "%d everything else (from core translated)"
24 |
25 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Model/Comment.php:
--------------------------------------------------------------------------------
1 | \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
12 | "X-Poedit-Language: Three Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1 (from core)"
16 | msgstr "Plural Rule 6 (from core translated)"
17 |
18 | msgid "%d = 1 (from core)"
19 | msgid_plural "%d = 0 or > 1 (from core)"
20 | msgstr[0] "%d ends in 1, not 11 (from core translated)"
21 | msgstr[1] "%d everything else (from core translated)"
22 | msgstr[2] "%d ends in 0 or ends in 10-20 (from core translated)"
23 |
24 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/TestPluginLibrary.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Lib
15 | * @since CakePHP(tm) v 1.2.0.5432
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class TestPluginLibrary
21 | *
22 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Lib
23 | */
24 | class TestPluginLibrary {
25 | }
26 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_6_po/LC_MESSAGES/default.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
12 | "X-Poedit-Language: Three Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1"
16 | msgstr "Plural Rule 6 (translated)"
17 |
18 | msgid "%d = 1"
19 | msgid_plural "%d = 0 or > 1"
20 | msgstr[0] "%d ends in 1, not 11 (translated)"
21 | msgstr[1] "%d everything else (translated)"
22 | msgstr[2] "%d ends in 0 or ends in 10-20 (translated)"
23 |
24 | #~ msgid "Plural-Forms 1"
25 | #~ msgstr "Plural-Forms 1 (translated)"
26 |
27 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_7_po/LC_MESSAGES/core.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
12 | "X-Poedit-Language: Three Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1 (from core)"
16 | msgstr "Plural Rule 7 (from core translated)"
17 |
18 | msgid "%d = 1 (from core)"
19 | msgid_plural "%d = 0 or > 1 (from core)"
20 | msgstr[0] "%d ends in 1, not 11 (from core translated)"
21 | msgstr[1] "%d ends in 2-4, not 12-14 (from core translated)"
22 | msgstr[2] "%d everything else (from core translated)"
23 |
24 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Vendor/sample/configure_test_vendor_sample.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Vendor.sample
15 | * @since CakePHP(tm) v 1.2.0.4206
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class ConfigureTestVendorSample
21 | *
22 | * @package Cake.Test.TestApp.Vendor.sample
23 | */
24 | class ConfigureTestVendorSample {
25 | }
26 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/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 | );
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/Config/Schema/sessions.php:
--------------------------------------------------------------------------------
1 | array('type' => 'string', 'null' => false, 'key' => 'primary'),
31 | 'data' => array('type' => 'text', 'null' => true, 'default' => null),
32 | 'expires' => array('type' => 'integer', 'null' => true, 'default' => null),
33 | 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1))
34 | );
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_10_po/LC_MESSAGES/core.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3;\n"
12 | "X-Poedit-Language: Four Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1 (from core)"
16 | msgstr "Plural Rule 10 (from core translated)"
17 |
18 | msgid "%d = 1 (from core)"
19 | msgid_plural "%d = 0 or > 1 (from core)"
20 | msgstr[0] "%d ends in 1 (from core translated)"
21 | msgstr[1] "%d ends in 2 (from core translated)"
22 | msgstr[2] "%d ends in 03-04 (from core translated)"
23 | msgstr[3] "%d everything else (from core translated)"
24 |
25 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_10_po/LC_MESSAGES/default.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3;\n"
12 | "X-Poedit-Language: Four Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1"
16 | msgstr "Plural Rule 10 (translated)"
17 |
18 | msgid "%d = 1"
19 | msgid_plural "%d = 0 or > 1"
20 | msgstr[0] "%d ends in 1 (translated)"
21 | msgstr[1] "%d ends in 2 (translated)"
22 | msgstr[2] "%d ends in 03-04 (translated)"
23 | msgstr[3] "%d everything else (translated)"
24 |
25 | #~ msgid "Plural-Forms 1"
26 | #~ msgstr "Plural-Forms 1 (translated)"
27 |
28 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_7_po/LC_MESSAGES/default.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-05-15 02:51-0700\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: CakePHP I18N & I10N Team \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
12 | "X-Poedit-Language: Three Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1"
16 | msgstr "Plural Rule 7 (translated)"
17 |
18 | msgid "%d = 1"
19 | msgid_plural "%d = 0 or > 1"
20 | msgstr[0] "%d ends in 1, not 11 (translated)"
21 | msgstr[1] "%d ends in 2-4, not 12-14 (translated)"
22 | msgstr[2] "%d everything else (translated)"
23 |
24 | #~ msgid "Plural-Forms 1"
25 | #~ msgstr "Plural-Forms 1 (translated)"
26 |
27 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/TestPluginOtherLibrary.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Lib
15 | * @since CakePHP(tm) v 2.0.1
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class TestPluginOtherLibrary
21 | *
22 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Lib
23 | */
24 | class TestPluginOtherLibrary {
25 | }
26 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/View/ThemeView.php:
--------------------------------------------------------------------------------
1 | \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=4; plural=n==1 ? 0 : n==0 || (n%100>=1 && n%100<=10) ? 1 : n%100>=11 && n%100<=20 ? 2 : 3;\n"
12 | "X-Poedit-Language: Four Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1 (from core)"
16 | msgstr "Plural Rule 13 (from core translated)"
17 |
18 | msgid "%d = 1 (from core)"
19 | msgid_plural "%d = 0 or > 1 (from core)"
20 | msgstr[0] "%d is 1 (from core translated)"
21 | msgstr[1] "%d is 0 or ends in 01-10 (from core translated)"
22 | msgstr[2] "%d ends in 11-20 (from core translated)"
23 | msgstr[3] "%d everything else (from core translated)"
24 |
25 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/TestPluginAppModel.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Model
15 | * @since CakePHP(tm) v 1.2.0.5432
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class TestPluginAppModel
21 | *
22 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Model
23 | */
24 | class TestPluginAppModel extends CakeTestModel {
25 | }
26 |
--------------------------------------------------------------------------------
/ExampleApp/app/View/Errors/error500.ctp:
--------------------------------------------------------------------------------
1 |
20 |
21 |
22 | :
23 |
24 |
25 | 0):
27 | echo $this->element('exception_stack_trace');
28 | endif;
29 | ?>
30 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Locale/rule_11_po/LC_MESSAGES/core.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: CakePHP Testsuite\n"
4 | "POT-Creation-Date: 2008-10-09 19:20-0300\n"
5 | "PO-Revision-Date: \n"
6 | "Last-Translator: Renan Gonçalves \n"
7 | "Language-Team: CakePHP I18N & I10N Team \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Type: text/plain; charset=UTF-8\n"
10 | "Content-Transfer-Encoding: 8bit\n"
11 | "Plural-Forms: nplurals=5; plural=n==1 ? 0 : n==2 ? 1 : n>=3 && n<=6 ? 2 : n>=7 && n<=10 ? 3 : 4;\n"
12 | "X-Poedit-Language: Five Forms of Plurals\n"
13 | "X-Poedit-SourceCharset: utf-8\n"
14 |
15 | msgid "Plural Rule 1 (from core)"
16 | msgstr "Plural Rule 11 (from core translated)"
17 |
18 | msgid "%d = 1 (from core)"
19 | msgid_plural "%d = 0 or > 1 (from core)"
20 | msgstr[0] "%d is 1 (from core translated)"
21 | msgstr[1] "%d is 2 (from core translated)"
22 | msgstr[2] "%d is 3-6 (from core translated)"
23 | msgstr[3] "%d is 7-10 (from core translated)"
24 | msgstr[4] "%d everything else (from core translated)"
25 |
26 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Console/Command/Task/OtherTaskTask.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Console.Command.Task
15 | * @since CakePHP(tm) v 2.0
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class OtherTaskTask
21 | *
22 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Console.Command.Task
23 | */
24 | class OtherTaskTask extends Shell {
25 |
26 | }
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Custom/Package/CustomLibClass.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Lib.Custom.Package
15 | * @since CakePHP(tm) v 1.2.0.5432
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class CustomLibClass
21 | *
22 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Lib.Custom.Package
23 | */
24 | class CustomLibClass {
25 | }
26 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Vendor/sample/sample_plugin.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Vendor.sample
15 | * @since CakePHP(tm) v 1.2.0.4206
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class SamplePluginClassTestName
21 | *
22 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Vendor.sample
23 | */
24 | class SamplePluginClassTestName {
25 | }
26 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/Component/OtherComponent.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Controller.Component
15 | * @since CakePHP(tm) v 1.2.0.4206
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class OtherComponent
21 | *
22 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Controller.Component
23 | */
24 | class OtherComponent extends Component {
25 | }
26 |
--------------------------------------------------------------------------------
/ExampleApp/app/View/Layouts/Emails/html/default.ctp:
--------------------------------------------------------------------------------
1 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | fetch('content'); ?>
27 |
28 | This email was sent using the CakePHP Framework
29 |
30 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/Console/cake.bat:
--------------------------------------------------------------------------------
1 | ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2 | ::
3 | :: Bake is a shell script for running CakePHP bake script
4 | ::
5 | :: CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
6 | :: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | ::
8 | :: Licensed under The MIT License
9 | :: Redistributions of files must retain the above copyright notice.
10 | ::
11 | :: @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
12 | :: @link http://cakephp.org CakePHP(tm) Project
13 | :: @package app.Console
14 | :: @since CakePHP(tm) v 2.0
15 | ::
16 | ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
17 |
18 | :: In order for this script to work as intended, the cake\console\ folder must be in your PATH
19 |
20 | @echo.
21 | @echo off
22 |
23 | SET app=%0
24 | SET lib=%~dp0
25 |
26 | php -q "%lib%cake.php" -working "%CD% " %*
27 |
28 | echo.
29 |
30 | exit /B %ERRORLEVEL%
31 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/VERSION.txt:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////////////////////////////
2 | // +--------------------------------------------------------------------------------------------+ //
3 | // CakePHP Version
4 | //
5 | // Holds a static string representing the current version of CakePHP
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 | // Redistributions of files must retain the above copyright notice.
12 | //
13 | // @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
14 | // @link http://cakephp.org
15 | // @package Cake
16 | // @since CakePHP(tm) v 0.2.9
17 | // @license http://www.opensource.org/licenses/mit-license.php MIT License
18 | // +--------------------------------------------------------------------------------------------+ //
19 | ////////////////////////////////////////////////////////////////////////////////////////////////////
20 | 2.4.4
21 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/Component/TestPluginOtherComponent.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Controller.Component
15 | * @since CakePHP(tm) v 1.2.0.4206
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class TestPluginOtherComponent
21 | *
22 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Controller.Component
23 | */
24 | class TestPluginOtherComponent extends Component {
25 | }
26 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Lib/Log/Engine/TestAppLog.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Lib.Log.Engine
15 | * @since CakePHP(tm) v 1.3
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | App::uses('BaseLog', 'Log/Engine');
20 |
21 | /**
22 | * Class TestAppLog
23 | *
24 | * @package Cake.Test.TestApp.Lib.Log.Engine
25 | */
26 | class TestAppLog extends BaseLog {
27 |
28 | public function write($type, $message) {
29 | }
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Helper/OtherHelperHelper.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.View.Helper
15 | * @since CakePHP(tm) v 1.2.0.4206
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | App::uses('AppHelper', 'View/Helper');
20 |
21 | /**
22 | * Class OtherHelperHelper
23 | *
24 | * @package Cake.Test.TestApp.Plugin.TestPlugin.View.Helper
25 | */
26 | class OtherHelperHelper extends AppHelper {
27 | }
28 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Helper/PluggedHelperHelper.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.View.Helper
15 | * @since CakePHP(tm) v 1.2.0.4206
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class PluggedHelperHelper
21 | *
22 | * @package Cake.Test.TestApp.Plugin.TestPlugin.View.Helper
23 | */
24 | class PluggedHelperHelper extends AppHelper {
25 |
26 | public $helpers = array('TestPlugin.OtherHelper');
27 | }
28 |
--------------------------------------------------------------------------------
/tests/GoogleMapHelperTest.php:
--------------------------------------------------------------------------------
1 | googleMap = new GoogleMapHelper();
7 | }
8 |
9 | public function testConstructor() {
10 | $this->assertNotNull($this->googleMap);
11 | $this->assertInstanceOf("GoogleMapHelper", $this->googleMap);
12 | }
13 |
14 | public function testMap() {
15 | $mapJs = $this->googleMap->map();
16 |
17 | // assert that the map canvas is in the HTML
18 | $expectedMapDiv = "";
19 | $this->assertTrue(strpos($mapJs, $expectedMapDiv) !== false);
20 |
21 | // assert that the map canvas is in the HTML
22 | $mapJs = $this->googleMap->map([
23 | "id" => "new_map_canvas",
24 | "width" => "600px",
25 | "height" => "500px"
26 | ]);
27 | $expectedMapDiv = "";
28 | $this->assertTrue(strpos($mapJs, $expectedMapDiv) !== false);
29 | }
30 | }
31 |
32 | ?>
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Model/AcoAction.php:
--------------------------------------------------------------------------------
1 |
20 |
21 |
22 | :
23 | '{$url}'"
26 | ); ?>
27 |
28 | 0):
30 | echo $this->element('exception_stack_trace');
31 | endif;
32 | ?>
33 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/Fixture/PrefixTestFixture.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.Fixture
15 | * @since CakePHP(tm) v 1.2.0.4667
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * PrefixTestFixture
21 | *
22 | * @package Cake.Test.Fixture
23 | */
24 | class PrefixTestFixture extends CakeTestFixture {
25 |
26 | public $table = 'prefix_prefix_tests';
27 |
28 | public $fields = array(
29 | 'id' => array('type' => 'integer', 'key' => 'primary'),
30 | );
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Pages/extract.ctp:
--------------------------------------------------------------------------------
1 | 10);
4 |
5 | // Plural
6 | echo __n('You have %d new message.', 'You have %d new messages.', $count);
7 | echo __n('You deleted %d message.', 'You deleted %d messages.', $messages['count']);
8 |
9 | // Domain Plural
10 | echo __dn('domain', 'You have %d new message (domain).', 'You have %d new messages (domain).', '10');
11 | echo __dn('domain', 'You deleted %d message (domain).', 'You deleted %d messages (domain).', $messages['count']);
12 |
13 | // Duplicated Message
14 | echo __('Editing this Page');
15 | echo __('You have %d new message.');
16 |
17 | // Contains quotes
18 | echo __('double "quoted"');
19 | echo __("single 'quoted'");
20 |
21 | // Multiline
22 | __('Hot features!'
23 | . "\n - No Configuration:"
24 | . ' Set-up the database and let the magic begin'
25 | . "\n - Extremely Simple:"
26 | . ' Just look at the name...It\'s Cake'
27 | . "\n - Active, Friendly Community:"
28 | . ' Join us #cakephp on IRC. We\'d love to help you get started');
29 |
30 | // Category
31 | echo __c('You have a new message (category: LC_TIME).', 5);
32 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/TestPluginAppController.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Controller
15 | * @since CakePHP(tm) v 1.2.0.5432
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | App::uses('AppController', 'Controller');
20 |
21 | /**
22 | * Class TestPluginAppController
23 | *
24 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Controller
25 | */
26 | class TestPluginAppController extends AppController {
27 | }
28 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/View/Layouts/default.ctp:
--------------------------------------------------------------------------------
1 | loadHelper('Html');
4 |
5 | $cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework');
6 | ?>
7 |
8 |
9 |
10 | Html->charset(); ?>
11 |
12 | :
13 |
14 |
15 | Html->meta('icon');
17 |
18 | echo $this->Html->css('cake.generic');
19 |
20 | echo $scripts_for_layout;
21 | ?>
22 |
23 |
24 |
25 |
28 |
29 |
30 | fetch('content'); ?>
31 |
32 |
33 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/Component/PluginsComponent.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Controller.Component
15 | * @since CakePHP(tm) v 1.2.0.4206
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class PluginsComponent
21 | *
22 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Controller.Component
23 | */
24 | class PluginsComponent extends Component {
25 |
26 | public $components = array('TestPlugin.Other');
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/cake.bat:
--------------------------------------------------------------------------------
1 | ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2 | ::
3 | :: Bake is a shell script for running CakePHP bake script
4 | ::
5 | :: CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
6 | :: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | ::
8 | :: Licensed under The MIT License
9 | :: Redistributions of files must retain the above copyright notice.
10 | ::
11 | :: @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
12 | :: @link http://cakephp.org CakePHP(tm) Project
13 | :: @package Cake.Console
14 | :: @since CakePHP(tm) v 1.2.0.5012
15 | :: @license http://www.opensource.org/licenses/mit-license.php MIT License
16 | ::
17 | ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
18 |
19 | :: In order for this script to work as intended, the cake\console\ folder must be in your PATH
20 |
21 | @echo.
22 | @echo off
23 |
24 | SET app=%0
25 | SET lib=%~dp0
26 |
27 | php -q "%lib%cake.php" -working "%CD% " %*
28 |
29 | echo.
30 |
31 | exit /B %ERRORLEVEL%
32 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/TestSuite/templates/missing_connection.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.TestSuite.templates
15 | * @since CakePHP(tm) v 1.2.0.4433
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 | ?>
19 |
20 |
21 |
Missing Test Database Connection
22 |
getMessage(); ?>
23 |
getTraceAsString(); ?>
24 |
25 | array('with' => 'Permission'));
41 | }
42 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Model/Aro.php:
--------------------------------------------------------------------------------
1 | array('with' => 'Permission'));
41 | }
42 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Console/Command/SampleShell.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Console.Command
15 | * @since CakePHP(tm) v 1.2.0.7871
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class SampleShell
21 | *
22 | * @package Cake.Test.TestApp.Console.Command
23 | */
24 | class SampleShell extends Shell {
25 |
26 | /**
27 | * main method
28 | *
29 | * @return void
30 | */
31 | public function main() {
32 | $this->out('This is the main method called from SampleShell');
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/Component/TestPluginComponent.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Controller.Component
15 | * @since CakePHP(tm) v 1.2.0.4206
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class TestPluginComponent
21 | *
22 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Controller.Component
23 | */
24 | class TestPluginComponent extends Component {
25 |
26 | public $components = array('TestPlugin.TestPluginOther');
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/ExampleApp/app/View/Helper/AppHelper.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Lib.Log.Engine
15 | * @since CakePHP(tm) v 1.3
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | App::uses('CakeLogInterface', 'Log');
20 |
21 | /**
22 | * Class TestPluginLog
23 | *
24 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Lib.Log.Engine
25 | */
26 | class TestPluginLog implements CakeLogInterface {
27 |
28 | public function write($type, $message) {
29 | }
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Log/CakeLogInterface.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.TestSuite.templates
15 | * @since CakePHP(tm) v 1.2.0.4433
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 | ?>
19 |
20 |
21 |
Xdebug is not installed
22 |
You must install Xdebug to use the CakePHP(tm) Code Coverage Analyzation.
23 |
Learn How To Install Xdebug
24 |
25 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Console.Command
15 | * @since CakePHP(tm) v 1.2.0.7871
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class ExampleShell
21 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Console.Command
22 | */
23 | class ExampleShell extends Shell {
24 |
25 | /**
26 | * main method
27 | *
28 | * @return void
29 | */
30 | public function main() {
31 | $this->out('This is the main method called from TestPlugin.ExampleShell');
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Model/AppModel.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPluginTwo.Console.Command
15 | * @since CakePHP(tm) v 1.2.0.7871
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class ExampleShell
21 | *
22 | * @package Cake.Test.TestApp.Plugin.TestPluginTwo.Console.Command
23 | */
24 | class ExampleShell extends Shell {
25 |
26 | /**
27 | * main method
28 | *
29 | * @return void
30 | */
31 | public function main() {
32 | $this->out('This is the main method called from TestPluginTwo.ExampleShell');
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/Case/AllCoreTest.php:
--------------------------------------------------------------------------------
1 | addTestDirectory(CORE_TEST_CASES . DS . 'Core');
37 | return $suite;
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/Case/AllEventTest.php:
--------------------------------------------------------------------------------
1 | addTestDirectory(CORE_TEST_CASES . DS . 'Event');
36 | return $suite;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Routing/Filter/TestDispatcherFilter.php:
--------------------------------------------------------------------------------
1 | data['request']->params['altered'] = true;
30 | }
31 |
32 | public function afterDispatch(CakeEvent $event) {
33 | $event->data['response']->statusCode(304);
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/Case/AllViewTest.php:
--------------------------------------------------------------------------------
1 | addTestDirectory(CORE_TEST_CASES . DS . 'View');
37 | return $suite;
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPluginTwo/Console/Command/WelcomeShell.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPluginTwo.Console.Command
15 | * @since CakePHP(tm) v 1.2.0.7871
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class WelcomeShell
21 | *
22 | * @package Cake.Test.TestApp.Plugin.TestPluginTwo.Console.Command
23 | */
24 | class WelcomeShell extends Shell {
25 |
26 | /**
27 | * say_hello method
28 | *
29 | * @return void
30 | */
31 | public function say_hello() {
32 | $this->out('This is the say_hello method called from TestPluginTwo.WelcomeShell');
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/Case/AllConfigureTest.php:
--------------------------------------------------------------------------------
1 | addTestDirectory(CORE_TEST_CASES . DS . 'Configure');
37 | return $suite;
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/Case/AllI18nTest.php:
--------------------------------------------------------------------------------
1 | addTestDirectory(CORE_TEST_CASES . DS . 'I18n');
37 | return $suite;
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/Case/AllUtilityTest.php:
--------------------------------------------------------------------------------
1 | addTestDirectory(CORE_TEST_CASES . DS . 'Utility');
36 | return $suite;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/ExampleApp/app/Controller/AppController.php:
--------------------------------------------------------------------------------
1 | addTestDirectory(CORE_TEST_CASES . DS . 'TestSuite');
37 | return $suite;
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/Case/AllErrorTest.php:
--------------------------------------------------------------------------------
1 | addTestDirectory($libs . 'Error');
39 | return $suite;
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Console/Templates/skel/Config/routes.php:
--------------------------------------------------------------------------------
1 | 'pages', 'action' => 'display', 'home'));
20 | /**
21 | * ...and connect the rest of 'Pages' controller's URLs.
22 | */
23 | Router::connect('/pages/*', array('controller' => 'pages', 'action' => 'display'));
24 |
25 | /**
26 | * Load all plugin routes. See the CakePlugin documentation on
27 | * how to customize the loading of plugin routes.
28 | */
29 | CakePlugin::routes();
30 |
31 | /**
32 | * Load the CakePHP default routes. Only remove this if you do not want to use
33 | * the built-in default routes.
34 | */
35 | require CAKE . 'Config' . DS . 'routes.php';
36 |
--------------------------------------------------------------------------------
/ExampleApp/lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/TestPluginController.php:
--------------------------------------------------------------------------------
1 |
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 | *
8 | * Licensed under The MIT License
9 | * For full copyright and license information, please see the LICENSE.txt
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
14 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Controller
15 | * @since CakePHP(tm) v 1.3
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 | */
18 |
19 | /**
20 | * Class TestPluginController
21 | *
22 | * @package Cake.Test.TestApp.Plugin.TestPlugin.Controller
23 | */
24 | class TestPluginController extends TestPluginAppController {
25 |
26 | public $uses = array();
27 |
28 | public function index() {
29 | $this->autoRender = false;
30 | }
31 |
32 | public function add() {
33 | $this->autoRender = false;
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------