2005-12-27 03:33:44 +00:00
|
|
|
<?php
|
|
|
|
/* SVN FILE: $Id$ */
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* PHP versions 4 and 5
|
|
|
|
*
|
|
|
|
* CakePHP : Rapid Development Framework <http://www.cakephp.org/>
|
|
|
|
* Copyright (c) 2005, 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 (c) 2005, Cake Software Foundation, Inc.
|
|
|
|
* @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project
|
|
|
|
* @package cake
|
|
|
|
* @subpackage cake.cake.libs.view.templates.errors
|
|
|
|
* @since CakePHP v 0.10.0.1076
|
|
|
|
* @version $Revision$
|
|
|
|
* @modifiedby $LastChangedBy$
|
|
|
|
* @lastmodified $Date$
|
|
|
|
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
<h1>Missing Helper File</h1>
|
|
|
|
|
2006-01-13 23:53:23 +00:00
|
|
|
<p class="error">You are seeing this error because the view helper file <em><?php echo "app".DS."views".DS."helpers".DS.$file; ?></em>
|
2005-12-27 03:33:44 +00:00
|
|
|
can't be found or doesn't exist
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<span class="notice"><strong>Notice:</strong> this error is being rendered by the <code>app/views/errors/missing_helper_file.thtml</code>
|
|
|
|
view file, a user-customizable error page for handling non-existent view helper files.</span>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<strong>Fatal</strong>: Create the Class:
|
|
|
|
</p>
|
|
|
|
<p>
|
2006-01-13 23:53:23 +00:00
|
|
|
<p><?php<br />
|
|
|
|
class <?php echo $helperClass;?> extends Helper<br />
|
|
|
|
{<br />
|
|
|
|
// Your helper functions heree<br />
|
|
|
|
function <em>myHelperFunction</em> ()<br />
|
|
|
|
{<br />
|
|
|
|
}<br />
|
|
|
|
}<br />
|
|
|
|
?><br />
|
2005-12-27 03:33:44 +00:00
|
|
|
</p>
|
2006-01-13 23:53:23 +00:00
|
|
|
in file : <?php echo "app".DS."views".DS."helpers".DS.$file; ?>
|
2006-01-13 05:56:04 +00:00
|
|
|
</p>
|