Mecha CMS

Reserved variables.

$alert

Return the stored alert messages if any.

2.2.0

This variable is an instance of Alert.

Example:

<form>
  <?= $alert; ?>
  …
  …
</form>

Added by the Alert extension.