Function __global->render_news_box
Definitions
sources/news.php
- Show a news entry box.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$row | array | required parameter | N/A | N/A | The news row |
$zone | ID_TEXT | _SEARCH | N/A | N/A | The zone our news module is in |
$give_context | boolean | True | N/A | N/A | Whether to include context (i.e. say WHAT this is, not just show the actual content) |
$brief | boolean | False | N/A | N/A | Whether to use the brief styling |
$guid | ID_TEXT | Blank (empty string) | N/A | N/A | Overridden GUID to send to templates (blank: none) |
Return
- The box
- Type: Tempcode
- Set: N/A
- Range: N/A