CakePHP Cookbook 2.x
Controller Attributes $components, $helpers and $uses Other Attributes More on controllers Request and Response objects CakeRequest CakeResponse Scaffolding The Pages Controller Components Views View Templates fields Transactions Core Libraries General Purpose General Purpose Behaviors Behaviors Components Components Helpers Helpers Utilities Utilities Plugins How To Install Plugins Manually Composer Using a Plugin How To Create Plugins Plugin Controllers Plugin Models Plugin Views Plugin Assets Components, Helpers and Behaviors Expand Your Plugin Plugin Tips Publish Your Plugin Shells, Tasks & Console0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355 Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PostsController extends AppController { public $helpers = array('Html', 'Form', 'Flash'); public $components = array('Flash'); public function index() { $this->set('posts', $this->Post->find('all')); } use components to further refine the data or perform other operations (session manipulation, authentication, or sending emails, for example). 7. Once the controller has used models and components to prepare0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook 3.x
Model Configuring Components to Load Configuring Helpers to Load Request Life-cycle Callbacks Event List Controller Callback Methods More on Controllers The Pages Controller Components Views The App Overriding Plugin Templates from Inside Your Application Plugin Assets Linking to Assets in Plugins Components, Helpers and Behaviors Commands Testing your Plugin Publishing your Plugin Plugin Map File Manage Assertion methods Comparing test results to a file Console Integration Testing Testing Views Testing Components Testing Helpers Testing Events Testing Email Creating Test Suites Creating Tests for Plugins Generating0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292 Configuring Components to Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292 Configuring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 768 Components, Helpers and Behaviors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 815 Testing Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8150 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 4.x
Controller::fetchModel() Controller::fetchTable() Paginating a Model Controller::paginate() Configuring Components to Load Controller::loadComponent() Request Life-cycle Callbacks Event List Controller Callback Methods Controller Middleware Controller::middleware() More on Controllers The Pages Controller Components Views View The App View View Templates Alternative Echos Alternative Control Structures View Overriding Plugin Templates from Inside Your Application Plugin Assets Linking to Assets in Plugins Components, Helpers and Behaviors Commands Testing your Plugin Publishing your Plugin Plugin Map File Manage0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261 Configuring Components to Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262 Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 749 Components, Helpers and Behaviors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 807 Testing Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8070 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook Documentation 5.xController::fetchModel() Controller::fetchTable() Paginating a Model Controller::paginate() Configuring Components to Load Controller::loadComponent() Request Life-cycle Callbacks Event List Controller Callback Methods Controller Middleware Controller::middleware() More on Controllers The Pages Controller Components Views View The App View View Templates Alternative Echos Alternative Control Structures View Overriding Plugin Templates from Inside Your Application Plugin Assets Linking to Assets in Plugins Components, Helpers and Behaviors Commands Testing your Plugin Publishing your Plugin Plugin Map File Manage0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193 Configuring Components to Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194 Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 647 Components, Helpers and Behaviors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703 Testing Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7030 码力 | 848 页 | 2.53 MB | 1 年前3
共 8 条
- 1













