\StaticPublisher
Synopsis
class StaticPublisher
extends DataObjectDecorator
{
- // members
- public static boolean $echo_progress = false;
- public static boolean $disable_realtime = false;
- public static boolean $static_publisher_theme = false;
- // methods
- public abstract void publishPages()
- public abstract void unpublishPages()
- public static void echo_progress()
- public static void set_echo_progress()
- public void onAfterPublish()
- public void onRenameLinkedAsset()
- public void republish()
- public void onAfterUnpublish()
- public void externalReferencesFor()
- public void set_static_publisher_theme()
- public void static_publisher_theme()
Hierarchy
Extends
- DataObjectDecorator
Members
public
-
$disable_realtime
Realtime static publishing... the second a page is saved, it is written to the cache -
$echo_progress
Defines whether to output information about publishing or not. By default, this is off, and should be turned on when you want debugging (for example, in a cron task) - $static_publisher_theme
Methods
public
- echo_progress()
- externalReferencesFor() — Get all external references to CSS, JS,
- onAfterPublish() — Called after a page is published.
- onAfterUnpublish() — On after unpublish, get changes and hook into underlying functionality
- onRenameLinkedAsset() — Called after link assets have been renamed, and the live site has been updated, without an actual publish event.
- publishPages()
- republish()
- set_echo_progress() — Either turns on (boolean true) or off (boolean false) the progress indicators.
- set_static_publisher_theme()
- static_publisher_theme()
- unpublishPages()