SilverWare\AGLS\Extensions\Config\AGLSConfig
A config extension which adds AGLS settings to site configuration.
- Author: Colin Tucker <colin@praxis.net.au>
- Copyright: 2018 Praxis Interactive
- License: https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
Synopsis
class AGLSConfig
extends ConfigExtension
{
- // methods
- public void updateCMSFields()
- public void updateFieldLabels()
- public void onBeforeWrite()
- public string getAGLSCreator()
- public string getAGLSPublisher()
- protected string getAGLSArrayAsString()
Hierarchy
Extends
- SilverWare\Extensions\ConfigExtension
Members
private
- $db
—
array
Maps field names to field types for this object. - $defaults
—
array
Defines the default values for the fields of this object.
Methods
protected
- getAGLSArrayAsString() — Converts the given associative array of AGLS metadata to a string.
public
- getAGLSCreator() — Answers a string containing the AGLS creator metadata.
- getAGLSPublisher() — Answers a string containing the AGLS publisher metadata.
- onBeforeWrite() — Event method called before the extended object is written to the database.
- updateCMSFields() — Updates the CMS fields of the extended object.
- updateFieldLabels() — Updates the field labels of the extended object.