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

Packages

  • auth
  • Booking
  • cart
    • shipping
    • steppedcheckout
  • Catalog
  • 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 RsyncMultiHostPublisher

This static publisher can be used to deploy static content to multiple hosts, by generating the cache files locally and then rsyncing then to each destination box. This can be used to set up a load-balanced collection of static servers.

Extension
Extended by DataObjectDecorator
Extended by StaticPublisher
Extended by FilesystemPublisher
Extended by RsyncMultiHostPublisher
Package: cms\publishers
See: http://doc.silverstripe.com/doku.php?id=staticpublisher
Located at cms/code/staticpublisher/RsyncMultiHostPublisher.php

Methods summary

public static
# set_targets( mixed $targets )

Set the targets to publish to. If target is an scp-style remote path, no password is accepted - we assume key-based authentication to be set up on the application server initiating the publication.

Set the targets to publish to. If target is an scp-style remote path, no password is accepted - we assume key-based authentication to be set up on the application server initiating the publication.

Parameters

$targets
$targets An array of targets to publish to. These can either be local file names, or scp-style targets, in the form "user@server:path"
public
# publishPages( mixed $urls )

Overrides

FilesystemPublisher::publishPages

Methods inherited from FilesystemPublisher

__construct(), generatePHPCacheFile(), generatePHPCacheRedirection(), getDestDir(), getExistingStaticCacheFiles(), set_static_base_url(), unpublishPages(), urlsToPaths()

Methods inherited from StaticPublisher

echo_progress(), externalReferencesFor(), onAfterPublish(), onAfterUnpublish(), onRenameLinkedAsset(), republish(), set_echo_progress(), set_static_publisher_theme(), 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

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

Magic methods summary

Properties summary

public static mixed $targets
#

Array of rsync targets to publish to. These can either be local file names, or scp-style targets, in the form "user@server:path"

Array of rsync targets to publish to. These can either be local file names, or scp-style targets, in the form "user@server:path"

Properties inherited from FilesystemPublisher

$destFolder, $domain_based_caching, $fileExtension, $static_base_url

Properties inherited from StaticPublisher

$disable_realtime, $echo_progress, $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.1 API Docs API documentation generated by ApiGen 2.8.0