Function __global->get_details_behind_feedback_code
Definitions
sources/feedback.php
- Find who submitted a piece of feedbackable content.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $feedback_type | ID_TEXT | No | No | required parameter | N/A | N/A | Content type |
| $content_id | ID_TEXT | No | No | required parameter | N/A | N/A | Content ID |
Returns
- A tuple: Content title (null means unknown), Submitter (null means unknown), URL (for use within current browser session), URL (for use in e-mails / sharing), Content meta aware info array, Content row, Content object
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find who submitted a piece of feedbackable content.
*
* @param ID_TEXT $feedback_type Content type
* @param ID_TEXT $content_id Content ID
* @return array A tuple: Content title (null means unknown), Submitter (null means unknown), URL (for use within current browser session), URL (for use in e-mails / sharing), Content meta aware info array, Content row, Content object
*/
function get_details_behind_feedback_code(string $feedback_type, string $content_id) : array
* Find who submitted a piece of feedbackable content.
*
* @param ID_TEXT $feedback_type Content type
* @param ID_TEXT $content_id Content ID
* @return array A tuple: Content title (null means unknown), Submitter (null means unknown), URL (for use within current browser session), URL (for use in e-mails / sharing), Content meta aware info array, Content row, Content object
*/
function get_details_behind_feedback_code(string $feedback_type, string $content_id) : array

