CakePHP Cookbook 3.x
Configuration Configuring your Application Loading Additional Configuration Files Environment Variables General Configuration Using a CDN Database Configuration Caching Configuration Error and Exception Parameters Query String Parameters Request Body Data File Uploads PUT, PATCH or DELETE Data Environment Variables (from $_SERVER and $_ENV) XML or JSON Data Path Information Checking Request Conditions Session Controllers The App Controller Request Flow Controller Actions Interacting with Views Setting View Variables Setting View Options Rendering a View Redirecting to Other Pages Redirecting to Another Action0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook Documentation 5.xConfiguration Configuring your Application Loading Additional Configuration Files Environment Variables General Configuration Using a CDN Database Configuration Caching Configuration Error and Exception Parameters Query String Parameters Request Body Data File Uploads PUT, PATCH or DELETE Data Environment Variables (from $_SERVER and $_ENV) XML or JSON Data Path Information Checking Request Conditions Session Controller The App Controller Request Flow Controller Actions Interacting with Views Setting View Variables Setting View Options Rendering a View Content Type Negotiation Controller::addViewClasses() Content0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 4.x
Configuration Configuring your Application Loading Additional Configuration Files Environment Variables General Configuration Using a CDN Database Configuration Caching Configuration Error and Exception Parameters Query String Parameters Request Body Data File Uploads PUT, PATCH or DELETE Data Environment Variables (from $_SERVER and $_ENV) XML or JSON Data Path Information Checking Request Conditions Session Controller The App Controller Request Flow Controller Actions Interacting with Views Setting View Variables Setting View Options Rendering a View Content Type Negotiation Controller::viewClasses() Content0 码力 | 1249 页 | 1.04 MB | 1 年前3
The PHP Handbook
of language is PHP? 4. Setting up PHP 5. Your first PHP program 6. PHP language basics 6.1. Variables 6.2. Comments 6.3. Types 6.4. Printing the value of a variable 6.5. Operators 7. Strings 8 objects 14.12. Magic methods 15. Including other PHP files 16. Useful constants, functions and variables for filesystem 17. Errors 18. Exceptions 19. Dates 20. Constants and enums 21. PHP as a web the program. A completely different workflow. PHP is a dynamically typed language. The types of variables are checked at runtime, rather than before the code is executed as it happens for statically typed0 码力 | 97 页 | 8.78 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220 Additional assigned the ‘articles’ variable to the view using set(). Variables passed into the view are available in the view templates as local variables which we used in the above code. You might have noticed the the Entity Routing section for more information. • Routing variables can now use {var} style placeholders. This style allows mid-word variables to be defined. You cannot combine {var} placeholders with0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 Additional assigned the ‘articles’ variable to the view using set(). Variables passed into the view are available in the view templates as local variables which we used in the above code. You might have noticed the Cookbook Documentation, Release 5.x TestSuite • TestSuite was removed. Users should use environment variables to customize unit test settings instead. • TestListenerTrait was removed. PHPUnit dropped support0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
assigned the ‘articles’ variable to the view using set(). Variables passed into the view are available in the view templates as local variables which we used in the above code. You might have noticed the been renamed to Entity::_fields. View • The _serialize, _jsonOptions and _jsonp special view variables of JsonView are now deprecated. Instead you should use viewBuilder()->setOption($optionName, $optionValue) $optionValue) to set these options. • The _serialize, _rootNode and _xmlOptions special view variables of XmlView are now deprecated. In- stead you should use viewBuilder()->setOption($optionName, $optionValue)0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 2.x
blocks Using blocks for script and CSS files Layouts Using layouts from plugins Elements Passing Variables into an Element Caching Elements Requesting Elements from a Plugin 2.0 2.1 Creating your own view the child class will always override those in AppController. Note CakePHP merges the following variables from the AppController into your application’s controllers: $components $helpers $uses Remember attributes make MVC classes given by $components and $uses available to the controller as class variables ($this->ModelName, for example) and those given by $helpers to the view as an object reference variable0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
the child class will always override those in AppController. Note: CakePHP merges the following variables from the AppController into your application’s controllers: • $components • $helpers • $uses attributes make MVC classes given by $components and $uses available to the controller as class variables ($this->ModelName, for example) and those given by $helpers to the view as an object reference variable 'User'); public $helpers = array('Js'); public $components = array('RequestHandler'); } Each of these variables are merged with their inherited values, therefore it is not necessary (for example) to redeclare0 码力 | 820 页 | 2.52 MB | 1 年前3
Learning LaravelStarted Installation https://riptutorial.com/ 4 Laravel Views Blade : Introduction Blade : Variables and Control Structures Or Installation from here Get composer from here and install it 1. Get app/Console/Commands directory. inside this class you will find protected $signature and protected $description variables, it represents name and discription of your command which will be used to describe your command create master templates and child templating loading content from master templates, we can have variables, loops and conditional statements inside the blade file. Examples Views: Introduction Views,0 码力 | 216 页 | 1.58 MB | 1 年前3
共 63 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













