Function __global->wiki_add_post
Definitions
sources/wiki.php
- Add a Wiki+ post.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$page_id | AUTO_LINK | required parameter | N/A | N/A | The page ID |
$message | string | required parameter | N/A | N/A | The new post |
$validated | BINARY | 1 | N/A | N/A | Whether the post will be validated |
$member_id | ?MEMBER | Null | N/A | N/A | The member doing the action (null: current member) |
$send_notification | boolean | True | N/A | N/A | Whether to send out a notification out |
$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 |
$edit_date | ?TIME | Null | N/A | N/A | The edit time (null: N/A) |
Return
- The post ID
- Type: AUTO_LINK
- Set: N/A
- Range: N/A