\HTMLBlock
Created by PhpStorm.
User: qunabu
Date: 25.01.16
Time: 10:49
Synopsis
class HTMLBlock
extends DataObject
{
- // members
- public static string $singular_name = 'HTMLBlock';
- public static string $plural_name = 'HTMLBlocks';
- public static array $summary_fields = ;
- public static array $db = ;
- public static array $defaults = ;
- // methods
- public void getCode()
- public void getShortCode()
- public static void getBlockByID()
- public static void doesExists()
- public void forTemplate()
- public void getCMSFields()
- public static String parse_shortcode()
- public void getShortcodableRecords()
- public void onAfterWrite()
Hierarchy
Extends
- DataObject
Members
public
- $db
- $defaults
- $plural_name
- $singular_name
- $summary_fields
Methods
public
- doesExists()
- forTemplate()
- getBlockByID()
- getCMSFields()
- getCode()
- getShortCode()
- getShortcodableRecords()
- onAfterWrite()
- parse_shortcode() — Parse the shortcode and render as a string, probably with a template