ErrorHandler Class Reference

Public Member Functions | |
| _webroot () | |
| error ($params) | |
| error404 ($params) | |
| missingAction ($params) | |
| missingComponentClass ($params) | |
| missingComponentFile ($params) | |
| missingConnection ($params) | |
| missingController ($params) | |
| missingDatabase ($params=array()) | |
| missingHelperClass ($params) | |
| missingHelperFile ($params) | |
| missingLayout ($params) | |
| missingModel ($params) | |
| missingTable ($params) | |
| missingView ($params) | |
| privateAction ($params) | |
Public Attributes | |
| $controller = null | |
Detailed Description
Definition at line 38 of file error.php.
Member Function Documentation
| ErrorHandler::_webroot | ( | ) |
Path to the web root.
- Returns:
- string full web root path
Definition at line 342 of file error.php.
Referenced by error(), missingComponentClass(), missingComponentFile(), missingConnection(), missingDatabase(), missingHelperClass(), missingHelperFile(), missingLayout(), missingModel(), missingTable(), and missingView().
| ErrorHandler::error | ( | $ | params | ) |
Displays an error page (e.g. 404 Not found).
- Parameters:
-
array $params
Definition at line 95 of file error.php.
References _webroot(), and error404().
Referenced by error404().
| ErrorHandler::error404 | ( | $ | params | ) |
| ErrorHandler::missingAction | ( | $ | params | ) |
| ErrorHandler::missingComponentClass | ( | $ | params | ) |
Renders the Missing Component class web page.
- Parameters:
-
array $params
Definition at line 310 of file error.php.
References $file, and _webroot().
| ErrorHandler::missingComponentFile | ( | $ | params | ) |
Renders the Missing Component file web page.
- Parameters:
-
array $params
Definition at line 293 of file error.php.
References $file, and _webroot().
| ErrorHandler::missingConnection | ( | $ | params | ) |
Renders the Database Connection web page.
- Parameters:
-
array $params
Definition at line 247 of file error.php.
References _webroot().
| ErrorHandler::missingController | ( | $ | params | ) |
| ErrorHandler::missingDatabase | ( | $ | params = array() |
) |
Renders the Missing Database web page.
- Parameters:
-
array $params
Definition at line 201 of file error.php.
References _webroot().
| ErrorHandler::missingHelperClass | ( | $ | params | ) |
Renders the Missing Helper class web page.
- Parameters:
-
array $params
Definition at line 277 of file error.php.
References $file, _webroot(), and Inflector::camelize().
| ErrorHandler::missingHelperFile | ( | $ | params | ) |
Renders the Missing Helper file web page.
- Parameters:
-
array $params
Definition at line 261 of file error.php.
References $file, _webroot(), and Inflector::camelize().
| ErrorHandler::missingLayout | ( | $ | params | ) |
Renders the Missing Layout web page.
- Parameters:
-
array $params
Definition at line 231 of file error.php.
References $file, and _webroot().
| ErrorHandler::missingModel | ( | $ | params | ) |
Renders the Missing Model class web page.
- Parameters:
-
unknown_type $params
Definition at line 327 of file error.php.
References _webroot().
| ErrorHandler::missingTable | ( | $ | params | ) |
Renders the Missing Table web page.
- Parameters:
-
array $params
Definition at line 186 of file error.php.
References _webroot().
| ErrorHandler::missingView | ( | $ | params | ) |
Renders the Missing View web page.
- Parameters:
-
array $params
Definition at line 214 of file error.php.
References $file, and _webroot().
| ErrorHandler::privateAction | ( | $ | params | ) |
Member Data Documentation
The documentation for this class was generated from the following file:
- /cake_1.1.19.6305/cake/libs/error.php