HtmlFormatComponent
extends Injectable
in package
Class HtmlFormatComponent
Table of Contents
Properties
Methods
- boolAs() : mixed
- boolAs01() : mixed
- countryName() : mixed
- countryTwo() : mixed
- countryTwoAndName() : mixed
- date() : mixed
- datebyFormat() : mixed
- formatDate() : mixed
- percent() : mixed
- price() : mixed
- priceValue() : mixed
- stringFromHex() : mixed
- userClient() : mixed
Properties
$trans read-only
public
Translator
$trans
Methods
boolAs()
public
boolAs(mixed $bool[, mixed $asFalse = '0' ][, mixed $asTrue = '1' ]) : mixed
Parameters
- $bool : mixed
- $asFalse : mixed = '0'
- $asTrue : mixed = '1'
boolAs01()
public
boolAs01(mixed $bool) : mixed
Parameters
- $bool : mixed
countryName()
public
countryName(mixed $countryId) : mixed
Parameters
- $countryId : mixed
countryTwo()
public
countryTwo(mixed $countryId) : mixed
Parameters
- $countryId : mixed
countryTwoAndName()
public
countryTwoAndName(mixed $countryId) : mixed
Parameters
- $countryId : mixed
date()
public
date(mixed $dateStr) : mixed
Parameters
- $dateStr : mixed
datebyFormat()
public
datebyFormat(mixed $datestring, string $format) : mixed
Parameters
- $datestring : mixed
- $format : string
formatDate()
public
formatDate(mixed $datestring[, mixed $time = true ]) : mixed
Parameters
- $datestring : mixed
- $time : mixed = true
percent()
public
percent(mixed $percent) : mixed
Parameters
- $percent : mixed
price()
public
price(mixed $price, mixed $currency) : mixed
Parameters
- $price : mixed
- $currency : mixed
priceValue()
public
priceValue(mixed $price) : mixed
Parameters
- $price : mixed
stringFromHex()
public
stringFromHex([string $hexCode = null ]) : mixed
Parameters
- $hexCode : string = null
userClient()
public
userClient(mixed $user) : mixed
Parameters
- $user : mixed