modX::setPlaceholder
Sets a Placeholder value, corresponding to the "+" syntax.
Syntax
API Doc: http://api.modxcms.com/modx/modX.html#setPlaceholder
void setPlaceholder (string $key, mixed $value)
Example
$modx->setPlaceholder('name','Barry');
This causes the placeholder [[+name]] to be available inside your templates or page content.