Packages » Package freeform » Class RequestAdaptor

Class RequestAdaptor

Declaration:
<? class RequestAdaptor ?>

Description:
Request adaptors serve to properly decode data exchanged over HTTP for use by actions. Actions do not directly query RequestAdaptors, they call methods of a Request associated with them. The front controller will analyze content-type of incoming data and populate initial Request object with passed parameters (headers, variables, and cookies). Actions may simulate requests by manually creating Request instances and passing them to other actions. NOTE: most nonstandard (i.e., FDF) adaptors may require that always_populate_raw_post_data is on (either in php.ini or .htaccess).

Authors:
  • Dennis Popel

Methods: