Function __global->actual_edit_catalogue_entry
Definitions
sources/catalogues2.php
- Edit the specified catalogue entry.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$id | AUTO_LINK | required parameter | N/A | N/A | The ID of the entry being edited |
$category_id | AUTO_LINK | required parameter | N/A | N/A | The ID of the category that the entry is in |
$validated | BINARY | required parameter | N/A | N/A | Whether the entry has been validated |
$notes | LONG_TEXT | required parameter | N/A | N/A | Hidden notes pertaining to the entry |
$allow_rating | BINARY | required parameter | N/A | N/A | Whether the entry may be rated |
$allow_comments | SHORT_INTEGER | required parameter | N/A | N/A | Whether comments are allowed (0=no, 1=yes, 2=review style) |
$allow_trackbacks | BINARY | required parameter | N/A | N/A | Whether the entry may be trackbacked |
$map | array | required parameter | N/A | N/A | A map of field IDs, to values, that defines the entries settings |
$meta_keywords | ?SHORT_TEXT | Blank (empty string) | N/A | N/A | Meta keywords for this resource (null: do not edit) |
$meta_description | ?LONG_TEXT | Blank (empty string) | N/A | N/A | Meta description for this resource (null: do not edit) |
$edit_time | ?TIME | Null | N/A | N/A | Edit time (null: either means current time, or if $null_is_literal, means reset to to null) |
$add_time | ?TIME | Null | N/A | N/A | Add time (null: do not change) |
$views | ?integer | Null | N/A | N/A | Number of views (null: do not change) |
$submitter | ?MEMBER | Null | N/A | N/A | Submitter (null: do not change) |
$null_is_literal | boolean | False | N/A | N/A | Determines whether some nulls passed mean 'use a default' or literally mean 'set to null |