Webylon 3.2 API Docs
  • Package
  • Class
  • Tree
  • Deprecated
  • Download
Version: current
  • 3.2
  • 3.1

Packages

  • 1c
    • exchange
      • catalog
  • auth
  • Booking
  • building
    • company
  • cart
    • shipping
    • steppedcheckout
  • Catalog
    • monument
  • cms
    • assets
    • batchaction
    • batchactions
    • bulkloading
    • comments
    • content
    • core
    • export
    • newsletter
    • publishers
    • reports
    • security
    • tasks
  • Dashboard
  • DataObjectManager
  • event
  • faq
  • forms
    • actions
    • core
    • fields-basic
    • fields-dataless
    • fields-datetime
    • fields-files
    • fields-formatted
    • fields-formattedinput
    • fields-relational
    • fields-structural
    • transformations
    • validators
  • googlesitemaps
  • guestbook
  • installer
  • newsletter
  • None
  • photo
    • gallery
  • PHP
  • polls
  • recaptcha
  • sapphire
    • api
    • bulkloading
    • control
    • core
    • cron
    • dev
    • email
    • fields-formattedinput
    • filesystem
    • formatters
    • forms
    • i18n
    • integration
    • misc
    • model
    • parsers
    • search
    • security
    • tasks
    • testing
    • tools
    • validation
    • view
    • widgets
  • seo
    • open
      • graph
  • sfDateTimePlugin
  • spamprotection
  • stealth
    • captha
  • subsites
  • userform
    • pagetypes
  • userforms
  • webylon
  • widgets

Classes

  • FilesystemPublisher
  • RsyncMultiHostPublisher
  • StaticPublisher

Class StaticPublisher

Extension
Extended by DataObjectDecorator
Extended by StaticPublisher

Direct known subclasses

FilesystemPublisher

Indirect known subclasses

RsyncMultiHostPublisher

Abstract
Package: cms\publishers
Located at cms/code/staticpublisher/StaticPublisher.php

Methods summary

abstract public
# publishPages( mixed $pages )
abstract public
# unpublishPages( mixed $pages )
public static
# echo_progress( )
public static
# set_echo_progress( mixed $progress )

Either turns on (boolean true) or off (boolean false) the progress indicators.

Either turns on (boolean true) or off (boolean false) the progress indicators.

See

StaticPublisher::$echo_progress
public
# onAfterPublish( mixed $original )

Called after a page is published.

Called after a page is published.

public
# onRenameLinkedAsset( mixed $original )

Called after link assets have been renamed, and the live site has been updated, without an actual publish event.

Called after link assets have been renamed, and the live site has been updated, without an actual publish event.

Only called if the published content exists and has been modified.

public
# republish( mixed $original )
public
# onAfterUnpublish( mixed $page )

On after unpublish, get changes and hook into underlying functionality

On after unpublish, get changes and hook into underlying functionality

public
# externalReferencesFor( mixed $content )

Get all external references to CSS, JS,

Get all external references to CSS, JS,

public
# set_static_publisher_theme( mixed $theme )
public
# static_publisher_theme( )

Methods inherited from DataObjectDecorator

augmentDatabase(), augmentSQL(), augmentWrite(), can(), canCreate(), canDelete(), canEdit(), extraStatics(), flushCache(), load_extra_statics(), onAfterDelete(), onAfterWrite(), onBeforeDelete(), onBeforeWrite(), populateDefaults(), requireDefaultRecords(), updateCMSActions(), updateCMSFields(), updateFieldLabels(), updateFrontEndFields(), updateSummaryFields()

Methods inherited from Extension

__construct(), clearOwner(), getOwner(), get_classname_without_arguments(), setOwner()

Magic methods summary

Properties summary

public static boolean $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)

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)

public static boolean $disable_realtime
#

Realtime static publishing... the second a page is saved, it is written to the cache

Realtime static publishing... the second a page is saved, it is written to the cache

public static boolean $static_publisher_theme
#

Properties inherited from DataObjectDecorator

$decoratable_statics

Properties inherited from Extension

$allowed_actions, $class, $owner, $ownerBaseClass

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -
Webylon 3.2 API Docs API documentation generated by ApiGen 2.8.0