Plugin Framework Function replacePhraseCodesInString()

protected final function replacePhraseCodesInString(
&$string
)

Summary

Inserts phrases into text containing Phrase Codes.

Where You Can Use It

Can be used in methods called by plugins. From Zenario 7.0.0 onwards.

Description

Given a string with phrase codes in the format [[_PHRASE_CODE]], this fuction will replace all of the phrases with their values.

Parameters

$string

A variable containing the text to insert phrase codes into.

Return Value

No return value.