CakePHP Cookbook 2.x
Tips Publish Your Plugin Shells, Tasks & Console Tools The CakePHP console Adding cake to your system path Creating a shell Using Models in your shells Shell tasks Loading tasks on the fly with TaskCollection > inside any PHP file your webserver can execute. You should see a username printed. Change the ownership of the app/tmp directory to that user. The final command you run (in *nix) might look something little funny (no images or CSS styles), it probably means mod_rewrite is not functioning on your system. Please refer to one of the sections below about URL rewriting for your webserver to get you up and0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
> inside any PHP file your webserver can execute. You should see a username printed. Change the ownership of the app/tmp directory to that user. The final command you run (in *nix) might look something little funny (no images or CSS styles), it probably means mod_rewrite is not functioning on your system. Please refer to one of the sections below about URL rewriting for your webserver to get you up and might try to get it running correctly. First look at your httpd.conf. (Make sure you are editing the system httpd.conf rather than a user- or site-specific httpd.conf.) These files can vary between different0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook 3.x
CakePHP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 717 20 Events System 721 Example Event Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Management Tutorial This tutorial will walk you through the creation of a simple CMS (Content Management System) application. To start with, we’ll be installing CakePHP, creating our database, and building simple settings/configuration • Objects used in CakePHP now have a consistent instance-configuration storage/retrieval system. Code which previously accessed for example: $object->settings should instead be updated to use $object->config()0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 3.x
Validating Data Saving Data Deleting Data Associations - Linking Tables Together Behaviors Schema System Schema Cache Shell AuthComponent Suggested Reading Before Continuing Authentication Choosing an CakePHP HTTP Exceptions Using HTTP Exceptions in your Controllers Other Built In Exceptions Events System Example Event Usage Accessing Event Managers Global Event Manager Tracking Events Core Events settings/configuration Objects used in CakePHP now have a consistent instance-configuration storage/retrieval system. Code which previously accessed for example: $object->settings should instead be updated to use $object->config()0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 4.x
Validating Data Saving Data Deleting Data Associations - Linking Tables Together Behaviors Schema System Schema Cache Tool AuthComponent AuthComponent Suggested Reading Before Continuing Authentication Other Built In Exceptions Creating your Own Error Handler Changing Fatal Error Behavior Events System Example Event Usage Accessing Event Managers Global Event Manager Tracking Events Core Events and TestFixture::$import are deprecated. You should convert your application to the new fixture system. TestCase::$dropTables is deprecated. Dropping tables during a test run is not compatible with the0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697 20 Events System 699 Example Event Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Management Tutorial This tutorial will walk you through the creation of a simple CMS (Content Management System) application. To start with, we’ll be installing CakePHP, creating our database, and building simple and TestFixture::$import are deprecated. You should convert your application to the new fixture system. • TestCase::$dropTables is deprecated. Dropping tables during a test run is not compatible with0 码力 | 967 页 | 2.88 MB | 1 年前3
Guzzle PHP 5.3 DocumentationMessages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 1.5 Event System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Requirements 1. PHP 5.4.0 2. To use the PHP stream handler, allow_url_fopen must be enabled in your system’s php.ini. 3. To use the cURL handler, you must have a recent version of cURL >= 7.16.2 compiled to intercept the exception with a different GuzzleHttp\Message\ResponseInterface object. See Event System for more information. Handling Errors After Transferring It sometimes might be easier to handle0 码力 | 63 页 | 275.75 KB | 11 月前3
CmlPHP v2.x 开发手册
he' => 'default_cache',//只有 在该缓存的驱动为redis的时候才有效,否则会报错 /*系统路由-统一用小写url*/ 'cmlframework_system_route' => [ 'cmlframeworkstaticparse' => '\\Cml\\Tools\\StaticResource::parseResourceFile' Route::get('pattern' , 'adminbase/System/Config/show'); //v2.7+建议这么写效率更高且支持应用多级子目录 Route::get('blog/bb/:aid\d', [ 'root/adminbase',//应用名,支持多级子目录 'System/Config',//控制器,支持多级子目录 'show'//方法名 Route::post('pattern' , 'adminbase/System/Config/update'); //v2.7+建议这么写效率更高且支持应用多级子目录 Route::post('blog/bb/:aid\d', [ 'root/adminbase',//应用名,支持多级子目录 'System/Config',//控制器,支持多级子目录 'update'//方法名0 码力 | 245 页 | 720.67 KB | 1 年前3
CmlPHP v2.x 开发手册
he' => 'default_cache',//只有在该缓存的驱动为redis的时候才有效,否则 会报错 /*系统路由-统一用小写url*/ 'cmlframework_system_route' => [ 'cmlframeworkstaticparse' => '\\Cml\\Tools\\StaticResource::parseResourceFile' Route::get('pattern' , 'adminbase/System/Config/show'); //v2.7+建议这么写效率更高且支持应用多级子目录 Route::get('blog/bb/:aid\d', [ 'root/adminbase',//应用名,支持多级子目录 'System/Config',//控制器,支持多级子目录 'show'//方法名 Route::post('pattern' , 'adminbase/System/Config/update'); //v2.7+建议这么写效率更高且支持应用多级子目录 Route::post('blog/bb/:aid\d', [ 'root/adminbase',//应用名,支持多级子目录 'System/Config',//控制器,支持多级子目录 31 'update'//方法名0 码力 | 143 页 | 1.54 MB | 1 年前3
CmlPHP v2.x 开发手册
'redis_queue_use_cache' => 'default_cache',//只有在该缓存的驱动为redis的时候才有效,否 则会报错 /*系统路由-统一用小写url*/ 'cmlframework_system_route' => [ 'cmlframeworkstaticparse' => '\\Cml\\Tools\\StaticResource::parseResourceFil Route::get('pattern' , 'adminbase/System/Config/show'); //v2.7+建议这么写效率更高且支持应用多级子目录 Route::get('blog/bb/:aid\d', [ 'root/adminbase',//应用名,支持多级子目录 'System/Config',//控制器,支持多级子目录 'show'//方法名 Route::post('pattern' , 'adminbase/System/Config/update'); //v2.7+建议这么写效率更高且支持应用多级子目录 Route::post('blog/bb/:aid\d', [ 'root/adminbase',//应用名,支持多级子目录 'System/Config',//控制器,支持多级子目录 'update'//方法名0 码力 | 251 页 | 973.37 KB | 1 年前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













