\BlogTag
A blog tag for keyword descriptions of a Blog post
- Author: Michael Strong <github@michaelstrong.co.uk>
Synopsis
class BlogTag
extends DataObject
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $belongs_many_many = ;
- private static array $extensions = ;
- // methods
- public void getCMSFields()
- public string getLink()
- public boolean canView()
- public boolean canCreate()
- public boolean canDelete()
- public boolean canEdit()
Hierarchy
Extends
- DataObject
Members
private
- $belongs_many_many
- $db
- $extensions
- $has_one
Methods
public
- canCreate() — Inherits from the parent blog or can be overwritten using a DataExtension
- canDelete() — Inherits from the parent blog or can be overwritten using a DataExtension
- canEdit() — Inherits from the parent blog or can be overwritten using a DataExtension
- canView() — Inherits from the parent blog or can be overwritten using a DataExtension
- getCMSFields()
- getLink() — Returns a relative URL for the tag link.