currentPage (function)

Purpose:

Returns the file name of the current page (not including path)

See Also:

currentFolder (function)

Example:

echo currentPage();

Data Type(s):


Location:

users/helpers/helpers.php

Details:

Note: Most of the time this has already been called in a header and you can simply reference the

$currentPage

variable to get the page name