Changes between Version 81 and Version 82 of S3/S3REST/s3_rest_controller
- Timestamp:
- 06/04/13 21:32:35 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3REST/s3_rest_controller
v81 v82 560 560 }}} 561 561 562 At first you implement your report function (in the controller file). This function takes the argument r (=S3R ESTRequest) and a dict of named arguments (just the same named arguments from the s3_rest_controller call above). This function returns the report. Then, in your controller, you plug in this function to your resource - together it would look like that:562 At first you implement your report function (in the controller file). This function takes the argument r (=S3Request) and a dict of named arguments (just the same named arguments from the s3_rest_controller call above). This function returns the report. Then, in your controller, you plug in this function to your resource - together it would look like that: 563 563 564 564 {{{