Class tag

Description

A renderable tag of some kind. Basically a tag is a language construct designed to render at least an identifying name and a value. More specific variants might add other properties, and control the way the tag is actually rendered.

Located in /renderable.php (line 151)

RenderableObject
   |
   --tag
Direct descendents
Class Description
 class HTMLtag A renderable tag of some kind. Basically a tag is a language construct designed to render at least an identifying name and a value. More specific variants might add other properties, and control the way the tag is actually rendered.
Variable Summary
 mixed $attributes
 mixed $tag_name
 mixed $tag_value
Method Summary
 tag tag (string $name, [string $value = ""])
 void add_attribute (string $attrname, [string $attrvalue = ""])
Variables
mixed $attributes = array() (line 154)
mixed $tag_name = "" (line 152)
mixed $tag_value = "" (line 153)
Methods
Constructor tag (line 159)

Constructor

tag tag (string $name, [string $value = ""])
  • string $name: The name of this tag
  • string $value: The value of this tag
add_attribute (line 167)

Adds an attribute to this tag.

void add_attribute (string $attrname, [string $attrvalue = ""])
  • string $attrname: The name of the attribute
  • string $attrvalue: The value of the attribute

Inherited Methods

Inherited From RenderableObject

 RenderableObject::RenderableObject()
 RenderableObject::html()
 RenderableObject::render()
 RenderableObject::wml()
 RenderableObject::wmlup()
 RenderableObject::xml()

Documentation generated by phpDocumentor 1.3.0RC3