CakePHP Cookbook 2.x
Configuration Built-in Session handlers & configuration Setting ini directives Creating a custom session handler Reading & writing session data Exceptions Exception configuration Exception classes Built-in Exceptions exceptions Extending and implementing your own Exception handlers Create your own Exception handler with Exception.handler Using AppController::appError() Using a custom renderer with Exception.renderer to handle handle application exceptions Error Handling Error configuration Creating your own error handler Changing fatal error behavior Debugging Basic Debugging Debugger Class Using the Debugger Class Using0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
using a GET request, we throw an Exception. Uncaught exceptions are captured by CakePHP’s exception handler, and a nice error page is displayed. There are many built-in Exceptions that can be used to indicate after the controller’s beforeFilter method but before the controller executes the current action handler. Component::beforeRender(Controller $controller) Is called after the controller executes the requested flash messages: its __call magic method and its set() method. To use the default flash message handler, you can use the set() method: $this->Flash->set('This is a message'); New in version 2.10.0: Flash0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook 4.x
Exceptions Using HTTP Exceptions in your Controllers Other Built In Exceptions Creating your Own Error Handler Changing Fatal Error Behavior Events System Example Event Usage Accessing Event Managers Global Database Sessions Cache Sessions Session Locking Setting ini directives Creating a Custom Session Handler Session Accessing the Session Object Reading & Writing Session Data Session::read() Session::readOrFail() allowMethod() will throw an exception. Uncaught exceptions are captured by CakePHP’s exception handler, and a nice error page is displayed. There are many built-in Exceptions that can be used to indicate0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 693 Creating your Own Error Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697 20 Events System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 771 Creating a Custom Session Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 771 Accessing the Session allowMethod() will throw an exception. Uncaught exceptions are captured by CakePHP’s exception handler, and a nice error page is displayed. There are many built-in Exceptions that can be used to indicate0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook Documentation 5.xDatabase Sessions Cache Sessions Session Locking Setting ini directives Creating a Custom Session Handler Session Accessing the Session Object Reading & Writing Session Data Session::read() Session::readOrFail() allowMethod() will throw an exception. Uncaught exceptions are captured by CakePHP’s exception handler, and a nice error page is displayed. There are many built-in Exceptions that can be used to indicate allowMethod() will throw an exception. Uncaught exceptions are captured by CakePHP’s exception handler, and a nice error page is displayed. There are many built-in Exceptions that can be used to indicate0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 3.x
ErrorController Change the ExceptionRenderer Changing the ErrorController Class Creating your Own Error Handler Changing Fatal Error Behavior Creating your own Application Exceptions Logging Exceptions Built Session Handlers Database Sessions Cache Sessions Setting ini directives Creating a Custom Session Handler Accessing the Session Object Reading & Writing Session Data Destroying the Session Rotating Session allowMethod() will throw an exception. Uncaught exceptions are captured by CakePHP’s exception handler, and a nice error page is displayed. There are many built-in Exceptions that can be used to indicate0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 714 Creating your Own Error Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 715 Creating your . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 784 Creating a Custom Session Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 785 Accessing the Session allowMethod() will throw an exception. Uncaught exceptions are captured by CakePHP’s exception handler, and a nice error page is displayed. There are many built-in Exceptions that can be used to indicate0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 669 Creating a Custom Session Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 669 Accessing the Session allowMethod() will throw an exception. Uncaught exceptions are captured by CakePHP’s exception handler, and a nice error page is displayed. There are many built-in Exceptions that can be used to indicate allowMethod() will throw an exception. Uncaught exceptions are captured by CakePHP’s exception handler, and a nice error page is displayed. There are many built-in Exceptions that can be used to indicate0 码力 | 848 页 | 2.53 MB | 1 年前3
共 8 条
- 1













