You are here

function views_pdf_get_pdf_templates in Views PDF 6

Same name and namespace in other branches
  1. 7.3 views_pdf.module \views_pdf_get_pdf_templates()
  2. 7 views_pdf.module \views_pdf_get_pdf_templates()
  3. 7.2 views_pdf.module \views_pdf_get_pdf_templates()

This method can be used to get all available templates.

2 calls to views_pdf_get_pdf_templates()
views_pdf_plugin_display::options_form in ./views_pdf_plugin_display.inc
Option form
views_pdf_plugin_row_fields::options_form in ./views_pdf_plugin_row_fields.inc
Provide a form for setting options.

File

./views_pdf.module, line 82
PDF Views allows the creation of PDF's directly from a view. Without the creation of HTML first.

Code

function views_pdf_get_pdf_templates() {
  _views_pdf_include_pdf_lib();
  return PdfTemplate::getAvailableTemplates();
}