Function __global->save_comcode_page
Definitions
sources/zones3.php
- Save a Comcode page.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$zone | ID_TEXT | required parameter | N/A | N/A | The zone |
$new_file | ID_TEXT | required parameter | N/A | N/A | The page |
$lang | ?LANGUAGE_NAME | Null | N/A | N/A | The language (null: default website language) |
$text | ?ID_TEXT | Null | N/A | N/A | The page text (null: unchanged) |
$validated | ?BINARY | Null | N/A | N/A | The validated status (null: 1 / don't change) |
$include_on_sitemap | ?BINARY | 1 | N/A | N/A | Include on the sitemap (null: default / don't change) |
$parent_page | ?ID_TEXT | Null | N/A | N/A | The page parent (null: none / don't change if $order is also null) |
$order | ?integer | Null | N/A | N/A | The page order (null: 0 / don't change) |
$add_time | ?TIME | Null | N/A | N/A | Add time (null: now / don't change) |
$edit_time | ?TIME | Null | N/A | N/A | Edit time (null: not edited) |
$show_as_edit | BINARY | 0 | N/A | N/A | Whether to show as edited |
$submitter | ?MEMBER | Null | N/A | N/A | The submitter (null: current member, or first admin if running execute_temp script) |
$file | ?ID_TEXT | Null | N/A | N/A | The old page name (null: not being renamed) |
$meta_keywords | ?SHORT_TEXT | Blank (empty string) | N/A | N/A | Meta keywords for this resource (blank: implicit) (null: no change, or no change if $text is null) |
$meta_description | ?LONG_TEXT | Blank (empty string) | N/A | N/A | Meta description for this resource (blank: implicit) (null: no change, or no change if $text is null) |
Return
- The save path
- Type: PATH
- Set: N/A
- Range: N/A