PEAR Manual
Prev |  | Next

# $element->toHtml

$element->toHtml -- Output HTML and children

## Synopsis

``string $element->toHtml` ()`

## Description

returns the HTML to represent the object. If you wish to implement your own element, you only need to implement this method, and assign it to the element array..

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
$element->setAttributes() | Up | $element->toHtmlnoClose()