Contentserv PHP API

CSFormulaService

This file defines the service for formulas.

Tags
since

CS20.0

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
access

public

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
access

public

Return values
string

The resolved fomula string.


        

Search results