\KeywordInsertionPage
This module adds a page type to provides keyword insertion into a normal text using wildcards.
Synopsis
class KeywordInsertionPage
extends Page
{
- // members
- private static array $has_many = ;
- public static array $defaults = ;
- public static string $description = 'Seite mit Keyword Insertion funktion.';
- private static string $icon = 'mysite/images/sitetree/KeywordInsertionPage.png';
- private array $allKeywordData = ;
- // methods
- public FieldList getCMSFields()
- public string renderContent()
- protected string getInsertionContent()
- protected getInsertionItemList()
Hierarchy
Extends
- Page
Members
private
- $allKeywordData — array
- $has_many — array
- $icon — string
public
- $defaults — array
- $description — string
Methods
protected
- getInsertionContent() — Get text to parse
- getInsertionItemList() — Get KeywordInsertionItems object
public
- getCMSFields() — Set the fields for cms.
- renderContent() — Parse the content of this page with insertion values based on given keyword