You are here

function views_pdf_get_pdf_templates in Views PDF 7.2

Same name and namespace in other branches
  1. 6 views_pdf.module \views_pdf_get_pdf_templates()
  2. 7.3 views_pdf.module \views_pdf_get_pdf_templates()
  3. 7 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 plugins/views_pdf_plugin_display.inc
Option form
views_pdf_plugin_row_fields::options_form in plugins/views_pdf_plugin_row_fields.inc
Provide a form for setting options.

File

./views_pdf.module, line 74
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();
}