InputVariableReader
in package
Tags
Table of Contents
- $_module : string
- $_pConfig : InputVariableReaderConfig
- __construct() : mixed
- getFieldType() : string
- getFieldValue() : array<string|int, mixed>|string
- getFieldValueFormatted() : array<string|int, mixed>|string
- getModule() : string
- formatValue() : string|array<string|int, mixed>
- getValue() : mixed
- getValueByFullInputNameAndType() : array<string|int, mixed>|string
Properties
$_module
private
string
$_module
= null
$_pConfig
private
InputVariableReaderConfig
$_pConfig
= null
Methods
__construct()
public
__construct(string $module[, InputVariableReaderConfig $pConfig = null ]) : mixed
Parameters
- $module : string
- $pConfig : InputVariableReaderConfig = null
Return values
mixed —getFieldType()
public
getFieldType(string $fieldName) : string
Parameters
- $fieldName : string
Return values
string —getFieldValue()
public
getFieldValue(string $field) : array<string|int, mixed>|string
Parameters
- $field : string
Return values
array<string|int, mixed>|string —getFieldValueFormatted()
public
getFieldValueFormatted(string $fieldInput) : array<string|int, mixed>|string
Parameters
- $fieldInput : string
Return values
array<string|int, mixed>|string —getModule()
public
getModule() : string
Return values
string —formatValue()
private
formatValue(string|array<string|int, mixed>|float $value, string $type) : string|array<string|int, mixed>
Parameters
- $value : string|array<string|int, mixed>|float
- $type : string
Return values
string|array<string|int, mixed> —getValue()
private
getValue(string $name, int $filters) : mixed
Parameters
- $name : string
- $filters : int
Return values
mixed —getValueByFullInputNameAndType()
private
getValueByFullInputNameAndType(string $fullInputName, string $type) : array<string|int, mixed>|string
Parameters
- $fullInputName : string
- $type : string