 CakePHP Cookbook Documentation 5.xused in the above code. You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper. CakePHP comes with a set of view helpers that make tasks like creating If you haven’t enabled logging through the connection config then you can later set the logger instance for the driver to enable query logging $connection->getDriver()- >setLogger(). Controller The removed and should be replaced by calling their non-static method variants via the RouteBuilder instance. RedirectException has been removed. Use \Cake\Http\Exception\RedirectException instead. TestSuite0 码力 | 1080 页 | 939.39 KB | 1 年前3 CakePHP Cookbook Documentation 5.xused in the above code. You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper. CakePHP comes with a set of view helpers that make tasks like creating If you haven’t enabled logging through the connection config then you can later set the logger instance for the driver to enable query logging $connection->getDriver()- >setLogger(). Controller The removed and should be replaced by calling their non-static method variants via the RouteBuilder instance. RedirectException has been removed. Use \Cake\Http\Exception\RedirectException instead. TestSuite0 码力 | 1080 页 | 939.39 KB | 1 年前3
 CakePHP Cookbook Documentation 5.xused in the above code. You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper. CakePHP comes with a set of view helpers that make tasks like creating If you haven’t enabled logging through the connection config then you can later set the logger instance for the driver to enable query logging $connection->getDriver()->setLogger(). Controller • The removed and should be replaced by calling their non-static method variants via the RouteBuilder instance. • RedirectException has been removed. Use \Cake\Http\Exception\RedirectException instead. 330 码力 | 848 页 | 2.53 MB | 1 年前3 CakePHP Cookbook Documentation 5.xused in the above code. You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper. CakePHP comes with a set of view helpers that make tasks like creating If you haven’t enabled logging through the connection config then you can later set the logger instance for the driver to enable query logging $connection->getDriver()->setLogger(). Controller • The removed and should be replaced by calling their non-static method variants via the RouteBuilder instance. • RedirectException has been removed. Use \Cake\Http\Exception\RedirectException instead. 330 码力 | 848 页 | 2.53 MB | 1 年前3
 CakePHP Cookbook 4.x
used in the above code. You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper. CakePHP comes with a set of view helpers that make tasks like creating Cake\Database\Connection::setLogger() no longer accepts null to disable logging. Instead pass an instance of Psr\Log\NullLogger to disable logging. The internals of Database\Log\LoggingStatement, Database\QueryLogger ErrorHandlerMiddleware now takes an error handler class name or instance as constructor argument instead of exception render class name or instance. Event Calling getSubject() on an event with no subject will0 码力 | 1249 页 | 1.04 MB | 1 年前3 CakePHP Cookbook 4.x
used in the above code. You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper. CakePHP comes with a set of view helpers that make tasks like creating Cake\Database\Connection::setLogger() no longer accepts null to disable logging. Instead pass an instance of Psr\Log\NullLogger to disable logging. The internals of Database\Log\LoggingStatement, Database\QueryLogger ErrorHandlerMiddleware now takes an error handler class name or instance as constructor argument instead of exception render class name or instance. Event Calling getSubject() on an event with no subject will0 码力 | 1249 页 | 1.04 MB | 1 年前3
 CakePHP Cookbook 4.x
used in the above code. You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper. CakePHP comes with a set of view helpers that make tasks like creating Cake\Database\Connection::setLogger() no longer accepts null to disable logging. Instead pass an instance of Psr\Log\NullLogger to disable logging. • The internals of Database\Log\LoggingStatement, Database\QueryLogger ErrorHandlerMiddleware now takes an error handler class name or instance as constructor argument instead of exception render class name or instance. 36 Chapter 3. Migration Guides CakePHP Cookbook Documentation0 码力 | 967 页 | 2.88 MB | 1 年前3 CakePHP Cookbook 4.x
used in the above code. You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper. CakePHP comes with a set of view helpers that make tasks like creating Cake\Database\Connection::setLogger() no longer accepts null to disable logging. Instead pass an instance of Psr\Log\NullLogger to disable logging. • The internals of Database\Log\LoggingStatement, Database\QueryLogger ErrorHandlerMiddleware now takes an error handler class name or instance as constructor argument instead of exception render class name or instance. 36 Chapter 3. Migration Guides CakePHP Cookbook Documentation0 码力 | 967 页 | 2.88 MB | 1 年前3
 CakePHP Cookbook 3.x
used in the above code. You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper. CakePHP comes with a set of view helpers that make tasks like creating to access a View’s request instance in other contexts. Cake\View\View::$response is protected now. Use View::getResponse()/setResponse() to access a View’s response instance in other contexts. Cake\Vi or Redis instead. Passing a list of arrays to Router::setRequestInfo() is now deprecated. Pass an instance of ServerRequest instead. Cake\Controller\Controller:$name is protected now. Use Controller::getName()/setName()0 码力 | 1244 页 | 1.05 MB | 1 年前3 CakePHP Cookbook 3.x
used in the above code. You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper. CakePHP comes with a set of view helpers that make tasks like creating to access a View’s request instance in other contexts. Cake\View\View::$response is protected now. Use View::getResponse()/setResponse() to access a View’s response instance in other contexts. Cake\Vi or Redis instead. Passing a list of arrays to Router::setRequestInfo() is now deprecated. Pass an instance of ServerRequest instead. Cake\Controller\Controller:$name is protected now. Use Controller::getName()/setName()0 码力 | 1244 页 | 1.05 MB | 1 年前3
 CakePHP Cookbook 3.x
used in the above code. You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper. CakePHP comes with a set of view helpers that make tasks like creating to access a View’s request instance in other contexts. • Cake\View\View::$response is protected now. Use View::getResponse()/setResponse() to access a View’s response instance in other contexts. • Cak Redis instead. • Passing a list of arrays to Router::setRequestInfo() is now deprecated. Pass an instance of ServerRequest instead. • Cake\Controller\Controller:$name is protected now. Use Controller:0 码力 | 967 页 | 2.80 MB | 1 年前3 CakePHP Cookbook 3.x
used in the above code. You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper. CakePHP comes with a set of view helpers that make tasks like creating to access a View’s request instance in other contexts. • Cake\View\View::$response is protected now. Use View::getResponse()/setResponse() to access a View’s response instance in other contexts. • Cak Redis instead. • Passing a list of arrays to Router::setRequestInfo() is now deprecated. Pass an instance of ServerRequest instead. • Cake\Controller\Controller:$name is protected now. Use Controller:0 码力 | 967 页 | 2.80 MB | 1 年前3
 CakePHP Cookbook 2.x
unset($post); ?> You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper class. CakePHP comes with a set of view helpers that make things like delete) or some request identifier (ajax). It is not a way to check for specific posted data. For instance, $this->request->is('book') will not return true if book data was posted. Note You need to include setup, you will have to modify this, but at the very least, you will need PHP running as a FastCGI instance. server { listen 80; server_name www.example.com; rewrite ^(.*) http://example.com$10 码力 | 1096 页 | 958.62 KB | 1 年前3 CakePHP Cookbook 2.x
unset($post); ?> You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper class. CakePHP comes with a set of view helpers that make things like delete) or some request identifier (ajax). It is not a way to check for specific posted data. For instance, $this->request->is('book') will not return true if book data was posted. Note You need to include setup, you will have to modify this, but at the very least, you will need PHP running as a FastCGI instance. server { listen 80; server_name www.example.com; rewrite ^(.*) http://example.com$10 码力 | 1096 页 | 958.62 KB | 1 年前3
 CakePHP Cookbook 2.x
setup, you will have to modify this, but at the very least, you will need PHP running as a FastCGI instance. server { listen 80; server_name www.example.com; rewrite ^(.*) http://example.com$1 permanent; unset($post); ?> You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper class. CakePHP comes with a set of view helpers that make things like delete) or some request identifier (ajax). It is not a way to check for specific posted data. For instance, $this->request->is('book') will not return true if book data was posted. Note: You need to include0 码力 | 820 页 | 2.52 MB | 1 年前3 CakePHP Cookbook 2.x
setup, you will have to modify this, but at the very least, you will need PHP running as a FastCGI instance. server { listen 80; server_name www.example.com; rewrite ^(.*) http://example.com$1 permanent; unset($post); ?> You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper class. CakePHP comes with a set of view helpers that make things like delete) or some request identifier (ajax). It is not a way to check for specific posted data. For instance, $this->request->is('book') will not return true if book data was posted. Note: You need to include0 码力 | 820 页 | 2.52 MB | 1 年前3
共 8 条
- 1














