Changes between Version 83 and Version 84 of S3/S3REST/s3_rest_controller


Ignore:
Timestamp:
06/04/13 22:17:31 (11 years ago)
Author:
hardik juneja
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3REST/s3_rest_controller

    v83 v84  
    505505
    506506A 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.
     507information 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.
    508508
    509509==== Passing information between main controller & pre-processor ====
     
    562562But 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.
    563563
     564
     565look [wiki:S3XRC#S3Method S3Method] to see how method handler can be created using S3Method
     566
    564567=== Custom Methods ===
    565568