CakePHP Cookbook 2.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 i Creating your own view classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 View API . MyNiftyClass.php. Below are examples of how to name the file for each of the different types of classes you would typically use in a CakePHP application: • The Controller class KissesAndHugsController to a file. None of these relationships have been configured by any means other than by creating classes and files that you’d need to create anyway. Now that you’ve been introduced to CakePHP’s fundamentals0 码力 | 820 页 | 2.52 MB | 1 年前3CakePHP Cookbook 2.x
into an Element Caching Elements Requesting Elements from a Plugin 2.0 2.1 Creating your own view classes View API More about Views Themes Media Views JSON and XML views Helpers Models Understanding Arguments Named Parameters Reverse Routing Redirect Routing Disabling the Default Routes Custom Route Classes Router API Sessions Session Configuration Built-in Session handlers & configuration Setting ini custom session handler Reading & writing session data Exceptions Exception configuration Exception classes Built-in Exceptions for CakePHP Using HTTP exceptions in your controllers Exception Renderer Creating0 码力 | 1096 页 | 958.62 KB | 1 年前3CakePHP Cookbook Documentation 5.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 Custom Route Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 Creating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218 Creating Your Own View Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 More About Views Application::bootstrap() . . . . . . . . . . . . . . . . . . . . . . . . . . . 639 Using Plugin Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640 Creating0 码力 | 848 页 | 2.53 MB | 1 年前3CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 Custom Route Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 Creating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316 Creating Your Own View Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317 More About Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 741 Using Plugin Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 742 Creating0 码力 | 967 页 | 2.88 MB | 1 年前3CakePHP Cookbook Documentation 5.x
Controller Actions Used Mapping Additional Resource Routes Prefixed Resource Routing Custom Route Classes for Resource Routes URL Inflection for Resource Routes Changing the Path Element Passed Arguments Arrays vs Request Parameters Generating Asset URLs Redirect Routing Entity Routing Custom Route Classes Default Route Class Fallbacks Method Creating Persistent URL Parameters Request & Response Objects prefix and Elements Caching Sections of Your View View Events Event List Creating Your Own View Classes More About Views View Cells Themes JSON and XML views Helpers Database Access & ORM Quick Example0 码力 | 1080 页 | 939.39 KB | 1 年前3CakePHP Cookbook 4.x
Controller Actions Used Mapping Additional Resource Routes Prefixed Resource Routing Custom Route Classes for Resource Routes URL Inflection for Resource Routes Changing the Path Element Passed Arguments Arrays vs Request Parameters Generating Asset URLs Redirect Routing Entity Routing Custom Route Classes Default Route Class Fallbacks Method Creating Persistent URL Parameters Request & Response Objects prefix and Elements Caching Sections of Your View View Events Event List Creating Your Own View Classes More About Views View Cells Themes JSON and XML views Helpers Database Access & ORM Quick Example0 码力 | 1249 页 | 1.04 MB | 1 年前3CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 Custom Route Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 Creating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350 Creating Your Own View Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351 More About Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 760 Using Plugin Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 762 Creating0 码力 | 967 页 | 2.80 MB | 1 年前3CakePHP Cookbook 3.x
Custom Route Classes for Resource Routes URL Inflection for Resource Routes Changing the Path Element Passed Arguments Generating URLs Redirect Routing Entity Routing Custom Route Classes Default Route prefix and Elements Caching Sections of Your View View Events Event List Creating Your Own View Classes More About Views View Cells Themes JSON and XML views Helpers Database Access & ORM Quick Example Requests Displaying Auth Related Flash Messages Hashing Passwords Creating Custom Password Hasher Classes Changing Hashing Algorithms Manually Logging Users In Accessing the Logged In User Logging Users0 码力 | 1244 页 | 1.05 MB | 1 年前3
共 8 条
- 1