viewVars
in package
Uses
escapeHelper
Defaul view vars
Tags
Table of Contents
- $activeTab : int
- $backdrop : string
- $basePath : string
- $bodyClass : string
- $buttons : array<string|int, mixed>
- $currentModule : string
- $currentUser : author
- $darkMode : bool
- $dateTimeMask : string
- $dateTimeZone : string
- $debugMode : bool
- $deprecationNotice : string
- $filesCss : array<string|int, mixed>
- $filesECMAFiles : array<string|int, mixed>
- $filesJs : array<string|int, mixed>
- $filesJsLate : array<string|int, mixed>
- $formActionTarget : string
- $frontEndLink : string
- $fullWrapper : bool
- $helpLink : string
- $includeForms : string
- $ipAddress : string
- $langCode : string
- $loggedIn : bool
- $loginTime : int
- $messages : array<string|int, mixed>
- $navigation : navigationList
- $notifications : notifications
- $notificationString : string
- $pager : pager
- $permissions : permissions
- $profileMenuButtons : array<string|int, mixed>
- $self : string
- $showOffCanvas : bool
- $showPageToken : bool
- $themePath : string
- $toolbarArea : string
- $toolbarItemRight : string
- $varsJs : array<string|int, mixed>
- $version : string
- $vars : array<string|int, mixed>
- Var values
- __call() : helper
- Return a view helper object
- __get() : mixed|null
- Magic Getter
- __set() : mixed
- Magic setter
- accordion() : accordion
- accordionItem() : accordionItem
- alert() : alert
- badge() : badge
- boolSelect() : boolSelect
- boolToText() : boolToText
- button() : button
- calcSize() : string
- Calculates bytes sizes
- checkbox() : checkbox
- clearArticleCacheButton() : clearArticleCacheButton
- controllerLink() : string
- Returns controller link
- dateText() : dateText
- dateTimeInput() : dateTimeInput
- defaultBoxHalf() : void
- Prints default box values
- deleteButton() : deleteButton
- dropdown() : dropdown
- dropdownItem() : dropdownItem
- editButton() : editButton
- escape() : escape
- escapeVal() : void
- Escapes given values
- getIncludePath() : string
- Return view include path
- hiddenInput() : hiddenInput
- icon() : icon
- Returns icon view helper object
- input() : input
- linkButton() : linkButton
- numberInput() : numberInput
- openButton() : openButton
- pager() : pager
- pageTokenField() : pageTokenField
- Returns page token field view helper object
- passwordInput() : passwordInput
- radiobutton() : radiobutton
- radiocheck() : radiocheck
- rangeInput() : rangeInput
- resetButton() : resetButton
- saveButton() : saveButton
- select() : select
- shorthelpButton() : shorthelpButton
- submitButton() : submitButton
- tabItem() : tabItem
- textarea() : textarea
- textInput() : textInput
- translate() : string
- Returns result of language variable
- wrapper() : wrapper
- write() : mixed
- Write result of language variable
- writeMonth() : mixed
- Displays month name by ID
Properties
$activeTab
public
int
$activeTab
$backdrop
public
string
$backdrop
$basePath
public
string
$basePath
$bodyClass
public
string
$bodyClass
$buttons
public
array<string|int, mixed>
$buttons
$currentModule
public
string
$currentModule
$currentUser
public
author
$currentUser
$darkMode
public
bool
$darkMode
$dateTimeMask
public
string
$dateTimeMask
$dateTimeZone
public
string
$dateTimeZone
$debugMode
public
bool
$debugMode
$deprecationNotice
public
string
$deprecationNotice
$filesCss
public
array<string|int, mixed>
$filesCss
$filesECMAFiles
public
array<string|int, mixed>
$filesECMAFiles
$filesJs
public
array<string|int, mixed>
$filesJs
$filesJsLate
public
array<string|int, mixed>
$filesJsLate
$formActionTarget
public
string
$formActionTarget
$frontEndLink
public
string
$frontEndLink
$fullWrapper
public
bool
$fullWrapper
$helpLink
public
string
$helpLink
$includeForms
public
string
$includeForms
$ipAddress
public
string
$ipAddress
$langCode
public
string
$langCode
$loggedIn
public
bool
$loggedIn
$loginTime
public
int
$loginTime
$messages
public
array<string|int, mixed>
$messages
$navigation
public
navigationList
$navigation
$notifications
public
notifications
$notifications
$notificationString
public
string
$notificationString
$pager
public
pager
$pager
$permissions
public
permissions
$permissions
$profileMenuButtons
public
array<string|int, mixed>
$profileMenuButtons
$self
public
string
$self
$showOffCanvas
public
bool
$showOffCanvas
$showPageToken
public
bool
$showPageToken
$themePath
public
string
$themePath
$toolbarArea
public
string
$toolbarArea
$toolbarItemRight
public
string
$toolbarItemRight
$varsJs
public
array<string|int, mixed>
$varsJs
$version
public
string
$version
$vars
Var values
private
array<string|int, mixed>
$vars
= []
Methods
__call()
Return a view helper object
public
__call(string $name, array<string|int, mixed> $arguments) : helper
Parameters
- $name : string
- $arguments : array<string|int, mixed>
Return values
helper —__get()
Magic Getter
public
__get(string $name) : mixed|null
Parameters
- $name : string
Return values
mixed|null —__set()
Magic setter
public
__set(string $name, mixed $value) : mixed
Parameters
- $name : string
- $value : mixed
Return values
mixed —accordion()
public
accordion(string $name, string $id) : accordion
Parameters
- $name : string
- $id : string
Return values
accordion —accordionItem()
public
accordionItem(string $name, string $id) : accordionItem
Parameters
- $name : string
- $id : string
Return values
accordionItem —alert()
public
alert(string $type) : alert
Parameters
- $type : string
Return values
alert —badge()
public
badge(string $name, string $id) : badge
Parameters
- $name : string
- $id : string
Return values
badge —boolSelect()
public
boolSelect(string $name, string $id) : boolSelect
Parameters
- $name : string
- $id : string
Return values
boolSelect —boolToText()
public
boolToText(string $name, string $id) : boolToText
Parameters
- $name : string
- $id : string
Return values
boolToText —button()
public
button(string $name, string $id) : button
Parameters
- $name : string
- $id : string
Return values
button —calcSize()
Calculates bytes sizes
public
calcSize(int $value[, int $decimals = 2 ][, string $delimDec = ',' ][, string $delimTousands = '.' ]) : string
Parameters
- $value : int
- $decimals : int = 2
- $delimDec : string = ','
- $delimTousands : string = '.'
Tags
Return values
string —checkbox()
public
checkbox(string $name, string $id) : checkbox
Parameters
- $name : string
- $id : string
Return values
checkbox —clearArticleCacheButton()
public
clearArticleCacheButton(string $name, string $id) : clearArticleCacheButton
Parameters
- $name : string
- $id : string
Return values
clearArticleCacheButton —controllerLink()
Returns controller link
public
controllerLink(string $controller[, array<string|int, mixed> $params = [] ]) : string
Parameters
- $controller : string
- $params : array<string|int, mixed> = []
Tags
Return values
string —dateText()
public
dateText(int $timespan, string $format) : dateText
Parameters
- $timespan : int
- $format : string
Return values
dateText —dateTimeInput()
public
dateTimeInput(string $name, string $id) : dateTimeInput
Parameters
- $name : string
- $id : string
Return values
dateTimeInput —defaultBoxHalf()
Prints default box values
public
final defaultBoxHalf() : void
Tags
Return values
void —deleteButton()
public
deleteButton(string $name, string $id) : deleteButton
Parameters
- $name : string
- $id : string
Return values
deleteButton —dropdown()
public
dropdown(string $name, string $id) : dropdown
Parameters
- $name : string
- $id : string
Return values
dropdown —dropdownItem()
public
dropdownItem(string $name, string $id) : dropdownItem
Parameters
- $name : string
- $id : string
Return values
dropdownItem —editButton()
public
editButton(string $name, string $id) : editButton
Parameters
- $name : string
- $id : string
Return values
editButton —escape()
public
escape(mixed $value, int $mode) : escape
Parameters
- $value : mixed
- $mode : int
Return values
escape —escapeVal()
Escapes given values
public
escapeVal(string $value[, int $mode = null ]) : void
Parameters
- $value : string
- $mode : int = null
Return values
void —getIncludePath()
Return view include path
public
getIncludePath(string $view) : string
Parameters
- $view : string
Return values
string —hiddenInput()
public
hiddenInput(string $name, string $id) : hiddenInput
Parameters
- $name : string
- $id : string
Return values
hiddenInput —icon()
Returns icon view helper object
public
final icon(string $icon[, string $prefix = 'fa' ][, bool $useFa = true ]) : icon
Parameters
- $icon : string
- $prefix : string = 'fa'
- $useFa : bool = true
Tags
Return values
icon —input()
public
input(string $name, string $id) : input
Parameters
- $name : string
- $id : string
Return values
input —linkButton()
public
linkButton(string $name, string $id) : linkButton
Parameters
- $name : string
- $id : string
Return values
linkButton —numberInput()
public
numberInput(string $name, string $id) : numberInput
Parameters
- $name : string
- $id : string
Return values
numberInput —openButton()
public
openButton(string $name, string $id) : openButton
Parameters
- $name : string
- $id : string
Return values
openButton —pager()
public
pager(string $actionLink, int $currentPage, int $currentPageItemsCount, int $itemsPerPage, int $maxItemCount) : pager
Parameters
- $actionLink : string
- $currentPage : int
- $currentPageItemsCount : int
- $itemsPerPage : int
- $maxItemCount : int
Return values
pager —pageTokenField()
Returns page token field view helper object
public
final pageTokenField() : pageTokenField
Tags
Return values
pageTokenField —passwordInput()
public
passwordInput(string $name, string $id) : passwordInput
Parameters
- $name : string
- $id : string
Return values
passwordInput —radiobutton()
public
radiobutton(string $name, string $id) : radiobutton
Parameters
- $name : string
- $id : string
Return values
radiobutton —radiocheck()
public
radiocheck(string $name, string $id) : radiocheck
Parameters
- $name : string
- $id : string
Return values
radiocheck —rangeInput()
public
rangeInput(string $name, string $id) : rangeInput
Parameters
- $name : string
- $id : string
Return values
rangeInput —resetButton()
public
resetButton(string $name, string $id) : resetButton
Parameters
- $name : string
- $id : string
Return values
resetButton —saveButton()
public
saveButton(string $name, string $id) : saveButton
Parameters
- $name : string
- $id : string
Return values
saveButton —select()
public
select(string $name, string $id) : select
Parameters
- $name : string
- $id : string
Return values
select —shorthelpButton()
public
shorthelpButton(string $name, string $id) : shorthelpButton
Parameters
- $name : string
- $id : string
Return values
shorthelpButton —submitButton()
public
submitButton(string $name, string $id) : submitButton
Parameters
- $name : string
- $id : string
Return values
submitButton —tabItem()
public
tabItem(string $name, string $id) : tabItem
Parameters
- $name : string
- $id : string
Return values
tabItem —textarea()
public
textarea(string $name, string $id) : textarea
Parameters
- $name : string
- $id : string
Return values
textarea —textInput()
public
textInput(string $name, string $id) : textInput
Parameters
- $name : string
- $id : string
Return values
textInput —translate()
Returns result of language variable
public
translate(string $var[, array<string|int, mixed> $params = [] ]) : string
Parameters
- $var : string
- $params : array<string|int, mixed> = []
Return values
string —wrapper()
public
wrapper(string $el, string $class, mixed $item) : wrapper
Parameters
- $el : string
- $class : string
- $item : mixed
Return values
wrapper —write()
Write result of language variable
public
write(string $var[, array<string|int, mixed> $params = [] ]) : mixed
Parameters
- $var : string
- $params : array<string|int, mixed> = []
Return values
mixed —writeMonth()
Displays month name by ID
public
writeMonth(int $monthId) : mixed
Parameters
- $monthId : int