CakePHP Cookbook 4.x
Coding Standards Adding New Features IDE Setup Indentation Line Length Control Structures Comparison Function Calls Method Definition Bail Early Method Chaining Commenting Code Including Files PHP Tags Naming Anonymous Listeners Interacting with Existing Listeners Establishing Priorities Getting Event Data as Function Parameters Dispatching Events Stopping Events Getting Event Results Removing Callbacks and Listeners Files with I18n Shell Setting the Default Locale Changing the Locale at Runtime Using Translation Functions Using Variables in Translation Messages Plurals Creating Your Own Translators Creating Message0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 709 Using Translation Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 711 Creating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 925 41 Constants & Functions 927 Global Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . would be: 2 Chapter 1. CakePHP at a Glance CakePHP Cookbook Documentation, Release 4.x public function add() { $user = $this->Users->newEmptyEntity(); if ($this->request->is('post')) { $user = $th0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook Documentation 5.xCoding Standards Adding New Features IDE Setup Indentation Line Length Control Structures Comparison Function Calls Method Definition Bail Early Method Chaining Commenting Code Including Files PHP Tags Naming Anonymous Listeners Interacting with Existing Listeners Establishing Priorities Getting Event Data as Function Parameters Dispatching Events Stopping Events Getting Event Results Removing Callbacks and Listeners Files with I18n Shell Setting the Default Locale Changing the Locale at Runtime Using Translation Functions Using Variables in Translation Messages Plurals Creating Your Own Translators Creating Message0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 601 Using Translation Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 603 Creating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 811 41 Constants & Functions 813 Global Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . would be: 2 Chapter 1. CakePHP at a Glance CakePHP Cookbook Documentation, Release 5.x public function add() { $user = $this->Users->newEmptyEntity(); if ($this->request->is('post')) { $user = $th0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 2.x
Coding Standards Language Adding New Features Indentation Line Length Control Structures Comparison Function Calls Method Definition Method Chaining DocBlocks Including Files PHP Tags Naming Convention Backwards array('Html', 'Form'); } Now, let’s add an action to our controller. Actions often represent a single function or interface in an application. For example, when users request www.example.com/posts/index (which public $helpers = array('Html', 'Form'); public function index() { $this->set('posts', $this->Post->find('all')); } } By defining function index() in our PostsController, users can access0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 3.x
Coding Standards Adding New Features IDE Setup Indentation Line Length Control Structures Comparison Function Calls Method Definition Bail Early Method Chaining Commenting Code Including Files PHP Tags Naming Anonymous Listeners Interacting with Existing Listeners Establishing Priorities Getting Event Data as Function Parameters Dispatching Events Stopping Events Getting Event Results Removing Callbacks and Listeners Files with I18n Shell Setting the Default Locale Changing the Locale at Runtime Using Translation Functions Using Variables in Translation Messages Plurals Creating Your Own Translators Creating Message0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 731 Using Translation Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 733 Creating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 929 41 Constants & Functions 931 Global Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . would be: 2 Chapter 1. CakePHP at a Glance CakePHP Cookbook Documentation, Release 3.10 public function add() { $user = $this->Users->newEntity(); if ($this->request->is('post')) { $user = $this->U0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 2.x
rerouting should work correctly. URL-Rewriting on lighttpd Lighttpd does not support .htaccess functions, so you can remove all .htaccess files. In the lighttpd configuration, make sure you’ve activated array('Html', 'Form'); } Now, let’s add an action to our controller. Actions often represent a single function or interface in an application. For example, when users request www.example.com/posts/index (which AppController { public $helpers = array('Html', 'Form'); public function index() { $this->set('posts', $this->Post->find('all')); } } By defining function index() in our PostsController, users can access the logic0 码力 | 820 页 | 2.52 MB | 1 年前3
共 8 条
- 1













