Function Media_renderer_with_fallback->fallback_render
Definitions
sources/media_renderer.php
- If we are rendering in low-fi, result to simple image fall-back.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$url | mixed | required parameter | N/A | N/A | URL to render |
$url_safe | mixed | required parameter | N/A | N/A | URL to render (no sessions etc) |
$attributes | array | required parameter | N/A | N/A | Attributes (e.g. width, height, length) |
$as_admin | boolean | required parameter | N/A | N/A | Whether there are admin privileges, to render dangerous media types |
$source_member | ?MEMBER | required parameter | N/A | N/A | Member to run as (null: current member) |
$click_url | ?mixed | Null | N/A | N/A | URL to route clicks through to (null: no special URL) |
Return
- Rendered version (null: do not render)
- Type: ?Tempcode
- Set: N/A
- Range: N/A