pictcode / lib / Cake / View / Errors / missing_action.ctp @ master
履歴 | 表示 | アノテート | ダウンロード (1.654 KB)
| 1 | 635eef61 | spyder1211 | <?php |
|---|---|---|---|
| 2 | /** |
||
| 3 | * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) |
||
| 4 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) |
||
| 5 | * |
||
| 6 | * Licensed under The MIT License |
||
| 7 | * For full copyright and license information, please see the LICENSE.txt |
||
| 8 | * Redistributions of files must retain the above copyright notice. |
||
| 9 | * |
||
| 10 | * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) |
||
| 11 | * @link http://cakephp.org CakePHP(tm) Project |
||
| 12 | * @package Cake.View.Errors |
||
| 13 | * @since CakePHP(tm) v 0.10.0.1076 |
||
| 14 | * @license http://www.opensource.org/licenses/mit-license.php MIT License |
||
| 15 | */ |
||
| 16 | |||
| 17 | ?> |
||
| 18 | <h2><?php echo __d('cake_dev', 'Missing Method in %s', h($controller)); ?></h2> <p class="error">
|
||
| 19 | <strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
|
||
| 20 | <?php echo __d('cake_dev', 'The action %1$s is not defined in controller %2$s', '<em>' . h($action) . '</em>', '<em>' . h($controller) . '</em>'); ?>
|
||
| 21 | </p> |
||
| 22 | <p class="error"> |
||
| 23 | <strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
|
||
| 24 | <?php echo __d('cake_dev', 'Create %1$s%2$s in file: %3$s.', '<em>' . h($controller) . '::</em>', '<em>' . h($action) . '()</em>', APP_DIR . DS . 'Controller' . DS . h($controller) . '.php'); ?>
|
||
| 25 | </p> |
||
| 26 | <pre> |
||
| 27 | <?php |
||
| 28 | class <?php echo h($controller); ?> extends AppController {
|
||
| 29 | |||
| 30 | <strong> |
||
| 31 | public function <?php echo h($action); ?>() {
|
||
| 32 | |||
| 33 | } |
||
| 34 | </strong> |
||
| 35 | } |
||
| 36 | </pre> |
||
| 37 | <p class="notice"> |
||
| 38 | <strong><?php echo __d('cake_dev', 'Notice'); ?>: </strong>
|
||
| 39 | <?php echo __d('cake_dev', 'If you want to customize this error message, create %s', APP_DIR . DS . 'View' . DS . 'Errors' . DS . 'missing_action.ctp'); ?>
|
||
| 40 | </p> |
||
| 41 | <?php |
||
| 42 | echo $this->element('exception_stack_trace');
|
||
| 43 | ?> |