function forena_forena_document_types in Forena Reports 7.5
Same name and namespace in other branches
- 7.3 forena.module \forena_forena_document_types()
- 7.4 forena.module \forena_forena_document_types()
Self register document formats with Forena
File
- ./
forena.module, line 1206
Code
function forena_forena_document_types() {
$items['web'] = array(
'class' => '\\Drupal\\forena\\DocumentFormats\\DrupalPage',
'title' => t('Themed Drupal Page'),
);
$items['csv'] = array(
'class' => '\\Drupal\\forena\\DocumentFormats\\CSVDocument',
'title' => t('Comma separated values'),
);
$items['email'] = array(
'class' => '\\Drupal\\forena\\DocumentFormats\\EmailMerge',
'title' => t('Email Merge Document'),
);
$items['html'] = array(
'class' => '\\Drupal\\forena\\DocumentFormats\\HtmlDocument',
'title' => t('Unthemed HTML'),
);
$items['svg'] = array(
'class' => '\\Drupal\\forena\\DocumentFormats\\SVGDocument',
'title' => t('SVG Document'),
);
$items['doc'] = array(
'class' => '\\Drupal\\forena\\DocumentFormats\\WordDocument',
'title' => t('MS Word Document format'),
);
$items['xls'] = array(
'class' => '\\Drupal\\forena\\DocumentFormats\\ExcelDocument',
'title' => t('Excel Document'),
);
$items['xml'] = array(
'class' => '\\Drupal\\forena\\DocumentFormats\\XMLDocument',
'title' => t('XML Document'),
);
return $items;
}