Function Block_main_news->assemble_template_map
Definitions
sources/blocks/main_news.php
- Generate a template-ready map for a news article.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$myrow | array | required parameter | N/A | N/A | The article row |
$optimise | boolean | required parameter | N/A | N/A | Whether to optimise the tempcode-output |
$show_in_full | boolean | required parameter | N/A | N/A | Whether to show the article in full (rather than a summary) |
$show_author | boolean | required parameter | N/A | N/A | Whether to show the author |
$prop_url | array | required parameter | N/A | N/A | Shared URL parameters |
$allow_comments_shared | boolean | required parameter | N/A | N/A | Whether comments are allowed |
$base_url | URLPATH | required parameter | N/A | N/A | Base URL |
$attach_to_url_filter | boolean | required parameter | N/A | N/A | Whether to propagate Filtercode in URLs |
$zone | string | required parameter | N/A | N/A | Zone |
$blogs | integer | required parameter | N/A | N/A | Whether we are showing blogs (1=only, 0=no, -1=don't care) |
Return
- The template map
- Type: array
- Set: N/A
- Range: N/A