Function CMS_Topic->get_posting_form
Definitions
sources/topics.php
- Get a form for posting.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$type | ID_TEXT | required parameter | N/A | N/A | The content type of what this posting will be for |
$id | ID_TEXT | required parameter | N/A | N/A | The content ID of what this posting will be for |
$allow_reviews | boolean | required parameter | N/A | N/A | Whether to accept reviews |
$post_url | Tempcode | required parameter | N/A | N/A | URL where form submit will go |
$post_warning | ?string | required parameter | N/A | N/A | The default post to use (null: standard courtesy warning) |
$hidden | ?Tempcode | Null | N/A | N/A | Hidden form fields for commenting form (null: none) |
Return
- Posting form
- Type: Tempcode
- Set: N/A
- Range: N/A