\LiveFilesystemPublisher
Same as FilesystemPublisher but allows use of LivePubHelper stuff.
- Author: Mark Guinn <mark@adaircreative.com>
Synopsis
class LiveFilesystemPublisher
extends FilesystemPublisher
{
- // members
- private static string $security_token_placeholder = 'LIVESECURITYTOKENGOESHERE';
- // methods
- protected string generatePHPCacheFile()
- public array publishPages()
- public Session getFreshSession()
- public array realPublishPages()
Hierarchy
Extends
- FilesystemPublisher
Tasks
Line | Task |
---|---|
122 | - Make a more memory efficient publisher |
Members
private
- $security_token_placeholder — string
Methods
protected
- generatePHPCacheFile() — Generate the templated content for a PHP script that can serve up the given piece of content with the given age and expiry.
public
- getFreshSession()
- publishPages() — Wrapper for parent funciton. Switches on and off livepub publishing.
- realPublishPages() — Uses {@link Director::test()} to perform in-memory HTTP requests on the passed-in URLs.