EasyBlogThemesHelperPost
in package
Table of Contents
Methods
- admin() : mixed
- Renders the admin tools for posts
- author() : mixed
- Renders the author meta of a post
- category() : mixed
- Renders the categories meta of a post
- comments() : mixed
- Renders the contriburo metadata of a post
- contributor() : mixed
- Renders the contriburo metadata of a post
- copyrights() : mixed
- Renders the copyrights of a post
- date() : mixed
- Renders the date area of a post
- featured() : mixed
- Renders the featured metadata of a post
- fields() : mixed
- Renders custom fields for ap ost
- hits() : mixed
- Renders the hits meta of a post
- icon() : mixed
- Renders the title area of a post
- location() : mixed
- Renders the location area of a post
- protectedPost() : mixed
- Renders the protected form
- ratings() : mixed
- Renders the ratings part of a post
- reactions() : mixed
- Renders the reactions part of a post
- socialShare() : mixed
- Renders the social buttons for a post. It can be used anywhere, either from the listing or the entry since they share the same DOM
- tags() : mixed
- Renders the tags for a post. It can be used anywhere, either from the listing or the entry since they share the same DOM
Methods
admin()
Renders the admin tools for posts
public
admin(EasyBlogPost $post[, mixed $returnUrl = null ]) : mixed
Parameters
- $post : EasyBlogPost
- $returnUrl : mixed = null
Tags
author()
Renders the author meta of a post
public
author(mixed $authorName, mixed $authorPermalink[, mixed $icon = false ]) : mixed
Parameters
- $authorName : mixed
- $authorPermalink : mixed
- $icon : mixed = false
Tags
category()
Renders the categories meta of a post
public
category(mixed $categories[, mixed $icon = false ]) : mixed
Parameters
- $categories : mixed
- $icon : mixed = false
Tags
comments()
Renders the contriburo metadata of a post
public
comments(mixed $total, mixed $permalink[, mixed $icon = false ]) : mixed
Parameters
- $total : mixed
- $permalink : mixed
- $icon : mixed = false
Tags
contributor()
Renders the contriburo metadata of a post
public
contributor(mixed $contributor[, mixed $avatar = false ]) : mixed
Parameters
- $contributor : mixed
- $avatar : mixed = false
Tags
copyrights()
Renders the copyrights of a post
public
copyrights(mixed $copyrights) : mixed
Parameters
- $copyrights : mixed
Tags
date()
Renders the date area of a post
public
date(EasyBlogPost $post, mixed $dateSource[, mixed $format = 'DATE_FORMAT_LC1' ][, mixed $icon = false ]) : mixed
Parameters
- $post : EasyBlogPost
- $dateSource : mixed
- $format : mixed = 'DATE_FORMAT_LC1'
- $icon : mixed = false
Tags
featured()
Renders the featured metadata of a post
public
featured([mixed $icon = false ][, mixed $text = true ]) : mixed
Parameters
- $icon : mixed = false
- $text : mixed = true
Tags
fields()
Renders custom fields for ap ost
public
fields(EasyBlogPost $post, mixed $fields) : mixed
Parameters
- $post : EasyBlogPost
- $fields : mixed
Tags
hits()
Renders the hits meta of a post
public
hits(EasyBlogPost $post[, mixed $icon = false ]) : mixed
Parameters
- $post : EasyBlogPost
- $icon : mixed = false
Tags
icon()
Renders the title area of a post
public
icon(mixed $icon[, mixed $class = '' ]) : mixed
Parameters
- $icon : mixed
- $class : mixed = ''
Tags
location()
Renders the location area of a post
public
location(EasyBlogPost $post) : mixed
Parameters
- $post : EasyBlogPost
Tags
protectedPost()
Renders the protected form
public
protectedPost(EasyBlogPost $post[, mixed $options = [] ]) : mixed
Parameters
- $post : EasyBlogPost
- $options : mixed = []
Tags
ratings()
Renders the ratings part of a post
public
ratings(mixed $post[, mixed $locked = false ]) : mixed
Parameters
- $post : mixed
- $locked : mixed = false
Tags
reactions()
Renders the reactions part of a post
public
reactions(mixed $post) : mixed
Parameters
- $post : mixed
Tags
socialShare()
Renders the social buttons for a post. It can be used anywhere, either from the listing or the entry since they share the same DOM
public
socialShare(EasyBlogPost $post[, mixed $type = 'listings' ]) : mixed
Parameters
- $post : EasyBlogPost
- $type : mixed = 'listings'
Tags
tags()
Renders the tags for a post. It can be used anywhere, either from the listing or the entry since they share the same DOM
public
tags(mixed $tags) : mixed
Parameters
- $tags : mixed