├── app
├── Lib
│ └── empty
├── Plugin
│ └── empty
├── Vendor
│ └── empty
├── tmp
│ ├── logs
│ │ └── empty
│ ├── sessions
│ │ └── empty
│ ├── tests
│ │ └── empty
│ └── cache
│ │ ├── models
│ │ └── empty
│ │ ├── views
│ │ └── empty
│ │ └── persistent
│ │ └── empty
├── Test
│ ├── Fixture
│ │ └── empty
│ └── Case
│ │ ├── View
│ │ └── Helper
│ │ │ └── empty
│ │ ├── Model
│ │ └── Behavior
│ │ │ └── empty
│ │ └── Controller
│ │ └── Component
│ │ └── empty
├── View
│ ├── Elements
│ │ └── empty
│ ├── Scaffolds
│ │ └── empty
│ ├── Layouts
│ │ ├── xml
│ │ │ └── default.ctp
│ │ ├── js
│ │ │ └── default.ctp
│ │ ├── rss
│ │ │ └── default.ctp
│ │ ├── ajax.ctp
│ │ └── Emails
│ │ │ ├── text
│ │ │ └── default.ctp
│ │ │ └── html
│ │ │ └── default.ctp
│ ├── Emails
│ │ ├── text
│ │ │ └── default.ctp
│ │ └── html
│ │ │ └── default.ctp
│ ├── Errors
│ │ ├── error500.ctp
│ │ └── error400.ctp
│ └── Helper
│ │ └── AppHelper.php
├── webroot
│ ├── files
│ │ └── empty
│ ├── js
│ │ └── empty
│ ├── favicon.ico
│ ├── img
│ │ ├── cake.icon.png
│ │ ├── cake.power.gif
│ │ ├── test-fail-icon.png
│ │ ├── test-pass-icon.png
│ │ ├── test-skip-icon.png
│ │ └── test-error-icon.png
│ └── .htaccess
├── Console
│ ├── Templates
│ │ └── empty
│ ├── Command
│ │ ├── Task
│ │ │ └── empty
│ │ └── AppShell.php
│ └── cake.bat
├── Model
│ ├── Behavior
│ │ └── empty
│ ├── Datasource
│ │ └── empty
│ └── AppModel.php
├── Controller
│ ├── Component
│ │ └── empty
│ └── AppController.php
├── Locale
│ └── eng
│ │ └── LC_MESSAGES
│ │ └── empty
├── .htaccess
├── Config
│ └── Schema
│ │ ├── sessions.sql
│ │ └── i18n.sql
└── index.php
├── plugins
└── empty
├── vendors
└── empty
├── lib
└── Cake
│ ├── Test
│ ├── test_app
│ │ ├── tmp
│ │ │ └── empty
│ │ ├── View
│ │ │ ├── Scaffolds
│ │ │ │ └── empty
│ │ │ ├── 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
│ │ │ │ ├── helper_overwrite.ctp
│ │ │ │ ├── open_block.ctp
│ │ │ │ ├── extend_with_element.ctp
│ │ │ │ ├── parent_2.ctp
│ │ │ │ ├── extend_element.ctp
│ │ │ │ ├── parent_1.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
│ │ │ │ ├── parent_element.ctp
│ │ │ │ ├── html_call.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
│ │ │ │ ├── ajax2.ctp
│ │ │ │ ├── json
│ │ │ │ │ └── default.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
│ │ │ │ │ ├── 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
│ │ │ │ │ ├── Emails
│ │ │ │ │ └── text
│ │ │ │ │ │ └── themed.ctp
│ │ │ │ │ └── Layouts
│ │ │ │ │ └── default.ctp
│ │ │ ├── Pages
│ │ │ │ ├── page.home.ctp
│ │ │ │ └── extract.ctp
│ │ │ ├── Helper
│ │ │ │ └── BananaHelper.php
│ │ │ └── Errors
│ │ │ │ ├── error500.ctp
│ │ │ │ └── error400.ctp
│ │ ├── Console
│ │ │ ├── Command
│ │ │ │ ├── Task
│ │ │ │ │ └── empty
│ │ │ │ └── SampleShell.php
│ │ │ └── Templates
│ │ │ │ └── test
│ │ │ │ ├── views
│ │ │ │ └── admin_edit.ctp
│ │ │ │ └── classes
│ │ │ │ └── test_object.ctp
│ │ ├── Controller
│ │ │ ├── Component
│ │ │ │ └── empty
│ │ │ ├── TestAppsErrorController.php
│ │ │ └── TestConfigsController.php
│ │ ├── Plugin
│ │ │ ├── TestPlugin
│ │ │ │ ├── Console
│ │ │ │ │ ├── Templates
│ │ │ │ │ │ └── empty
│ │ │ │ │ └── Command
│ │ │ │ │ │ ├── Task
│ │ │ │ │ │ └── OtherTaskTask.php
│ │ │ │ │ │ └── ExampleShell.php
│ │ │ │ ├── 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
│ │ │ │ │ └── Errors
│ │ │ │ │ │ └── error500.ctp
│ │ │ │ ├── webroot
│ │ │ │ │ ├── css
│ │ │ │ │ │ ├── theme_one.htc
│ │ │ │ │ │ ├── test_plugin_asset.css
│ │ │ │ │ │ └── unknown.extension
│ │ │ │ │ ├── js
│ │ │ │ │ │ └── test_plugin
│ │ │ │ │ │ │ └── test.js
│ │ │ │ │ ├── root.js
│ │ │ │ │ ├── flash
│ │ │ │ │ │ └── plugin_test.swf
│ │ │ │ │ ├── pdfs
│ │ │ │ │ │ └── plugin_test.pdf
│ │ │ │ │ └── img
│ │ │ │ │ │ └── cake.icon.gif
│ │ │ │ ├── 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
│ │ │ │ └── Controller
│ │ │ │ │ ├── Component
│ │ │ │ │ ├── OtherComponent.php
│ │ │ │ │ ├── TestPluginOtherComponent.php
│ │ │ │ │ ├── PluginsComponent.php
│ │ │ │ │ └── TestPluginComponent.php
│ │ │ │ │ └── TestPluginAppController.php
│ │ │ ├── TestPluginTwo
│ │ │ │ ├── Console
│ │ │ │ │ ├── Templates
│ │ │ │ │ │ └── empty
│ │ │ │ │ └── Command
│ │ │ │ │ │ ├── Task
│ │ │ │ │ │ └── empty
│ │ │ │ │ │ ├── ExampleShell.php
│ │ │ │ │ │ └── WelcomeShell.php
│ │ │ │ ├── Config
│ │ │ │ │ └── bootstrap.php
│ │ │ │ └── View
│ │ │ │ │ └── Layouts
│ │ │ │ │ └── Emails
│ │ │ │ │ └── text
│ │ │ │ │ └── default.ctp
│ │ │ └── PluginJs
│ │ │ │ ├── webroot
│ │ │ │ └── js
│ │ │ │ │ ├── plugin_js.js
│ │ │ │ │ └── one
│ │ │ │ │ └── plugin_one.js
│ │ │ │ └── Config
│ │ │ │ └── bootstrap.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
│ │ ├── 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
│ │ │ ├── rule_0_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
│ │ │ ├── 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
│ │ │ ├── eng
│ │ │ │ └── LC_MESSAGES
│ │ │ │ │ └── validation_messages.po
│ │ │ ├── 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
│ │ ├── 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
│ │ │ ├── Lib
│ │ │ └── empty
│ │ │ ├── Plugin
│ │ │ └── empty
│ │ │ ├── Vendor
│ │ │ └── empty
│ │ │ ├── tmp
│ │ │ ├── logs
│ │ │ │ └── empty
│ │ │ ├── tests
│ │ │ │ └── empty
│ │ │ ├── cache
│ │ │ │ ├── views
│ │ │ │ │ └── empty
│ │ │ │ ├── models
│ │ │ │ │ └── empty
│ │ │ │ └── persistent
│ │ │ │ │ └── empty
│ │ │ └── sessions
│ │ │ │ └── empty
│ │ │ ├── webroot
│ │ │ ├── js
│ │ │ │ └── empty
│ │ │ ├── files
│ │ │ │ └── empty
│ │ │ ├── favicon.ico
│ │ │ ├── img
│ │ │ │ ├── cake.icon.png
│ │ │ │ ├── cake.power.gif
│ │ │ │ ├── test-fail-icon.png
│ │ │ │ ├── test-pass-icon.png
│ │ │ │ ├── test-skip-icon.png
│ │ │ │ └── test-error-icon.png
│ │ │ └── .htaccess
│ │ │ ├── Model
│ │ │ ├── Behavior
│ │ │ │ └── empty
│ │ │ ├── Datasource
│ │ │ │ └── empty
│ │ │ └── AppModel.php
│ │ │ ├── Test
│ │ │ ├── Fixture
│ │ │ │ └── empty
│ │ │ └── Case
│ │ │ │ ├── Model
│ │ │ │ └── Behavior
│ │ │ │ │ └── empty
│ │ │ │ ├── View
│ │ │ │ └── Helper
│ │ │ │ │ └── empty
│ │ │ │ ├── Controller
│ │ │ │ └── Component
│ │ │ │ │ └── empty
│ │ │ │ └── AllTestsTest.php
│ │ │ ├── View
│ │ │ ├── Elements
│ │ │ │ └── empty
│ │ │ ├── Scaffolds
│ │ │ │ └── empty
│ │ │ ├── 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
│ │ │ ├── Console
│ │ │ ├── Command
│ │ │ │ ├── Task
│ │ │ │ │ └── empty
│ │ │ │ └── AppShell.php
│ │ │ ├── Templates
│ │ │ │ └── empty
│ │ │ └── cake.bat
│ │ │ ├── Controller
│ │ │ ├── Component
│ │ │ │ └── empty
│ │ │ └── AppController.php
│ │ │ ├── Locale
│ │ │ └── eng
│ │ │ │ └── LC_MESSAGES
│ │ │ │ └── empty
│ │ │ ├── .htaccess
│ │ │ ├── index.php
│ │ │ └── Config
│ │ │ └── Schema
│ │ │ ├── sessions.sql
│ │ │ └── i18n.sql
│ ├── Command
│ │ └── AppShell.php
│ └── cake.bat
│ ├── Config
│ └── config.php
│ ├── View
│ └── ThemeView.php
│ ├── VERSION.txt
│ ├── Model
│ ├── AcoAction.php
│ ├── Aro.php
│ ├── Aco.php
│ └── I18nModel.php
│ ├── TestSuite
│ └── templates
│ │ ├── missing_connection.php
│ │ └── xdebug.php
│ ├── Log
│ └── CakeLogInterface.php
│ └── Network
│ └── Http
│ └── HttpResponse.php
├── .htaccess
├── .editorconfig
├── .gitignore
├── composer.json
└── .gitattributes
/app/Lib/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/plugins/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/vendors/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Plugin/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Vendor/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/tmp/logs/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Test/Fixture/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/View/Elements/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/tmp/sessions/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/tmp/tests/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/webroot/files/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/webroot/js/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Console/Templates/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Model/Behavior/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Model/Datasource/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/View/Scaffolds/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/tmp/cache/models/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/tmp/cache/views/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Console/Command/Task/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Controller/Component/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Locale/eng/LC_MESSAGES/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Test/Case/View/Helper/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/tmp/cache/persistent/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/tmp/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Test/Case/Model/Behavior/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Test/Case/Controller/Component/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/Lib/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Scaffolds/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/Plugin/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/Vendor/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/tmp/logs/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/tmp/tests/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/webroot/js/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/Model/Behavior/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/Test/Fixture/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/View/Elements/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/View/Scaffolds/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/tmp/cache/views/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/tmp/sessions/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/webroot/files/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Console/Command/Task/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Controller/Component/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Posts/alt_ext.alt:
--------------------------------------------------------------------------------
1 | alt ext
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/Console/Command/Task/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/Console/Templates/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/Controller/Component/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/Model/Datasource/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/tmp/cache/models/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/tmp/cache/persistent/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Posts/index.ctp:
--------------------------------------------------------------------------------
1 | posts index
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/Locale/eng/LC_MESSAGES/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/Test/Case/Model/Behavior/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/Test/Case/View/Helper/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/Test/Case/Controller/Component/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/Console/Templates/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPluginTwo/Console/Templates/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPluginTwo/Console/Command/Task/empty:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/TestsApps/json/index.ctp:
--------------------------------------------------------------------------------
1 | {"cakephp":"cool"}
--------------------------------------------------------------------------------
/app/View/Layouts/xml/default.ctp:
--------------------------------------------------------------------------------
1 | fetch('content'); ?>
2 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Tests/index.ctp:
--------------------------------------------------------------------------------
1 | test plugin index
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/webroot/css/theme_one.htc:
--------------------------------------------------------------------------------
1 | htc file
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Elements/test_element.xml:
--------------------------------------------------------------------------------
1 |
test element
2 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Emails/text/default.ctp:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Config/empty.ini:
--------------------------------------------------------------------------------
1 | ; do nothing this is an empty file.
2 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/PluginJs/webroot/js/plugin_js.js:
--------------------------------------------------------------------------------
1 | alert('win sauce');
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Elements/type_check.ctp:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Layouts/ajax.ctp:
--------------------------------------------------------------------------------
1 | fetch('content'); ?>
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Themed/TestTheme/Posts/index.ctp:
--------------------------------------------------------------------------------
1 | posts index themed view
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Config/empty.php:
--------------------------------------------------------------------------------
1 | fetch('content'); ?>
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Layouts/json/default.ctp:
--------------------------------------------------------------------------------
1 | fetch('content'); ?>
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Emails/text/test_plugin_tpl.ctp:
--------------------------------------------------------------------------------
1 | Into TestPlugin.
2 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Elements/test_element.ctp:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Emails/text/custom.ctp:
--------------------------------------------------------------------------------
1 | Here is your value:
2 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Emails/text/japanese.ctp:
--------------------------------------------------------------------------------
1 | ここにあなたの設定した値が入ります:
2 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Themed/TestTheme/Elements/test_element.ctp:
--------------------------------------------------------------------------------
1 | Hi, I'm the test element.
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Themed/TestTheme/Posts/scaffold.index.ctp:
--------------------------------------------------------------------------------
1 | I'm a themed scaffold file.
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/js/one/theme_one.js:
--------------------------------------------------------------------------------
1 | // nested theme js file
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/space image.text:
--------------------------------------------------------------------------------
1 | This is not an image.
2 |
--------------------------------------------------------------------------------
/app/webroot/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/app/webroot/favicon.ico
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/View/Layouts/xml/default.ctp:
--------------------------------------------------------------------------------
1 | fetch('content'); ?>
2 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Config/htmlhelper_minimized.ini:
--------------------------------------------------------------------------------
1 | minimizedAttributeFormat = "format"
2 |
3 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/PluginJs/webroot/js/one/plugin_one.js:
--------------------------------------------------------------------------------
1 | alert('plugin one nested js file');
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Tests/scaffold.form.ctp:
--------------------------------------------------------------------------------
1 | test_plugin add/edit scaffold view
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Utility/TestAppEngine.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Posts/parent_view.ctp:
--------------------------------------------------------------------------------
1 | Parent View.
2 | fetch('content') ?>
3 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Themed/TestTheme/Plugin/TestPlugin/Tests/index.ctp:
--------------------------------------------------------------------------------
1 | test plugin index theme view
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/css/theme_webroot.css:
--------------------------------------------------------------------------------
1 | /* theme webroot css file */
2 |
--------------------------------------------------------------------------------
/app/webroot/img/cake.icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/app/webroot/img/cake.icon.png
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Emails/html/custom.ctp:
--------------------------------------------------------------------------------
1 | Here is your value:
2 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Emails/html/japanese.ctp:
--------------------------------------------------------------------------------
1 | ここにあなたの設定した値が入ります:
2 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/css/test_asset.css:
--------------------------------------------------------------------------------
1 | /* this is the test asset css file */
2 |
--------------------------------------------------------------------------------
/app/webroot/img/cake.power.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/app/webroot/img/cake.power.gif
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Elements/translate.ctp:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Elements/parent_element.ctp:
--------------------------------------------------------------------------------
1 | Parent Element.
2 | fetch('content'); ?>
3 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Emails/text/custom_helper.ctp:
--------------------------------------------------------------------------------
1 | Right now: Time->toAtom($time); ?>
2 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Layouts/banana.ctp:
--------------------------------------------------------------------------------
1 |
2 | Banana->peel();
4 | ?>
5 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Posts/extend_loop.ctp:
--------------------------------------------------------------------------------
1 | extend('extend_loop_inner'); ?>
2 | Outer element.
3 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/webroot/theme/test_theme/css/theme_webroot.css:
--------------------------------------------------------------------------------
1 | /* override the theme webroot css file */
2 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/webroot/theme/test_theme/css/webroot_test.css:
--------------------------------------------------------------------------------
1 | /* this is the webroot test asset css file */
2 |
--------------------------------------------------------------------------------
/app/webroot/img/test-fail-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/app/webroot/img/test-fail-icon.png
--------------------------------------------------------------------------------
/app/webroot/img/test-pass-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/app/webroot/img/test-pass-icon.png
--------------------------------------------------------------------------------
/app/webroot/img/test-skip-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/app/webroot/img/test-skip-icon.png
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/Vendor/Example/ExampleExample.php:
--------------------------------------------------------------------------------
1 | Html->link('Test', 'http://example.com');
3 | ?>
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Posts/extend_loop_inner.ctp:
--------------------------------------------------------------------------------
1 | extend('extend_loop'); ?>
2 | Inner loop element.
3 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Posts/extend_missing_element.ctp:
--------------------------------------------------------------------------------
1 | element('extended_missing_element'); ?>
2 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Posts/extend_self.ctp:
--------------------------------------------------------------------------------
1 | extend('extend_self'); ?>
2 | To infinifty and beyond.
3 |
--------------------------------------------------------------------------------
/app/webroot/img/test-error-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/app/webroot/img/test-error-icon.png
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/Utility/TestPluginEngine.php:
--------------------------------------------------------------------------------
1 | extend('parent_element'); ?>
2 | Element content.
3 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Posts/cache_empty_sections.ctp:
--------------------------------------------------------------------------------
1 | View Content
2 |
3 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Posts/helper_overwrite.ctp:
--------------------------------------------------------------------------------
1 | Html->link('Test link', '#');
4 | ?>
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Posts/open_block.ctp:
--------------------------------------------------------------------------------
1 | start('no_close');
3 | echo 'This block has no close :(';
4 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Themed/TestTheme/Emails/text/themed.ctp:
--------------------------------------------------------------------------------
1 | In TestTheme
2 | Html->image('test.jpg') ?>
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Themed/TestTheme/Plugin/TestPlugin/Emails/text/test_plugin_tpl.ctp:
--------------------------------------------------------------------------------
1 | Into TestPlugin. (themed)
2 |
--------------------------------------------------------------------------------
/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.
--------------------------------------------------------------------------------
/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.
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/TestsApps/index.ctp:
--------------------------------------------------------------------------------
1 | This is the TestsAppsController index view
2 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Themed/TestTheme/Plugin/TestPlugin/Layouts/plugin_default.ctp:
--------------------------------------------------------------------------------
1 | test_plugin test_plugin_theme default layout
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Elements/plugin_element.ctp:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Elements/sub_dir/sub_element.ctp:
--------------------------------------------------------------------------------
1 | Content from TestPlugin.Elements/sub_dir/sub_element
2 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Vendor/img/test.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Vendor/img/test.jpg
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Themed/TestTheme/Layouts/default.ctp:
--------------------------------------------------------------------------------
1 | default test_theme layout
2 | fetch('content') ?>
3 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/Database/TestDriver.php:
--------------------------------------------------------------------------------
1 | extend('noneexistent_parent_element'); ?>
2 | Element content.
3 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Emails/html/nested_element.ctp:
--------------------------------------------------------------------------------
1 | Before the element.
2 | element('html_call'); ?>
3 | After the element.
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Elements/test_plugin_element.ctp:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/webroot/img/cake.power.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/webroot/img/cake.power.gif
--------------------------------------------------------------------------------
/app/View/Layouts/js/default.ctp:
--------------------------------------------------------------------------------
1 | fetch('script'); ?>
2 |
3 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/webroot/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Console/Templates/skel/webroot/favicon.ico
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/PluginJs/Config/bootstrap.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Posts/extend_with_element.ctp:
--------------------------------------------------------------------------------
1 | element('test_element'); ?>
2 | extend('parent_view'); ?>
3 | The view
4 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Posts/parent_2.ctp:
--------------------------------------------------------------------------------
1 | This is the second parent.
2 | fetch('content'); ?>
3 | fetch('sidebar'); ?>
4 |
--------------------------------------------------------------------------------
/.htaccess:
--------------------------------------------------------------------------------
1 |
2 | RewriteEngine on
3 | RewriteRule ^$ app/webroot/ [L]
4 | RewriteRule (.*) app/webroot/$1 [L]
5 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/webroot/img/cake.icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Console/Templates/skel/webroot/img/cake.icon.png
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPluginTwo/Config/bootstrap.php:
--------------------------------------------------------------------------------
1 | fetch('content'); ?>
3 |
4 | CakePHP Framework を使って送信したメールです。 http://cakephp.org.
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Layouts/js/default.ctp:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Posts/extend_element.ctp:
--------------------------------------------------------------------------------
1 | extend('parent_view'); ?>
2 | View content.
3 | element('extended_element'); ?>
4 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/app/.htaccess:
--------------------------------------------------------------------------------
1 |
2 | RewriteEngine on
3 | RewriteRule ^$ webroot/ [L]
4 | RewriteRule (.*) webroot/$1 [L]
5 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/webroot/img/cake.power.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Console/Templates/skel/webroot/img/cake.power.gif
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_0_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_0_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_1_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_1_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_2_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_2_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_3_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_3_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_4_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_4_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_5_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_5_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_6_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_6_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_7_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_7_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_8_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_8_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_9_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_9_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/webroot/img/test-fail-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Console/Templates/skel/webroot/img/test-fail-icon.png
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/webroot/img/test-pass-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Console/Templates/skel/webroot/img/test-pass-icon.png
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/webroot/img/test-skip-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Console/Templates/skel/webroot/img/test-skip-icon.png
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_0_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_0_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_10_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_10_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_11_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_11_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_12_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_12_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_13_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_13_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_14_mo/LC_MESSAGES/core.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_14_mo/LC_MESSAGES/core.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_1_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_1_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_2_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_2_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_3_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_3_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_4_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_4_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_5_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_5_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_6_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_6_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_7_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_7_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_8_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_8_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_9_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_9_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPluginTwo/View/Layouts/Emails/text/default.ctp:
--------------------------------------------------------------------------------
1 |
2 | fetch('content'); ?>
3 |
4 | This email was sent using TestPluginTwo.
5 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/webroot/theme/test_theme/img/test.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/webroot/theme/test_theme/img/test.jpg
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/View/Layouts/js/default.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/webroot/img/test-error-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Console/Templates/skel/webroot/img/test-error-icon.png
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_10_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_10_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_11_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_11_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_12_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_12_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_13_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_13_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_14_mo/LC_MESSAGES/default.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/Locale/rule_14_mo/LC_MESSAGES/default.mo
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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.
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Themed/TestTheme/Posts/themed.ctp:
--------------------------------------------------------------------------------
1 | posts themed themed file.
2 |
3 | element('test_element'); ?>
4 |
5 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Routing/Route/TestRoute.php:
--------------------------------------------------------------------------------
1 | '; ?>
2 | fetch('content'); ?>
3 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/img/test.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/img/test.jpg
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/webroot/theme/test_theme/img/cake.power.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/webroot/theme/test_theme/img/cake.power.gif
--------------------------------------------------------------------------------
/lib/Cake/Test/Fixture/sample.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | defect
5 |
6 |
7 | enhancement
8 |
9 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Emails/html/default.ctp:
--------------------------------------------------------------------------------
1 | ' . $line . '';
6 | endforeach;
7 | ?>
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/.htaccess:
--------------------------------------------------------------------------------
1 |
2 | RewriteEngine on
3 | RewriteRule ^$ webroot/ [L]
4 | RewriteRule (.*) webroot/$1 [L]
5 |
--------------------------------------------------------------------------------
/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"
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/img/cake.power.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/cakephp/master/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/img/cake.power.gif
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Model/Datasource/Database/TestLocalDriver.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Elements/nocache/sub2.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/webroot/.htaccess:
--------------------------------------------------------------------------------
1 |
2 | RewriteEngine On
3 | RewriteCond %{REQUEST_FILENAME} !-d
4 | RewriteCond %{REQUEST_FILENAME} !-f
5 | RewriteRule ^ index.php [L]
6 |
7 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Config/htmlhelper_tags.php:
--------------------------------------------------------------------------------
1 | array(
5 | 'form' => 'start form',
6 | 'formend' => 'finish form',
7 | 'hiddenblock' => '%s
'
8 | )
9 | );
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Helper/BananaHelper.php:
--------------------------------------------------------------------------------
1 | peeled';
9 | }
10 |
11 | }
12 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Posts/nocache_multiple_element.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | element('nocache/sub1'); ?>
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Config/no_php_extension:
--------------------------------------------------------------------------------
1 | array(
5 | 'Third' => array(
6 | 'ThirdDeepest' => 'buried3'
7 | )
8 | )
9 | );
10 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Elements/nocache/sub1.ctp:
--------------------------------------------------------------------------------
1 | element('nocache/sub2'); ?>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/index.php:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/Database/DboDummy.php:
--------------------------------------------------------------------------------
1 |
8 | fetch('content'); ?>
9 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/bake_compare/Controller/Scaffold.ctp:
--------------------------------------------------------------------------------
1 | array(
9 | 'some' => 'config'
10 | )
11 | );
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/app/View/Layouts/rss/default.ctp:
--------------------------------------------------------------------------------
1 | fetch('title');
7 | endif;
8 |
9 | echo $this->Rss->document(
10 | $this->Rss->channel(
11 | array(), $channel, $this->fetch('content')
12 | )
13 | );
14 | ?>
15 |
--------------------------------------------------------------------------------
/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.
--------------------------------------------------------------------------------
/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--
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/View/Layouts/rss/default.ctp:
--------------------------------------------------------------------------------
1 | fetch('title');
7 | endif;
8 |
9 | echo $this->Rss->document(
10 | $this->Rss->channel(
11 | array(), $channel, $this->fetch('content')
12 | )
13 | );
14 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Layouts/Emails/html/thin.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | fetch('title'); ?>
6 |
7 |
8 |
9 | fetch('content'); ?>
10 |
11 | This email was sent using the CakePHP Framework
12 |
13 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Layouts/Emails/html/japanese.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | fetch('title'); ?>
6 |
7 |
8 |
9 | fetch('content'); ?>
10 |
11 | このメールは CakePHP Framework を利用して送信しました。
12 |
13 |
--------------------------------------------------------------------------------
/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'] = $this->fetch('title');
9 | }
10 |
11 | echo $this->Rss->document(
12 | $this->Rss->channel(
13 | array(), $channel, $this->fetch('content')
14 | )
15 | );
16 |
17 | ?>
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Layouts/Emails/html/default.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | fetch('title'); ?>
6 |
7 |
8 |
9 | fetch('content'); ?>
10 |
11 | This email was sent using the CakePHP Framework
12 |
13 |
--------------------------------------------------------------------------------
/lib/Cake/Test/Fixture/soap_request.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 | IBM
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/.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 |
15 | [*.yml]
16 | indent_style = space
17 | indent_size = 2
18 |
--------------------------------------------------------------------------------
/lib/Cake/Test/Fixture/soap_response.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 | 34.5
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Errors/error500.ctp:
--------------------------------------------------------------------------------
1 | test plugin error500
2 |
3 |
4 | :
5 |
6 |
7 | 0):
9 | echo $this->element('exception_stack_trace');
10 | endif;
11 | ?>
12 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Posts/cache_form.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 | Form->create('User'); ?>
4 |
12 | Form->end('Submit'); ?>
13 |
14 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/View/Layouts/cache_empty_sections.ctp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | fetch('title'); ?>
5 |
6 |
7 |
8 |
9 |
10 | fetch('content'); ?>
11 |
12 |
13 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/Console/Command/AppShell.php:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 | :
11 |
12 |
13 | 0):
15 | echo $this->element('exception_stack_trace');
16 | endif;
17 | ?>
18 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # User specific & automatically generated files #
2 | #################################################
3 | /app/Config/database.php
4 | /app/tmp
5 | /lib/Cake/Console/Templates/skel/tmp/
6 | /plugins
7 | /vendors
8 | /build
9 | /dist
10 | /tags
11 | *.mo
12 |
13 | # IDE and editor specific files #
14 | #################################
15 | /nbproject
16 | .idea
17 |
18 | # OS generated files #
19 | ######################
20 | .DS_Store
21 | .DS_Store?
22 | ._*
23 | .Spotlight-V100
24 | .Trashes
25 | Icon?
26 | ehthumbs.db
27 | Thumbs.db
28 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/View/Layouts/Emails/html/default.ctp:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 | fetch('title'); ?>
12 |
13 |
14 | fetch('content'); ?>
15 |
16 | This email was sent using the CakePHP Framework
17 |
18 |
--------------------------------------------------------------------------------
/lib/Cake/Test/bake_compare/Controller/NoActions.ctp:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 | :
11 | '{$url}'"
14 | ); ?>
15 |
16 | 0):
18 | echo $this->element('exception_stack_trace');
19 | endif;
20 | ?>
21 |
--------------------------------------------------------------------------------
/app/Config/Schema/sessions.sql:
--------------------------------------------------------------------------------
1 | # $Id$
2 | #
3 | # Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
4 | # 1785 E. Sahara Avenue, Suite 490-204
5 | # Las Vegas, Nevada 89104
6 | #
7 | # Licensed under The MIT License
8 | # For full copyright and license information, please see the LICENSE.txt
9 | # Redistributions of files must retain the above copyright notice.
10 | # MIT License (http://www.opensource.org/licenses/mit-license.php)
11 |
12 | CREATE TABLE cake_sessions (
13 | id varchar(255) NOT NULL default '',
14 | data text,
15 | expires int(11) default NULL,
16 | PRIMARY KEY (id)
17 | );
--------------------------------------------------------------------------------
/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 |
20 |
--------------------------------------------------------------------------------
/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 | );
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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)"
--------------------------------------------------------------------------------
/app/index.php:
--------------------------------------------------------------------------------
1 |
17 |
18 |
--------------------------------------------------------------------------------
/app/View/Layouts/ajax.ctp:
--------------------------------------------------------------------------------
1 |
17 | fetch('content'); ?>
18 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/Controller/AppController.php:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/View/Layouts/flash.ctp:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 | Html->charset(); ?>
12 |
13 |
14 |
15 |
16 |
17 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Model/Datasource/Test2Source.php:
--------------------------------------------------------------------------------
1 | =5.2.8",
22 | "ext-mcrypt": "*"
23 | },
24 | "require-dev": {
25 | "phpunit/phpunit": "3.7.*",
26 | "cakephp/debug_kit" : "2.2.*"
27 | },
28 | "bin": [
29 | "lib/Cake/Console/cake"
30 | ]
31 | }
32 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_0_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=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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 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 |
--------------------------------------------------------------------------------
/app/View/Layouts/Emails/text/default.ctp:
--------------------------------------------------------------------------------
1 |
17 | fetch('content'); ?>
18 |
19 | This email was sent using the CakePHP Framework, http://cakephp.org.
20 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_1_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 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 |
--------------------------------------------------------------------------------
/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
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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
--------------------------------------------------------------------------------
/app/View/Emails/html/default.ctp:
--------------------------------------------------------------------------------
1 |
17 | ' . $line . "\n";
22 | endforeach;
23 | ?>
24 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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
--------------------------------------------------------------------------------
/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
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/View/Layouts/Emails/text/default.ctp:
--------------------------------------------------------------------------------
1 |
17 | fetch('content'); ?>
18 |
19 | This email was sent using the CakePHP Framework, http://cakephp.org.
20 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/View/Emails/html/default.ctp:
--------------------------------------------------------------------------------
1 |
17 | ' . $line . "\n";
22 | endforeach;
23 | ?>
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Define the line ending behavior of the different file extensions
2 | # Set default behaviour, in case users don't have core.autocrlf set.
3 | * text=auto
4 | * text eol=lf
5 |
6 | # Explicitly declare text files we want to always be normalized and converted
7 | # to native line endings on checkout.
8 | *.php text
9 | *.default text
10 | *.ctp text
11 | *.sql text
12 | *.md text
13 | *.po text
14 | *.js text
15 | *.css text
16 | *.ini text
17 | *.properties text
18 | *.txt text
19 | *.xml text
20 | *.yml text
21 | .htaccess text
22 |
23 | # Declare files that will always have CRLF line endings on checkout.
24 | *.bat eol=crlf
25 |
26 | # Declare files that will always have LF line endings on checkout.
27 | *.pem eol=lf
28 |
29 | # Denote all files that are truly binary and should not be modified.
30 | *.png binary
31 | *.jpg binary
32 | *.gif binary
33 | *.ico binary
34 | *.mo binary
35 | *.pdf binary
36 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/TestSource.php:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Config/routes.php:
--------------------------------------------------------------------------------
1 | 'tests_apps', 'action' => 'some_method'));
23 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/app/Console/Command/AppShell.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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_9_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%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 |
--------------------------------------------------------------------------------
/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"
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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 | );
--------------------------------------------------------------------------------
/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 "%-5d = 1"
24 | msgid_plural "%-5d = 0 or > 1"
25 | msgstr[0] "%-5d = 1 (translated)"
26 | msgstr[1] "%-5d = 0 or > 1 (translated)"
27 |
28 | #~ msgid "Plural-Forms 1"
29 | #~ msgstr "Plural-Forms 1 (translated)"
30 |
31 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/app/View/Errors/error500.ctp:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 | :
20 |
21 |
22 | 0):
24 | echo $this->element('exception_stack_trace');
25 | endif;
26 | ?>
27 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/View/ThemeView.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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/app/View/Layouts/Emails/html/default.ctp:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 | fetch('title'); ?>
21 |
22 |
23 | fetch('content'); ?>
24 |
25 | This email was sent using the CakePHP Framework
26 |
27 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 | }
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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.5.5
21 |
--------------------------------------------------------------------------------
/app/View/Errors/error400.ctp:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 | :
20 | '{$url}'"
23 | ); ?>
24 |
25 | 0):
27 | echo $this->element('exception_stack_trace');
28 | endif;
29 | ?>
30 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Console/Templates/skel/Test/Case/AllTestsTest.php:
--------------------------------------------------------------------------------
1 | addTestDirectoryRecursive(TESTS . 'Case');
29 | return $suite;
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Model/AcoAction.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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Locale/rule_13_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==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 | msgid "%+5d = 1 (from core)"
26 | msgid_plural "%+5d = 0 or > 1 (from core)"
27 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Model/PersisterTwo.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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/app/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 | :: @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 |
--------------------------------------------------------------------------------
/app/Model/AppModel.php:
--------------------------------------------------------------------------------
1 | array('with' => 'Permission'));
39 | }
40 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 | fetch('title'); ?>
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 |
--------------------------------------------------------------------------------
/lib/Cake/Model/Aco.php:
--------------------------------------------------------------------------------
1 | array('with' => 'Permission'));
39 | }
40 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Log/Engine/TestPluginLog.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 |
--------------------------------------------------------------------------------
/lib/Cake/TestSuite/templates/xdebug.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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Routing/Filter/TestDispatcherFilter.php:
--------------------------------------------------------------------------------
1 | data['request']->params['altered'] = true;
28 | }
29 |
30 | public function afterDispatch(CakeEvent $event) {
31 | $event->data['response']->statusCode(304);
32 | }
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Model/AppModel.php:
--------------------------------------------------------------------------------
1 | addTestDirectory(CORE_TEST_CASES . DS . 'Core');
37 | return $suite;
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/lib/Cake/Test/Case/AllEventTest.php:
--------------------------------------------------------------------------------
1 | addTestDirectory(CORE_TEST_CASES . DS . 'Event');
36 | return $suite;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/lib/Cake/Test/test_app/Plugin/TestPluginTwo/Console/Command/ExampleShell.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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/Case/AllViewTest.php:
--------------------------------------------------------------------------------
1 | addTestDirectory(CORE_TEST_CASES . DS . 'View');
37 | return $suite;
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/app/Controller/AppController.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 |
--------------------------------------------------------------------------------
/lib/Cake/Test/Case/AllConfigureTest.php:
--------------------------------------------------------------------------------
1 | addTestDirectory(CORE_TEST_CASES . DS . 'Configure');
37 | return $suite;
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/lib/Cake/Test/Case/AllI18nTest.php:
--------------------------------------------------------------------------------
1 | addTestDirectory(CORE_TEST_CASES . DS . 'I18n');
37 | return $suite;
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/lib/Cake/Test/Case/AllUtilityTest.php:
--------------------------------------------------------------------------------
1 | addTestDirectory(CORE_TEST_CASES . DS . 'Utility');
36 | return $suite;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/lib/Cake/Test/Case/AllTestSuiteTest.php:
--------------------------------------------------------------------------------
1 | addTestDirectory(CORE_TEST_CASES . DS . 'TestSuite');
37 | return $suite;
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/lib/Cake/Test/Case/AllErrorTest.php:
--------------------------------------------------------------------------------
1 | addTestDirectory($libs . 'Error');
39 | return $suite;
40 | }
41 | }
42 |
--------------------------------------------------------------------------------