Function Module_topics->attach_quotes
Definitions
forum/pages/modules/topics.php
- Create a default post based on a template of quoting the given list of quotes.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $quotes | array | No | No | required parameter | N/A | N/A | A list of posts to quote |
Returns
- The default post
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Create a default post based on a template of quoting the given list of quotes.
*
* @param array $quotes A list of posts to quote
* @return Tempcode The default post
*/
public function attach_quotes(array $quotes) : object
* Create a default post based on a template of quoting the given list of quotes.
*
* @param array $quotes A list of posts to quote
* @return Tempcode The default post
*/
public function attach_quotes(array $quotes) : object

