SilverWare\Social\Extensions\PageExtension
A data extension which adds social settings to pages.
- Author: Colin Tucker <colin@praxis.net.au>
- Copyright: 2017 Praxis Interactive
- License: https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
Synopsis
class PageExtension
extends DataExtension
{
- // methods
- public void updateSettingsFields()
- public void updateFieldLabels()
- public boolean isSharingDisabled()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Members
private
- $db
—
array
Maps field names to field types for the extended object. - $defaults
—
array
Defines the default values for the fields of the extended object.
Methods
public
- isSharingDisabled() — Answers true if sharing is disabled for the extended object.
- updateFieldLabels() — Updates the field labels of the extended object.
- updateSettingsFields() — Updates the CMS settings fields of the extended object.