protected static
|
#
getReplacementTokens( string $value, array $params, boolean $renderFlag, boolean $makeLinks )
Parses text for short codes and returns an associative array of them.
Overrides parent method to add support for shortcodes, missing model param, and
insertable attributes referencing param names
Parses text for short codes and returns an associative array of them.
Overrides parent method to add support for shortcodes, missing model param, and
insertable attributes referencing param names
Parameters
- $value
string $value The value to parse
- $params
X2Model
$model The model on which to operate with attribute replacement
- $renderFlag
boolean $renderFlag The render flag to pass to X2Model::getAttribute()
- $makeLinks
boolean $makeLinks If the render flag is set, determines whether to render attributes as
links
Overrides
|