BlogObject
trait BlogObject (View source)
An object shared by BlogTag and BlogCategory.
Methods
getCMSFields()
{@inheritdoc}
validate()
{@inheritdoc}
string
getLink()
Returns a relative link to this category.
bool
canCreate($member = null, $context = [])
{@inheritdoc}
bool
bool
string
generateURLSegment(int $increment = 0)
Generates a unique URLSegment from the title.
Details
DataList
BlogPosts(int|array|null $id = null)
getCMSFields()
{@inheritdoc}
ValidationResult
validate()
{@inheritdoc}
string
getLink()
Returns a relative link to this category.
bool
canView(null|Member $member = null)
Inherits from the parent blog or can be overwritten using a DataExtension.
canCreate($member = null, $context = [])
{@inheritdoc}
bool
canDelete(null|Member $member = null)
Inherits from the parent blog or can be overwritten using a DataExtension.
bool
canEdit(null|Member $member = null)
Inherits from the parent blog or can be overwritten using a DataExtension.
string
generateURLSegment(int $increment = 0)
Generates a unique URLSegment from the title.