Function __global->give_submit_points
Definitions
sources/submit.php
- Credit points to a member for submitting something, then returns the HTML page to say so.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$type | ID_TEXT | required parameter | N/A | N/A | One of this type has been submitted. By convention it is the language string codename of what was done, e.g. ADD_DOWNLOAD |
$content_type | ID_TEXT | required parameter | N/A | N/A | The content type submitted |
$content_id | ID_TEXT | required parameter | N/A | N/A | The content ID that was submitted |
$member_id | ?MEMBER | Null | N/A | N/A | The member to give the points to (null: give to current member) |
Return
- A message about the member being given these submit points (null: no message)
- Type: ?string
- Set: N/A
- Range: N/A