Function __global->wiki_add_page
Definitions
sources/wiki.php
- Add a Wiki+ page.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$title | SHORT_TEXT | required parameter | N/A | N/A | The page title |
$description | LONG_TEXT | required parameter | N/A | N/A | The page description |
$notes | LONG_TEXT | required parameter | N/A | N/A | Hidden notes pertaining to the page |
$show_posts | BINARY | required parameter | N/A | N/A | Whether to show the posts on the page by default |
$member_id | ?MEMBER | Null | N/A | N/A | The member doing the action (null: current member) |
$add_time | ?TIME | Null | N/A | N/A | The add time (null: now) |
$views | integer | 0 | N/A | N/A | The number of views so far |
$meta_keywords | ?SHORT_TEXT | Blank (empty string) | N/A | N/A | Meta keywords for this resource (null: do not edit) (blank: implicit) |
$meta_description | ?LONG_TEXT | Blank (empty string) | N/A | N/A | Meta description for this resource (null: do not edit) (blank: implicit) |
$edit_date | ?TIME | Null | N/A | N/A | The edit time (null: N/A) |
$send_notification | boolean | True | N/A | N/A | Whether to send a notification |
Return
- The page ID
- Type: AUTO_LINK
- Set: N/A
- Range: N/A