Function __global->get_page_name
Definitions
sources/global3.php
- Get the name of the page in the URL (by convention: the current page).This works on the basis of the 'page' parameter and does not require index.php be the active script.It will do dash to underscore substitution as required.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Returns
- The current page name
- Type: ID_TEXT
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get the name of the page in the URL (by convention: the current page).This works on the basis of the 'page' parameter and does not require index.php be the active script.It will do dash to underscore substitution as required.
*
* @return ID_TEXT The current page name
*/
function get_page_name() : string
* Get the name of the page in the URL (by convention: the current page).This works on the basis of the 'page' parameter and does not require index.php be the active script.It will do dash to underscore substitution as required.
*
* @return ID_TEXT The current page name
*/
function get_page_name() : string
