Initial commit

This commit is contained in:
mareksebera 2014-09-10 20:20:58 +02:00
commit 3b93da31de
1004 changed files with 265840 additions and 0 deletions

View file

@ -0,0 +1 @@
<?php echo 'this is the plugin element using params[plugin]'; ?>

View file

@ -0,0 +1 @@
Content from TestPlugin.Elements/sub_dir/sub_element

View file

@ -0,0 +1 @@
<?php echo 'this is the test set using View::$plugin plugin element'; ?>

View file

@ -0,0 +1 @@
<?php echo __('This is a translatable string'); ?>

View file

@ -0,0 +1 @@
Into TestPlugin.

View file

@ -0,0 +1,11 @@
test plugin error500
<h2><?php echo $message; ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'An Internal Error Has Occurred.'); ?>
</p>
<?php
if (Configure::read('debug') > 0):
echo $this->element('exception_stack_trace');
endif;
?>

View file

@ -0,0 +1,27 @@
<?php
/**
* Short description for file.
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice
*
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.TestApp.Plugin.TestPlugin.View.Helper
* @since CakePHP(tm) v 1.2.0.4206
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
App::uses('AppHelper', 'View/Helper');
/**
* Class OtherHelperHelper
*
* @package Cake.Test.TestApp.Plugin.TestPlugin.View.Helper
*/
class OtherHelperHelper extends AppHelper {
}

View file

@ -0,0 +1,27 @@
<?php
/**
* Short description for file.
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice
*
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.TestApp.Plugin.TestPlugin.View.Helper
* @since CakePHP(tm) v 1.2.0.4206
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
/**
* Class PluggedHelperHelper
*
* @package Cake.Test.TestApp.Plugin.TestPlugin.View.Helper
*/
class PluggedHelperHelper extends AppHelper {
public $helpers = array('TestPlugin.OtherHelper');
}

View file

@ -0,0 +1,4 @@
<?php
class TestPluginAppHelper extends AppHelper {
}

View file

@ -0,0 +1,4 @@
<?php echo $this->fetch('content'); ?>
This email was sent using the TestPlugin.

View file

@ -0,0 +1 @@
test plugin default layout

View file

@ -0,0 +1 @@
test plugin index

View file

@ -0,0 +1 @@
test_plugin add/edit scaffold view