Function __global->rename_zone

Definitions

sources/upgrade_lib.php

  • Rename a zone in the database and move any custom pages in it.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$zone ID_TEXT required parameter N/A N/A The old name of the zone
$new_zone ID_TEXT required parameter N/A N/A The new name of the zone
$dont_bother_with_main_row boolean False N/A N/A Whether to assume the main zone row has already been renamed as part of a wider editing operation