ProductsTableRelatedModule
extends Base
in package
Products table related module class.
Tags
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() : string
- Process.
Properties
$allowedModules
public
array<string|int, mixed>
$allowedModules
Allowed modules
$default
public
string
$default
= '$(custom : ProductsTableRelatedModule|__MODULE_NAME__|__RELATION_FIELD_NAME__|__INVENTORY_FIELDS__)$'
Default template Example: $(custom : ProductsTableRelatedModule|FInvoiceProforma|finvoiceproformaid|seq,name,qty,discount,currency,discountmode,taxmode,price,gross,net,tax,total)$
$name
public
string
$name
= 'LBL_PRODUCTS_TABLE_RELATED_MODULE'
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() : string