Function __global->actual_edit_catalogue
Definitions
sources/catalogues2.php
- Edit a catalogue.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$old_name | ID_TEXT | required parameter | N/A | N/A | The current name of the catalogue |
$name | ID_TEXT | required parameter | N/A | N/A | The new name of the catalogue |
$title | SHORT_TEXT | required parameter | N/A | N/A | The human readable name/title of the catalogue |
$description | LONG_TEXT | required parameter | N/A | N/A | The description |
$display_type | SHORT_INTEGER | required parameter | N/A | N/A | The display type |
$notes | LONG_TEXT | required parameter | N/A | N/A | Admin notes |
$submit_points | integer | required parameter | N/A | N/A | How many points are given to a member that submits to the catalogue |
$ecommerce | BINARY | required parameter | N/A | N/A | Whether the catalogue is an eCommerce catalogue |
$categories_sort_order | SHORT_TEXT | required parameter | N/A | N/A | Category sort order |
$send_view_reports | ID_TEXT | required parameter | N/A | N/A | How to send view reports |
$default_review_freq | ?integer | required parameter | N/A | N/A | Default review frequency for catalogue entries (null: none) |
$add_time | ?TIME | Null | N/A | N/A | Add time (null: do not change) |
$uniqify | boolean | False | N/A | N/A | Whether to force the name as unique, if there's a conflict |
Return
- The name
- Type: ID_TEXT
- Set: N/A
- Range: N/A