\ExportPDFJob
This queued job is to export data into a CSV for downloading.
Requires that pdf_export is enabled. For example, you may include in your config.yml:
BasePage:
pdf_export: 1
Currently, only works with themes that are self contained (e.g. in one folder).
For instance, the default CWP theme does not work as it relies on a separate folder for bootstrap styling.
Synopsis
class ExportPDFJob
extends AbstractQueuedJob
implements
QueuedJob
{
- // methods
- public void __construct()
- public string getTitle()
- public void setup()
- public void process()
Hierarchy
Extends
- AbstractQueuedJob
Implements
- QueuedJob
Methods
public
- __construct() — Constructor
- getTitle()
- process() — Process export to PDF
- setup() — Setup this queued job. This is only called the first time this job is executed (ie when currentStep is 0)