Jump to main content Jump to doc navigation

modX.getPlaceholder

Other versions: 3.x — Found a problem? Please edit this page or report an issue.

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