Adventure Documentation

BlogCategoryController extends PageCommonController
in package

This controller describes the behavior of Blog Categories.

Use the controller to generate a collection of BlogCategory entities.

Tags
see
BlogCategory

Main entity of collection

see
BlogController

Use ID from this collection to fetch Blog entities using the 'categoryId' attribute

Table of Contents

__construct()  : mixed
Count()  : string
Get the number of blog posts in a category
getTranslation()  : string
Get translation data

Methods

__construct()

public __construct([mixed $parseUriParameters = false ]) : mixed
Parameters
$parseUriParameters : mixed = false
Tags
Return values
mixed

Count()

Get the number of blog posts in a category

public Count(mixed $BlogId) : string
Parameters
$BlogId : mixed
Tags
Return values
string

getTranslation()

Get translation data

public getTranslation(mixed $Id, mixed $Title[, mixed $LanguageIso = null ][, mixed $Module = 'blog_cat' ]) : string
Parameters
$Id : mixed
$Title : mixed
$LanguageIso : mixed = null
$Module : mixed = 'blog_cat'
Tags
Return values
string

        

Search results