Class anchor

Description

[A] - The anchor tag, otheriwse know as a clickable link.

Located in /html-defs.php (line 3016)

RenderableObject
   |
   --StylableObject
      |
      --HTMLObject
         |
         --anchor
Variable Summary
 mixed $href
 mixed $label
Method Summary
 anchor anchor ([mixed $href = ""], [mixed $label = ""], [string $css = ""])
 void highlight (mixed $highlightclass)
 void html ()
Variables
Methods
Constructor anchor (line 3032)

Constructor

anchor anchor ([mixed $href = ""], [mixed $label = ""], [string $css = ""])
  • string $css: The style or classname to apply to the object.
highlight (line 3045)

Defines special highlight class name

Defines the name of a class in your stylesheet to use for the purpose of highlighting. This property is initialised to be 'false', but if defined, then the link is spanned by a <span> tag with the given class name to highlight it accordingly.

void highlight (mixed $highlightclass)
html (line 3050)

Render the object as HTML

void html ()

Redefinition of:
RenderableObject::html()
Return output suitable for normal HTML-capable device. This method must be over-ridden by a method of the same name in the descendant class which renders output to web browsers.

Inherited Methods

Inherited From HTMLObject

 HTMLObject::HTMLObject()
 HTMLObject::inherit_attributes()
 HTMLObject::setaccesskey()
 HTMLObject::setalign()
 HTMLObject::setalt()
 HTMLObject::setbackground()
 HTMLObject::setbgcolor()
 HTMLObject::setborder()
 HTMLObject::setcolor()
 HTMLObject::setheight()
 HTMLObject::sethspace()
 HTMLObject::setlang()
 HTMLObject::setlangdir()
 HTMLObject::setname()
 HTMLObject::setsize()
 HTMLObject::setsrc()
 HTMLObject::settabindex()
 HTMLObject::settarget()
 HTMLObject::settitle()
 HTMLObject::setvalign()
 HTMLObject::setvspace()
 HTMLObject::setwidth()
 HTMLObject::set_attribute()
 HTMLObject::set_linkover_text()
 HTMLObject::set_onblur()
 HTMLObject::set_onchange()
 HTMLObject::set_onclick()
 HTMLObject::set_ondblclick()
 HTMLObject::set_onfocus()
 HTMLObject::set_onkeydown()
 HTMLObject::set_onkeypress()
 HTMLObject::set_onkeyup()
 HTMLObject::set_onload()
 HTMLObject::set_onmousedown()
 HTMLObject::set_onmousemove()
 HTMLObject::set_onmouseout()
 HTMLObject::set_onmouseover()
 HTMLObject::set_onmouseup()
 HTMLObject::set_onselect()
 HTMLObject::set_tabindex()
 HTMLObject::taghtml()

Inherited From StylableObject

 StylableObject::StylableObject()
 StylableObject::clearstyle()
 StylableObject::setclass()
 StylableObject::setcss()
 StylableObject::setid()
 StylableObject::setstyle()

Inherited From RenderableObject

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

Documentation generated by phpDocumentor 1.3.0RC3