Example Analysis of Zend_Controller_Request encapsulated by request object of Zend Framework
Editor to share with you the Zend Framework request object encapsulation Zend_Controller_Request example analysis, I believe that most people do not know much about it, so share this article for your reference, I hope you will learn a lot after reading this article, let's go to know it!
The details are as follows:
Overview
Request objects are simple value objects that are passed between front-end controllers, routers, dispatchers, and control classes. The request object encapsulates the request module, controller, action, and optional parameters, as well as other request environments, such as HTTP,CLI,PHP-GTK.
Basic implementation of request object
├── Request
│ ├── Abstract.php
│ ├── Apache404.php
│ ├── Exception.php
│ ├── Http.php
│ ├── HttpTestCase.php
│ └── Simple.php
Zend_Controller_Request_Abstract
The basic method of the request object is implemented.