Documentation

syscheckOption

System config Objekt

Table of Contents

$current Current value string
$helplink Help link string
$result Check result bool
$optional Option is not required bool
$isFolder Option is checked folder bool
$actionButton Option is checked folder linkButton
$notice Add Notice string
__construct() Konstruktor mixed
getActionButton() Return button code string
setActionButton() Set Action Button mixed
getNotice() Returns notice string
setNotice() Set notice mixed
getCurrent() Returns current value string
getHelplink() Returns info/help link string
getResult() Returns check value string
getOptional() Returns optional flasg bool
isFolder() Returns if folder was checked string
asString() Returns check string for cli string

Properties

$optional

Option is not required

protected bool $optional = false

$isFolder

Option is checked folder

protected bool $isFolder = false

Methods

__construct()

Konstruktor

public __construct( $current : string , $helplink : string , $result : bool [, $optional : bool = false ] [, $isFolder : bool = false ] ) : mixed
Parameters
$current : string
$helplink : string
$result : bool
$optional : bool = false
$isFolder : bool = false
Return values
mixed

getActionButton()

Return button code

public getActionButton( ) : string
Return values
string

getNotice()

Returns notice

public getNotice( ) : string
Return values
string

setNotice()

Set notice

public setNotice( $notice : string ) : mixed
Parameters
$notice : string
Return values
mixed

getCurrent()

Returns current value

public getCurrent( ) : string
Return values
string

getHelplink()

Returns info/help link

public getHelplink( ) : string
Return values
string

getResult()

Returns check value

public getResult( ) : string
Return values
string

getOptional()

Returns optional flasg

public getOptional( ) : bool
Return values
bool

isFolder()

Returns if folder was checked

public isFolder( ) : string
Return values
string

asString()

Returns check string for cli

public asString( $descr : string ) : string
Parameters
$descr : string
Return values
string

Search results