function views_pdf_get_library in Views PDF 6
Same name and namespace in other branches
- 7.3 views_pdf.module \views_pdf_get_library()
- 7 views_pdf.module \views_pdf_get_library()
This function returns the path to a given library.
Parameters
$name Name of the Library:
3 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_requirements in ./
views_pdf.install - @file Install the views module
File
- ./
views_pdf.module, line 68 - 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;
}
}