You are here

protected function views_data_export_pdf_renderer_base::get_lock_name in Views Data Export PDF 7

Same name and namespace in other branches
  1. 7.2 src/views_data_export_pdf_renderer_base.inc \views_data_export_pdf_renderer_base::get_lock_name()

Gets the lock handle to use for exports from the specified file.

Parameters

object $input_file: The input file entity.

Return value

string The name of the lock/handle to use for the given file.

3 calls to views_data_export_pdf_renderer_base::get_lock_name()
views_data_export_pdf_background_process_renderer::render_html_file_to_pdf in modules/vde_pdf_background_process/src/views_data_export_pdf_background_process_renderer.inc
Converts the contents of the given HTML file into PDF format.
views_data_export_pdf_renderer_base::acquire_render_lock in src/views_data_export_pdf_renderer_base.inc
Attempts to acquire a lock for exports from the specified file.
views_data_export_pdf_renderer_base::release_render_lock in src/views_data_export_pdf_renderer_base.inc
Attempts to release a lock for exports on the specified file.

File

src/views_data_export_pdf_renderer_base.inc, line 34
Contains the base class for PDF renderers.

Class

views_data_export_pdf_renderer_base
Abstract base class for PDF renderers.

Code

protected function get_lock_name($input_file) {
  return 'views_data_export_pdf_generation:' . $input_file->fid;
}