Textpattern | PHP Cross Reference | Content Management Systems |
Description: Textile - A Humane Web Text Generator.
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Tag:: (2 methods):
__construct()
__toString()
Renders HTML elements.
__construct($name, array $attributes = null, $selfclosing = true) line: 74 |
Constructor. param: string $name The tag name param: array $attributes An array of attributes param: bool $selfclosing Whether the tag is self-closing |
__toString() line: 89 |
Returns the tag as HTML. <code> $img = new Tag('img'); $img->src('images/example.jpg')->alt('Example image'); echo (string) $img; </code> return: string A HTML element |
title