Toast\QuickBlocks\TabbedContentBlock
Class TabbedContentBlock
Synopsis
class TabbedContentBlock
extends QuickBlock
{
- // members
- private static string $singular_name = 'Tabbed Content';
- private static string $plural_name = 'Tabbed Content';
- private static string $table_name = 'TabbedContentBlock';
- private static string $icon = 'quickblocks/images/utilityblock.png';
- private static array $db = ;
- private static array $has_many = ;
- // methods
- public void getCMSFields()
- public void getContentSummary()
- // Inherited methods from QuickBlock
- public void getIconForCMS()
- public void IconForCMS()
- public void forTemplate()
- public void getCMSFields()
- public void getContentSummary()
- public void getTitle()
- public String getApiURL()
- public string getLink()
- public void Link()
- public void getAbsoluteLink()
- public void AbsoluteLink()
- public void getHtmlID()
- public void getDisplayTitle()
- public void canView()
- public void canEdit()
- public void canDelete()
- public void canCreate()
- public void canDeleteFromLive()
- public bool canPublish()
- public bool isPublished()
- public bool isNew()
- public bool doArchive()
- public bool canArchive()
Hierarchy
Extends
Members
private
- $db
- $has_many
- $icon
- $plural_name
- $singular_name
- $table_name
Methods
public
Inherited from Toast\QuickBlocks\QuickBlock
public
- AbsoluteLink()
- IconForCMS()
- Link()
- canArchive() — Check if the current user is allowed to archive this page.
- canCreate()
- canDelete()
- canDeleteFromLive()
- canEdit()
- canPublish() — This function should return true if the current user can publish this page. It can be overloaded to customise the security model for an application.
- canView()
- doArchive() — Removes the page from both live and stage
- forTemplate()
- getAbsoluteLink()
- getApiURL() — For use in modals etc
- getCMSFields()
- getContentSummary()
- getDisplayTitle()
- getHtmlID()
- getIconForCMS()
- getLink()
- getTitle()
- isNew() — Check if this page is new - that is, if it has yet to have been written to the database.
- isPublished() — Check if this document has been published.