Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 927 Bytes

object.md

File metadata and controls

41 lines (29 loc) · 927 Bytes

HAPEL Core Method Reference


<object ...>

Description

Creates an <object> html tag.

object($data, $type, $name, $class, $id, $style, $attr);

Parameters

Parameter Required Default
$data no null
$type no null
$name no null
$class no null
$id no null
$style no null
$attr no null

Return Values

string

Example

Usage:

echo object('video.mp4','video/mp4', null, 'my-video');

Result:

<object type="video/mp4" data="video.mp4" class="my-video"></object>