Learning Laravelvariable 20 Echoing an element in an array 20 Echoing an object property 21 Echoing the result of a function call 21 Checking for Existence 21 Raw echos 21 Including Partial Views 21 Layout Inheritance Cross Domain Request 46 Examples 46 Introduction 46 CorsHeaders 46 Chapter 14: Custom Helper function 48 Introduction 48 Remarks 48 Examples 48 document.php 48 HelpersServiceProvider.php 48 Use Check session storage path & permission 179 Use _token field on Ajax 180 Chapter 62: use fields aliases in Eloquent 181 Chapter 63: Useful links 182 Introduction 182 Examples 182 Laravel Ecosystem0 码力 | 216 页 | 1.58 MB | 1 年前3
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
Laravel 5.0 Documentation
files from previous versions of Laravel 4.x. These service providers provide various bootstrapping functions to your application, such as error handling, logging, route loading, and more. Of course, you are Folder Structure Contracts Route Cache Route Middleware Controller Method Injection public function createPost(Request $request, PostRepository $posts) { // } User registration, authentication example, check out the following event: class PodcastWasPurchased { public $podcast; public function __construct(Podcast $podcast) { $this->podcast = $podcast; } } The event may be0 码力 | 242 页 | 1.44 MB | 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
Falcon v3.1.1-b3 Documentation[-Wunused-command-line-argument-hard- ˓→error-in-future] You might also see warnings about unused functions. You can work around these issues by setting additional Clang C compiler flags as follows: 5.1 Guide 13 Falcon Documentation, Release 3.1.1b3 $ export CFLAGS="-Qunused-arguments -Wno-unused-function" Dependencies Falcon does not require the installation of any other packages, although if Cython lines: import falcon app = application = falcon.App() This code creates your WSGI application and aliases it as app. You can use any variable names you like, but we’ll use application since that is what0 码力 | 378 页 | 1.29 MB | 1 年前3
共 78 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













