Changes between Version 18 and Version 19 of S3XRC/ResourceReport


Ignore:
Timestamp:
08/28/10 19:41:39 (14 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3XRC/ResourceReport

    v18 v19  
    1010You have a module {{{xxx}}} and within it a resource {{{yyy}}}, which has a number of components. You're providing CRUD functions for the resource and its components using {{{shn_rest_controller()}}}.
    1111
    12 Now you want to provide a reporting function for this resource, where the user can select records using a search form and then generate a summary report that can be exported in various formats, among others XLS, PDF and SVG.
    13 
    14   Our example: Your resource contains a "timestmp" field (type datetime) and a field "cost" (type double), and now the user shall select a time interval in aform, and your report function shall provide the sum of all "cost" for those records with a timestmp within the selected time interval.
     12Now you want to provide a reporting function for this resource, where the user can specify report parameters in a form and then get the summary report auto-generated.
     13
     14  ''Our example: Your resource contains a "timestmp" field (type datetime) and a field "cost" (type double), and now the user shall select a time interval in aform, and your report function shall provide the sum of all "cost" for those records with a timestmp within the selected time interval.''
    1515
    1616This tutorial shows you how this can be integrated in the REST interface of your resource.