$page->intendedTemplate()

Returns the name of the intended template. This is the name of the content text file.

  • return (string)

Example

<?php
echo $page->intendedTemplate();
?>