RelatedRecordsDataFromField
extends Base
in package
Related records data from field - class.
Table of Contents
- $allowedModules : array<string|int, mixed>
- $default : string
- $name : string
- $params : mixed
- $textParser : TextParser
- $type : mixed
- __construct() : mixed
- Construct.
- isActive() : bool
- Check if function is activated.
- process() : array<string|int, mixed>
- Process.
Properties
$allowedModules
public
array<string|int, mixed>
$allowedModules
Allowed modules
$default
public
string
$default
= "YFParser('\$(custom : RelatedRecordsDataFromField|__SOURCE_FIELD_NAME__|__RELATION_MODULE_OR_RELATION_ID__|__FIELDS__|__CONDITIONS__|__LIMIT__|__ORDER_BY__|__RELATION_CONDITION__)\$')"
Default template
$name
public
string
$name
= 'LBL_RECORDS_LIST_DATA_FROM_FIELD_TEMPLATE'
Class name
$params
public
mixed
$params
Additional params
$textParser
public
TextParser
$textParser
TextParser instance
$type
public
mixed
$type
= 'pdf'
Parser type
Methods
__construct()
Construct.
public
__construct(TextParser $textParser[, mixed $params = '' ]) : mixed
Parameters
- $textParser : TextParser
- $params : mixed = ''
Return values
mixed —isActive()
Check if function is activated.
public
isActive() : bool
Return values
bool —process()
Process.
public
process() : array<string|int, mixed>