Class hr

Description

[HR] - Horizontal Rule

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

RenderableObject
   |
   --StylableObject
      |
      --HTMLObject
         |
         --hr
Variable Summary
 mixed $colour
 mixed $shade
Method Summary
 hr hr ([string $width = "100%"], [integer $size = 1], [string $colour = ""], [string $css = ""])
 string html ()
 void noshade ()
 void shade ()
Variables
Methods
Constructor hr (line 3096)

Constructor

hr hr ([string $width = "100%"], [integer $size = 1], [string $colour = ""], [string $css = ""])
  • string $width: The width of the rule eg: '100%', '550' etc.
  • integer $size: The standard thickness of the rule (px)
  • string $colour: The colour code of the rule
  • string $css: The style or classname to apply to the object.
html (line 3116)

Render the object as HTML

  • return: The HTML of this object
string 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.
noshade (line 3109)

Cause HR to be unshaded

void noshade ()
shade (line 3104)

Cause HR to be shaded

void shade ()

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