Function Hook_CMA->render_box
Definitions
sources/content.php
- Render a content box for a content row.
- Visibility: public
- 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 row for the content |
$zone | ID_TEXT | required parameter | N/A | N/A | The zone to display 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) |
$include_breadcrumbs | boolean | True | N/A | N/A | Whether to include breadcrumbs (if there are any) |
$root | ?ID_TEXT | Null | N/A | N/A | Virtual root to use (null: none) |
$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 |
$guid | ID_TEXT | Blank (empty string) | N/A | N/A | Overridden GUID to send to templates (blank: none) |
Return
- Results
- Type: Tempcode
- Set: N/A
- Range: N/A