SilverWare\Navigation\Extensions\PageExtension
A data extension which adds navigation 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
{
- // members
- private static array $db = ;
- private static array $defaults = ;
- private static array $belongs_many_many = ;
- // methods
- public void updateSettingsFields()
- public void updateFieldLabels()
- public ArrayList getMainMenuChildren()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Members
private
- $belongs_many_many
—
array
Defines the reciprocal many-many associations for this object. - $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
- getMainMenuChildren() — Answers the children of the extended object which are to be shown in the main menu.
- updateFieldLabels() — Updates the field labels of the extended object.
- updateSettingsFields() — Updates the CMS settings fields of the extended object.