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: 79 |
Constructor. param: string|null $name The tag name param: array $attributes An array of attributes param: bool $selfclosing Whether the tag is self-closing |
__toString() line: 94 |
Returns the tag as HTML. bc. $img = new Tag('img'); $img->src('images/example.jpg')->alt('Example image'); echo (string) $img; return: string A HTML element |
title