\PublishRefreshPDF
Generates a PDF version of the page when one on it's element is republished
Synopsis
class PublishRefreshPDF
extends DataExtension
{
- // methods
- public void onAfterPublish()
- public void onAfterVersionedPublish()
- public void triggerGeneratePDF()
- private static void getParents()
Hierarchy
Extends
- DataExtension
Methods
private
- getParents() — Go throught tree upward to find all parents
public
- onAfterPublish()
- onAfterVersionedPublish() — Versioned DataObject (Elemental)
- triggerGeneratePDF() — Call method regeneratePDF() on supplied page and its parents if extend AutoGeneratePDF