syscheckOption
in
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
$current
Current value
protected
string
$current
= ''
$helplink
Help link
protected
string
$helplink
= ''
$result
Check result
protected
bool
$result
= false
$optional
Option is not required
protected
bool
$optional
= false
$isFolder
Option is checked folder
protected
bool
$isFolder
= false
$actionButton
Option is checked folder
protected
linkButton
$actionButton
$notice
Add Notice
protected
string
$notice
= ''
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
mixedgetActionButton()
Return button code
public
getActionButton(
)
: string
Return values
stringsetActionButton()
Set Action Button
public
setActionButton(
$actionButton :
linkButton
)
: mixed
Parameters
- $actionButton : linkButton
Return values
mixedgetNotice()
Returns notice
public
getNotice(
)
: string
Return values
stringsetNotice()
Set notice
public
setNotice(
$notice :
string
)
: mixed
Parameters
- $notice : string
Return values
mixedgetCurrent()
Returns current value
public
getCurrent(
)
: string
Return values
stringgetHelplink()
Returns info/help link
public
getHelplink(
)
: string
Return values
stringgetResult()
Returns check value
public
getResult(
)
: string
Return values
stringgetOptional()
Returns optional flasg
public
getOptional(
)
: bool
Return values
boolisFolder()
Returns if folder was checked
public
isFolder(
)
: string
Return values
stringasString()
Returns check string for cli
public
asString(
$descr :
string
)
: string
Parameters
- $descr : string