Added the debug toolkit plugin, found on the bakery website.

git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605/site@92 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-06-10 21:12:59 +00:00
parent ce735cad3f
commit 4a53ebd70b
41 changed files with 4502 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
<?php
/* SVN FILE: $Id$ */
/**
* Request Panel Element
*
*
*
* PHP versions 4 and 5
*
* CakePHP : Rapid Development Framework <http://www.cakephp.org/>
* Copyright 2006-2008, Cake Software Foundation, Inc.
* 1785 E. Sahara Avenue, Suite 490-204
* Las Vegas, Nevada 89104
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @filesource
* @copyright Copyright 2006-2008, Cake Software Foundation, Inc.
* @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project
* @package cake
* @subpackage cake.debug_kit.views.elements
* @since
* @version $Revision$
* @modifiedby $LastChangedBy$
* @lastmodified $Date$
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
?>
<h2> <?php __('Request'); ?></h2>
<h4>Cake Params</h4>
<?php echo $toolbar->makeNeatArray($content['params']); ?>
<h4>$_GET</h4>
<?php echo $toolbar->makeNeatArray($content['get']); ?>
<h4>Cookie</h4>
<?php if (isset($content['cookie'])): ?>
<?php echo $toolbar->makeNeatArray($content['cookie']); ?>
<?php else: ?>
<p class="warning">To view Cookies, add CookieComponent to Controller
<?php endif; ?>
<h4><?php __('Current Route') ?></h4>
<?php echo $toolbar->makeNeatArray($content['currentRoute']); ?>