Function __global->get_page_or_script_name

Definitions

sources/global3.php

  • Get the name of the page in the URL or active script.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Returns

  • The current page/script name
  • Type: ID_TEXT
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the name of the page in the URL or active script.
 *
 * @return ID_TEXT The current page/script name
 */

function get_page_or_script_name() : string