Function __global->_build_keep_form_fields

Definitions

sources/urls2.php

  • Get hidden fields for a form representing 'keep_x'. If we are having a GET form instead of a POST form, we need to do this. This function also encodes the page name, as we'll always want that.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$page ID_TEXT Blank (empty string) N/A N/A The page for the form to go to (blank: don't attach)
$keep_all boolean False N/A N/A Whether to keep all elements of the current URL represented in this form (rather than just the keep_ fields, and page)
$exclude array [] N/A N/A A list of parameters to exclude

Return

  • The built-up hidden form fields
  • Type: Tempcode
  • Set: N/A
  • Range: N/A