\ViewTemplatePageExtension
ViewTemplatePageExtension is the admin model class to manage view templates.
- Author: Mohamed Alsharaf <mohamed.alsharaf@gmail.com>
Synopsis
class ViewTemplatePageExtension
extends DataExtension
{
- // members
- private static array $db = ;
- // methods
- public void __construct()
- public string Content()
- public string replacePlaceholders()
- public void updateSettingsFields()
Hierarchy
Extends
- DataExtension
Members
private
- $db
—
array
Page setting field for module status.
Methods
public
- __construct()
- Content() — Override the Content property from the page object.
- replacePlaceholders() — Replaces placeholders within the $content property their actual value.
- updateSettingsFields() — Add an element to the page settings tab to set the status of this module (enabled or not enabled).