Function Forum_driver_base->get_post_remaining_details
Definitions
sources/forum_stub.php
- Load extra details for a list of posts. Does not need to return anything if forum driver doesn't support partial post loading (which is only useful for threaded topic partial-display).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$topic_id | AUTO_LINK | No | No | required parameter | N/A | N/A | Topic the posts come from |
$post_ids | array | No | No | required parameter | N/A | N/A | List of post IDs |
Returns
- Extra details
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Load extra details for a list of posts. Does not need to return anything if forum driver doesn't support partial post loading (which is only useful for threaded topic partial-display).
*
* @param AUTO_LINK $topic_id Topic the posts come from
* @param array $post_ids List of post IDs
* @return array Extra details
*/
public function get_post_remaining_details(int $topic_id, array $post_ids) : array
* Load extra details for a list of posts. Does not need to return anything if forum driver doesn't support partial post loading (which is only useful for threaded topic partial-display).
*
* @param AUTO_LINK $topic_id Topic the posts come from
* @param array $post_ids List of post IDs
* @return array Extra details
*/
public function get_post_remaining_details(int $topic_id, array $post_ids) : array