[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/Form/ -> TagCloseElement.php (summary)

(no description)

File Size: 88 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

TagCloseElement:: (6 methods):
  __construct()
  addClass()
  id()
  attr()
  attrs()
  toHTML()


Class: TagCloseElement  - X-Ref

Class TagCloseElement

Creates an HTML close tag. You have to make sure it has been opened
before or this will produce invalid HTML

__construct($tag, $attributes = array()   X-Ref

param: string $tag
param: array $attributes

addClass($class)   X-Ref
do not call this

param: string $class
return: void

id($id = null)   X-Ref
do not call this

param: null|string $id
return: string

attr($name, $value = null)   X-Ref
do not call this

param: string $name
param: null|string $value
return: string

attrs($attributes = null)   X-Ref
do not call this

param: array|null $attributes
return: array

toHTML()   X-Ref
The HTML representation of this element

return: string