Function __global->actual_rename_zone_lite
Definitions
sources/zones3.php
- Rename a zone in the database.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$zone | ID_TEXT | No | No | required parameter | N/A | N/A | The old name of the zone |
$new_zone | ID_TEXT | No | No | required parameter | N/A | N/A | The new name of the zone |
$dont_bother_with_main_row | boolean | No | No | False | N/A | N/A | Whether to assume the main zone row has already been renamed as part of a wider editing operation |
Preview
Code (PHP)
/**
* Rename a zone in the database.
*
* @param ID_TEXT $zone The old name of the zone
* @param ID_TEXT $new_zone The new name of the zone
* @param boolean $dont_bother_with_main_row Whether to assume the main zone row has already been renamed as part of a wider editing operation
*/
function actual_rename_zone_lite(string $zone, string $new_zone, bool $dont_bother_with_main_row = false)
* Rename a zone in the database.
*
* @param ID_TEXT $zone The old name of the zone
* @param ID_TEXT $new_zone The new name of the zone
* @param boolean $dont_bother_with_main_row Whether to assume the main zone row has already been renamed as part of a wider editing operation
*/
function actual_rename_zone_lite(string $zone, string $new_zone, bool $dont_bother_with_main_row = false)