Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.12 KB

standard.md

File metadata and controls

44 lines (30 loc) · 1.12 KB

HAPEL Core Method Reference


<tag ...>

Description

HAPEL calls the majority of its methods in the same way. This is known as the HAPEL Standard Parameter Schema. It would be redundant to document every method that uses this schema. As a result, a single example is shown below.

Simply replace method_name with the desired function call as found in the HAPEL Core Method Reference Index.

method_name($child, $class, $id, $style, $data, $attr);

Parameters

Parameter Required Default
$child no false
$class no null
$id no null
$style no null
$data no null
$attr no null

Return Values

string

Example

Usage:

echo tag('my-class','my-id');

Result:

<tag class="my-class" id="my-id">