\Hazaar\Html
Ol
The HTML ordered list class.

Displays an HTML <ol> element.

Tags

Since

1.2

Summary
Methods Properties Constants
add
No properties No constants
Methods
__construct()
__construct($items = null, $parameters = Array ( ) )

The HTML ordered list constructor.

Tags

Since

1.2

Parameters

$itemsmixed

The list items to add to the ordered list element.

$parametersarray

Optional parameters to apply to the anchor.

add()
add()

Add an element to the list. Parameters can be text, an array of items, or a Hazaar\Li object or array of objects.

Tags

Since

1.2