\Hazaar\Html
Abbr
The HTML abbr class.

Displays an HTML <abbr> element.

Tags

Since

1.1

Summary
Methods Properties Constants
add
get
key
set
No constants
Properties
Inherited
$type
$type
Methods
__construct()
__construct($title, $abbr = null, $parameters = Array ( ) )

The HTML abbr constructor.

Tags

Since

1.1

Parameters

$titlestring

The full title of the abbreviation.

$abbrstring

The abbreviation. If omitted, then the first abbreviation will be the uppercase string of the first character of each word in the title.

$parametersarray

Optional parameters to apply to the anchor.

Inherited
add()
add() : \\Hazaar\\Html\\Block

Add one or more elements to the contents of the block.

Tags

Since

1.0.0

Inherited
children()
children()
Inherited
count()
count()
Inherited
current()
current()
Inherited
get()
get() : array

Get the contents of the block.

Tags

Since

2.0.0

Returns

array
Inherited
key()
key()
Inherited
next()
next()
Inherited
offsetExists()
offsetExists($key)

Parameters

$key

No description

Inherited
offsetGet()
offsetGet($key)

Parameters

$key

No description

Inherited
offsetSet()
offsetSet($key, $value)

Parameters

$key

No description

$value

No description

Inherited
offsetUnset()
offsetUnset($key)

Parameters

$key

No description

Inherited
prepend()
prepend($element) : \\Hazaar\\Html\\Block

Prepend an element to the beginning of the contents.

Tags

Since

1.0.0

Parameters

$element

No description

Returns

\\Hazaar\\Html\\Block
Inherited
renderElement()
renderElement($element) : string

Recursively render a child element.

Tags

Since

1.0.0

Parameters

$elementmixed

The element to render. Can be anything that can be converted to a string, or an array of other elements.

Returns

string
Inherited
renderObject()
renderObject() : string

Render the current object as an HTML string.

Tags

Since

1.0.0

Returns

string
Inherited
rewind()
rewind()
Inherited
set()
set() : \\Hazaar\\Html\\Block

Set one or more elements as the contents of the block.

Tags

Since

1.0.0

Inherited
valid()
valid()