Changes between Version 83 and Version 84 of S3/S3REST/s3_rest_controller
- Timestamp:
- 06/04/13 22:17:31 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3REST/s3_rest_controller
v83 v84 505 505 506 506 A very important structure during prep and postp is the S3Request object (usually instantiated as "r"). This object contains all necessary 507 information to process the current REST request, and it is passed to both prep and postp. See [wiki:S3XRC#RESTfulAPI ] for a list of attributes and methods.507 information to process the current REST request, and it is passed to both prep and postp. See [wiki:S3XRC#RESTfulAPI S3RESTful API] for a list of attributes and methods. 508 508 509 509 ==== Passing information between main controller & pre-processor ==== … … 562 562 But even when using s3_rest_controller, you can take control over what actually happens. A very comfortable (and recommended) way to get control over s3rest when using s3_rest_controller is to hook in prep and postp functions. Look above to find out when prep and postp hooks are invoked. 563 563 564 565 look [wiki:S3XRC#S3Method S3Method] to see how method handler can be created using S3Method 566 564 567 === Custom Methods === 565 568