Function Module_cms_wiki->get_page_fields
Definitions
cms/pages/modules/cms_wiki.php
- Get the fields for adding/editing a Wiki+ page.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$id | ?AUTO_LINK | Null | N/A | N/A | The page ID (null: new) |
$title | SHORT_TEXT | Blank (empty string) | N/A | N/A | The page title |
$notes | LONG_TEXT | Blank (empty string) | N/A | N/A | Hidden notes pertaining to the page |
$show_posts | BINARY | 1 | N/A | N/A | Whether to show the posts on the page by default |
$page_id | ?AUTO_LINK | Null | N/A | N/A | The ID of the page (null: we're adding) |
Return
- The fields, the extra fields, the hidden fields
- Type: array
- Set: N/A
- Range: N/A