mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Adding @package tags.
Moving MissingModelException with the other exceptions.
This commit is contained in:
parent
ad80609841
commit
5f47de7658
3 changed files with 12 additions and 3 deletions
|
@ -13,7 +13,6 @@
|
|||
* @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
||||
* @link http://cakephp.org CakePHP(tm) Project
|
||||
* @package cake
|
||||
* @subpackage cake.cake.libs
|
||||
* @since CakePHP(tm) v 2.0
|
||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
|
@ -27,6 +26,7 @@ App::import('Core', 'Set');
|
|||
*
|
||||
* `$request['controller']` or `$request->controller`.
|
||||
*
|
||||
* @package cake.libs
|
||||
*/
|
||||
class CakeRequest implements ArrayAccess {
|
||||
/**
|
||||
|
|
|
@ -1220,5 +1220,3 @@ class Controller extends Object {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
class MissingModelException extends RuntimeException {}
|
||||
|
|
|
@ -301,6 +301,8 @@ class MissingHelperClassException extends CakeException {
|
|||
|
||||
/**
|
||||
* Runtime Exceptions for ConnectionManager
|
||||
*
|
||||
* @package cake.libs
|
||||
*/
|
||||
class MissingDatabaseException extends CakeException {
|
||||
protected $_messageTemplate = 'Database connection "%s" could not be found.';
|
||||
|
@ -368,3 +370,12 @@ class MissingShellFileException extends CakeException {
|
|||
class MissingTableException extends CakeException {
|
||||
protected $_messageTemplate = 'Database table %s for model %s was not found.';
|
||||
}
|
||||
|
||||
/**
|
||||
* Exception Raised when a Model could not be found.
|
||||
*
|
||||
* @package cake.libs
|
||||
*/
|
||||
class MissingModelException extends CakeException {
|
||||
protected $_messageTemplate = 'Model %s could not be found.';
|
||||
}
|
Loading…
Add table
Reference in a new issue