Arikaim CMS

ConsoleHelper
in package

Console helper class

Table of Contents

Methods

checkMark()  : string
Get CHECK MARK
errorMark()  : string
Get error mark
getDescriptionText()  : string
Return description text
getLabelText()  : string
Return console label text
getStatusText()  : string
Return status label text
getYesNoText()  : string
Return Yes/No text
warning()  : string
Get warning

Methods

checkMark()

Get CHECK MARK

public static checkMark([string $space = ' ' ]) : string
Parameters
$space : string = ' '
Return values
string

errorMark()

Get error mark

public static errorMark([string $space = ' ' ]) : string
Parameters
$space : string = ' '
Return values
string

getDescriptionText()

Return description text

public static getDescriptionText(string $description) : string
Parameters
$description : string
Return values
string

getLabelText()

Return console label text

public static getLabelText(string $text[, string $color = 'green' ]) : string
Parameters
$text : string
$color : string = 'green'
Return values
string

getStatusText()

Return status label text

public static getStatusText(int $status) : string
Parameters
$status : int
Return values
string

getYesNoText()

Return Yes/No text

public static getYesNoText(bool $value) : string
Parameters
$value : bool
Return values
string

warning()

Get warning

public static warning([string $label = '!' ]) : string
Parameters
$label : string = '!'
Return values
string

        
On this page

Search results