Frontend | Backend | Api

Blogs\Models\Api\Blog

Blog

Property Description Returns
text Get the description for this blog. Also parses image and link placeholders in the process. string
fullSlug Get the full slug of the blog string
fullPath Get the full path for the blog including the module route string
originalPath Get the original path for the blog without custom urls applied string
areas Collection
areaGroups Gets the layout area groups Collection
id int
name string
slug string
totalPostsCount int
publishedPostsCount int
totalCommentsCount int
publishedCommentsCount int
created Get the date the record was created. DateTime
modified Get the last modification date for the record. DateTime
published Get the date the record was published or is scheduled to be published. DateTime
published Check if the record is published. bool
author Author
site Site
image Image
layout Layout
postsLayout Layout
allowRss bool
lockComments bool
autoPublishPosts bool
autoPublishComments bool
requireCommentatorEmail bool
tags Collection (Tag)
categories Collection (Category)
posts Collection (Post)
seoSettings SeoSettings
language Language
sourceBlog Blog
relatedBlogs Collection (Blog)
owner User
blogAreas Collection (BlogArea)
customUrl Get the custom url used for the page. This will take precedence over the slugs of this page, parent page and the module. CustomUrl
areasContent Fetch content for all layout areas defined for the model as AreasContent object AreasContent