Jump to main content Jump to doc navigation

modX::getPlaceholder

Get a placeholder value by key.

Syntax

API Doc: http://api.modx.com/revolution/2.2/db_core_model_modx_modx.class.html#%5CmodX::getPlaceholder()

mixed getPlaceholder (string $key)

Example

$value = $modx->getPlaceholder('MyPlaceholder');

See Also