BrandController
extends UserController
in package
This controller describes the behavior of Brand.
Use the controller to generate a collection of UserItem entities.
Tags
Table of Contents
- __construct() : mixed
- getDescription() : string
- Get the description of the entity
- getTranslation() : string
- Get translation data
- hashParametersForFacebook() : object
- Hash parameters for Facebook Marketing
- preload() : mixed
Methods
__construct()
public
__construct([mixed $parseUriParameters = false ]) :
mixed
Parameters
- $parseUriParameters : mixed = false
Tags
Return values
mixed —getDescription()
Get the description of the entity
public
getDescription(mixed $Id[, mixed $LanguageIso = null ]) :
string
Parameters
- $Id : mixed
- $LanguageIso : mixed = null
Tags
Return values
string —getTranslation()
Get translation data
public
getTranslation(int $Id, string $Title[, string $LanguageIso = null ][, string $Module = 'user' ]) :
string
Parameters
- $Id : int
-
of the entity
- $Title : string
-
of the entity
- $LanguageIso : string = null
-
(default: current language)
- $Module : string = 'user'
-
of the entity (default: brand)
Tags
Return values
string —hashParametersForFacebook()
Hash parameters for Facebook Marketing
public
hashParametersForFacebook(FrameUser|UserItem $user) :
object
Parameters
- $user : FrameUser|UserItem
Tags
Return values
object —preload()
public
preload(mixed $ids) :
mixed
Parameters
- $ids : mixed