SilverStripe\StaticPublishQueue\Publisher\FilesystemPublisher
Synopsis
class FilesystemPublisher
extends Publisher
{
- // members
- protected string $destFolder = 'cache';
- protected string $fileExtension = 'php';
- // methods
- public string getDestPath()
- public void setDestFolder()
- public void getDestFolder()
- public void setFileExtension()
- public void getFileExtension()
- public void purgeURL()
- public void purgeAll()
- public array publishURL()
- protected bool publishRedirect()
- protected bool publishPage()
- protected bool saveToPath()
- protected void deleteFromPath()
- protected void URLtoPath()
- protected void pathToURL()
- public void getPublishedURLs()
- // Inherited methods from Publisher
- public HTTPResponse generatePageResponse()
- protected HTTPApplication getHTTPApplication()
- protected string generatePHPCacheFile()
- protected string generateHTMLCacheRedirection()
Hierarchy
Members
protected
- $destFolder — string
- $fileExtension — string
Methods
protected
- URLtoPath()
- deleteFromPath()
- pathToURL()
- publishPage()
- publishRedirect()
- saveToPath() — returns true on success and false on failure
public
- getDestFolder()
- getDestPath()
- getFileExtension()
- getPublishedURLs()
- publishURL()
- purgeAll()
- purgeURL()
- setDestFolder()
- setFileExtension()
Inherited from SilverStripe\StaticPublishQueue\Publisher
protected
- generateHTMLCacheRedirection()
- generatePHPCacheFile() — Generate the templated content for a PHP script that can serve up the given piece of content with the given age and expiry.
- getHTTPApplication()