SilverWare\Google\Extensions\GoogleConfig
An extension of the services config class which adds Google settings to site configuration.
- Author: Colin Tucker <colin@praxis.net.au>
- Copyright: 2017 Praxis Interactive
- License: https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
Synopsis
class GoogleConfig
extends ServicesConfig
{
- // members
- private static array $db = ;
- // methods
- public void updateCMSFields()
- public void updateFieldLabels()
- public void onBeforeWrite()
- public array getBodyAttributes()
- public array getGoogleLanguageOptions()
- public string getGoogleStatusMessage()
- protected string getVerificationCode()
Hierarchy
Extends
- SilverWare\Extensions\Config\ServicesConfig
Members
private
- $db
—
array
Maps field names to field types for this object.
Methods
protected
- getVerificationCode() — Removes any HTML present in the pasted value and answers the verification code.
public
- getBodyAttributes() — Answers the HTML tag attributes for the body as an array.
- getGoogleLanguageOptions() — Answers an array of options for the language field.
- getGoogleStatusMessage() — Answers a status message array for the CMS interface.
- onBeforeWrite() — Event method called before the receiver is written to the database.
- updateCMSFields() — Updates the CMS fields of the extended object.
- updateFieldLabels() — Updates the field labels of the extended object.