observe_import_csv_definition/2
Find an import definition for a CSV file by checking the filename of the to be imported file.
observe_import_resource/2
An external feed delivered a resource. First handler can import it. Return:: {ok, m_rsc:resource_id()} , `{error, Reason} , or undefined`
observe_export_resource_content_disposition/2
mod_export - return the \{ok, Disposition\} for the content disposition.
observe_export_resource_content_type/2
mod_export - Determine the mime type for the export.
observe_export_resource_data/2
mod_export - fetch a row for the export, can return a list of rows, a binary, and optionally a continuation state. Where Values is [ term() \], i.e. a list of…
observe_export_resource_encode/2
mod_export - Encode a single data element.
observe_export_resource_filename/2
mod_export - return the \{ok, Filename\} for the content disposition.
observe_export_resource_footer/2
mod_export - Fetch the footer for the export. Should cleanup the continuation state, if needed.
observe_export_resource_header/2
mod_export - Fetch the header for the export.
observe_export_resource_visible/2
mod_export - Check if the resource or dispatch is visible for export.

E-mail notifications Notifications Media notifications

Referred by

mod_export

Provides a generic framework to export resources.