\LinkBlock
Class FeedBlock
Extends to facilitate links
Synopsis
class LinkBlock
extends Block
{
- // members
- private static array $db = ;
- private static array $summary_fields = ;
- // methods
- public FieldList getCMSFields()
- public string URL()
- public string Title()
- public bool IsExternal()
- public bool IsInternal()
- // Inherited methods from Block
- public void __construct()
- public FieldList getCMSFields()
- public string LeadInText()
- public string ContentText()
- public Image Thumbnail()
- public bool HasLink()
- public bool LinkIsExternal()
- public string LinkURL()
- public string LinkTitle()
- public string Link()
- public string LinkDetails()
Hierarchy
Extends
Members
private
- $db
—
array
Fields - $summary_fields
—
array
Summary fields for GridField
Methods
public
- IsExternal() — Get link is external
- IsInternal() — Get link is internal
- Title() — Get link title
- URL() — Get link url
- getCMSFields() — Get CMS fields
Inherited from Block
public
- ContentText() — Text-only Content
- HasLink() — Check if this block has a valid link
- LeadInText() — Text-only Lead In
- Link() — Get compiled link
- LinkDetails() — Get link details
- LinkIsExternal() — Check if link is external
- LinkTitle() — Get link title
- LinkURL() — Get link url
- Thumbnail() — Get thumbnail for list in admin
- getCMSFields() — Get CMS fields