Function __global->render_news_category_box
Definitions
sources/news.php
- Get Tempcode for a news category 'feature box' for the given row.
- 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 database field row of it |
$zone | ID_TEXT | _SEARCH | N/A | N/A | The zone to use |
$give_context | boolean | True | N/A | N/A | Whether to include context (i.e. say WHAT this is, not just show the actual content) |
$attach_to_url_filter | boolean | False | N/A | N/A | Whether to copy through any filter parameters in the URL, under the basis that they are associated with what this box is browsing |
$blogs | ?integer | Null | N/A | N/A | What to show (null: news and blogs, 0: news, 1: blogs) |
$guid | ID_TEXT | Blank (empty string) | N/A | N/A | Overridden GUID to send to templates (blank: none) |
Return
- A box for it, linking to the full page
- Type: Tempcode
- Set: N/A
- Range: N/A