2009-08-26 10:02:55 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
*
|
2010-10-03 12:38:58 -04:00
|
|
|
* PHP 5
|
2009-08-26 10:02:55 -04:00
|
|
|
*
|
2009-11-06 17:46:59 +11:00
|
|
|
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
2010-10-25 07:58:22 +11:00
|
|
|
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2009-08-26 10:02:55 -04:00
|
|
|
*
|
|
|
|
* Licensed under The MIT License
|
|
|
|
* Redistributions of files must retain the above copyright notice.
|
|
|
|
*
|
2010-10-25 07:58:22 +11:00
|
|
|
* @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2009-11-06 17:00:11 +11:00
|
|
|
* @link http://cakephp.org CakePHP(tm) Project
|
2010-12-24 13:57:20 -05:00
|
|
|
* @package cake.libs.view.templates.errors
|
2009-08-26 10:02:55 -04:00
|
|
|
* @since CakePHP(tm) v 1.3
|
2009-11-06 17:51:51 +11:00
|
|
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
2009-08-26 10:02:55 -04:00
|
|
|
*/
|
|
|
|
?>
|
2010-05-29 00:20:16 -04:00
|
|
|
<h2><?php echo __('Missing Behavior Class'); ?></h2>
|
2009-08-26 10:02:55 -04:00
|
|
|
<p class="error">
|
2010-04-16 02:20:15 +10:00
|
|
|
<strong><?php echo __('Error'); ?>: </strong>
|
2010-12-04 23:37:13 -02:00
|
|
|
<?php echo __('The behavior class <em>%s</em> can not be found or does not exist.', $class); ?>
|
2009-08-26 10:02:55 -04:00
|
|
|
</p>
|
|
|
|
<p class="error">
|
2010-04-16 02:20:15 +10:00
|
|
|
<strong><?php echo __('Error'); ?>: </strong>
|
2010-12-04 23:37:13 -02:00
|
|
|
<?php echo __('Create the class below in file: %s', APP_DIR . DS . 'models' . DS . 'behaviors' . DS . $file); ?>
|
2009-08-26 10:02:55 -04:00
|
|
|
</p>
|
|
|
|
<pre>
|
|
|
|
<?php
|
2010-08-29 21:37:25 -04:00
|
|
|
class <?php echo $class;?> extends ModelBehavior {
|
2009-08-26 10:02:55 -04:00
|
|
|
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</pre>
|
|
|
|
<p class="notice">
|
2010-04-16 02:20:15 +10:00
|
|
|
<strong><?php echo __('Notice'); ?>: </strong>
|
2010-12-04 23:37:13 -02:00
|
|
|
<?php echo __('If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_behavior_class.ctp'); ?>
|
2010-09-06 17:54:48 -04:00
|
|
|
</p>
|
|
|
|
|
2010-10-31 21:56:59 -04:00
|
|
|
<?php echo $this->element('exception_stack_trace'); ?>
|