* @package tao */ interface tao_models_classes_export_ExportHandler { /** * Returns a textual description of the export format * * @return string */ public function getLabel(); /** * Returns a form in order to prepare the * * @param core_kernel_classes_Resource $resource the users selected resource or class * @return tao_helpers_form_Form */ public function getExportForm(core_kernel_classes_Resource $resource); /** * Export the resources to a file stored in $destinations * * @param array $formValues the values returned by the form provided by getForm * @param string $destPath path to export the resources to * @return common_report_Report report or string filepath * @throws common_exception_UserReadableException $exception */ public function export($formValues, $destPath); }