Class Sylar_HtmlBody

Description

Html Body Element

This object containes DIV object that will compose the Html page. Css and Style will care about layout

Located in /sylar/classes/presentation/html/HtmlBody.php (line 43)

Sylar_Format
   |
   --Sylar_Html
      |
      --Sylar_HtmlBody
Method Summary
 Sylar_HtmlBody __construct ()
 void __destruct ()
 void addDiv (Sylar_HtmlDiv $oDiv)
 string getHtmlSource ()
 string render ()
 void show ()
Methods
Constructor __construct (line 47)
Sylar_HtmlBody __construct ()

Redefinition of:
Sylar_Html::__construct()
Destructor __destruct (line 51)
void __destruct ()

Redefinition of:
Sylar_Html::__destruct()
addDiv (line 70)

Add a Div to Body

void addDiv (Sylar_HtmlDiv $oDiv)
  • Sylar_HtmlDiv $oDiv: the object with Div information and content
getHtmlSource (line 83)

return the Html source it return html code of entire object

  • access: public
string getHtmlSource ()
render (line 111)

Design Html BODY tag it push all div in the body and prepare html code

  • access: protected
string render ()
show (line 94)

Display the page it prints the object Html source on screen

  • access: public
void show ()

Inherited Methods

Inherited From Sylar_Html

 Sylar_Html::__construct()
 Sylar_Html::fillTagAttributes()
 Sylar_Html::__destruct()

Inherited From Sylar_Format

 Sylar_Format::__construct()
 Sylar_Format::__destruct()

Documentation generated on Thu, 24 Apr 2008 16:14:14 +0200 by phpDocumentor 1.3.0RC3