CSFormulaService
This file defines the service for formulas.
Tags
Table of Contents
- executeFunctions() : array<string|int, mixed>
- Returns a list of all available formula functions.
- executeResolve() : string
- Resolves given string function based on the provided context.
Methods
executeFunctions()
Returns a list of all available formula functions.
public
executeFunctions() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —List of available formula functions.
executeResolve()
Resolves given string function based on the provided context.
public
executeResolve(string $sRecordClass, int $iRecordId, int $iAttributeId) : string
Parameters
- $sRecordClass : string
-
The class of the context record.
- $iRecordId : int
-
The id of the context record.
- $iAttributeId : int
-
The id of the context attribute.
Tags
Return values
string —The resolved fomula string.
