Mecha CMS

Reserved variables.

$state

This variable returns the state data of the current shield if available, and is an instance of the State class.

2.0.02.2.0

Example:

<?php if ($state->path === 'index') { … } ?>