function views_pdf_get_library in Views PDF 7
Same name and namespace in other branches
- 6 views_pdf.module \views_pdf_get_library()
- 7.3 views_pdf.module \views_pdf_get_library()
This function returns the path to a given library.
Parameters
$name Name of the Library:
4 calls to views_pdf_get_library()
- PdfTemplate::getAvailableHyphenatePatterns in ./
views_pdf_template.php - This method returns a list of hyphenation patterns, that are available.
- PdfTemplate::renderRow in ./
views_pdf_template.php - views_pdf_plugin_display::execute in ./
views_pdf_plugin_display.inc - This function executes the PDF display.
- views_pdf_requirements in ./
views_pdf.install - Implements hook_requirements().
File
- ./
views_pdf.module, line 101 - PDF Views allows the creation of PDF's directly from a view. Without the creation of HTML first.
Code
function views_pdf_get_library($name) {
if (function_exists('libraries_get_path')) {
return libraries_get_path($name);
}
else {
return 'sites/all/libraries/' . $name;
}
}