phpDocumentor tab
[ class tree: tab ] [ index: tab ] [ all elements ]

Class: TabBody

Source Location: /myphp-1.9/myphp-1.9-tab/html/page/TabBody.php

Class TabBody

Class Overview

Generates a Tab navigation menu

  1. +______________+-------+_________________
  2. | link1 |link2 | link3 | link4 | |
  3. +-------------+ +-------------------
  4. |
  5. | Tab Body
  6. |
  7. +-------- tab end -----------------------
  8. Usage:
  9. $html = new TabBody($width,$class);
  10. print $html->getStart();
  11. print $html->getEnd();
  12. Or
  13. TabBody::start($width,$class);
  14. TabBody::end();
  15. Or
  16. TabBody::display($index,$class);

Located in /myphp-1.9/myphp-1.9-tab/html/page/TabBody.php [line 42]

Object
   |
   --Html
      |
      --TabBody

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Html

Html::$elements
Html::$sizeof

Inherited From Object

Object::$cachefile
Object::$html
Object::$sql

Inherited From Html

Html::Html()
Constructor
Html::add()
Add an element, the number of elements are stored internally in an array.
Html::content()
Read the content of the specified filename
Html::display()
Display the html
Html::get()
Get the complete html for a key
Html::getAttribute()
Get the complete html for an attribute, i.e. <a class="myclass" ...
Html::getElement()
Get the element at position $i in array
Html::getElements()
Get all the elements as html
Html::getHtml()
Get Html
Html::getHtmlHelp()
Get html help
Html::getSizeof()
Get the number of elements added
Html::getTag()
Get the complete html for a html tag, i.e. <p>My paragraph</p>
Html::read()
Read the content of the specified filename and language
Html::set()
Set the named attribute (key) of a class to specified value
Html::setObject()
Set the named object to the class attribute (key), with same name
Html::showsource()
Show source
Html::update()
Save the content of the specified filename and language

Inherited From Object

Object::Object()
Constructor
Object::addHtml()
Add the current html to the SourceCode object
Object::getCacheFileName()
Returns the name of the cache file name
Object::getClassName()
Returns the name of the instanciated class
Object::getHtml()
Returns the html for the element
Object::getMsg()
Get the formatted message and debug level and Log to file ?
Object::save()
Save the SQL cache file
Object::setCacheFileName()
Set the path/name of the cache file
Object::toString()
Returns the information for this class
Object::write()
Write the content to the file opened by fp

[ Top ]
Property Summary
mixed   $border  
mixed   $caption  
mixed   $cellPadding  
mixed   $cellSpacing  
mixed   $class  
mixed   $summary  
mixed   $width  

[ Top ]
Method Summary
TabBody   TabBody()   Constructor
void   display()   Display the html
void   end()   The end of the tag
String   getEnd()   Return the tab table end
String   getHtml()   Builds the html for a Tab menu, and return it
String   getStart()   Return the tab table start
void   start()   The start of the tag

[ Top ]
Properties
mixed   $border = '' [line 45]

[ Top ]
mixed   $caption = '' [line 50]

[ Top ]
mixed   $cellPadding = '' [line 47]

[ Top ]
mixed   $cellSpacing = '' [line 48]

[ Top ]
mixed   $class = '' [line 46]

[ Top ]
mixed   $summary = '' [line 49]

[ Top ]
mixed   $width = '' [line 44]

[ Top ]
Methods
Constructor TabBody  [line 57]

  TabBody TabBody( [String $width = ''], [String $class = '']  )

Constructor

Parameters:
String   $width:  The width of the table
String   $class:  The css class for the menu


[ Top ]
display  [line 151]

  void display( [String $width = ''], [String $class = '']  )

Display the html

  1. Usage:
  2. TabBody::display($width,$class);

Parameters:
String   $width:  The width of the table
String   $class:  The css class for the menu

API Tags:
Static:  


Redefinition of:
Html::display()
Display the html

[ Top ]
end  [line 136]

  void end( )

The end of the tag

  1. Usage:
  2. TabBody::end();


API Tags:
Static:  


[ Top ]
getEnd  [line 85]

  String getEnd( )

Return the tab table end


API Tags:
Return:  The html


[ Top ]
getHtml  [line 96]

  String getHtml( )

Builds the html for a Tab menu, and return it


API Tags:
Return:  The tab menu as html


Redefinition of:
Html::getHtml()
Get Html

[ Top ]
getStart  [line 72]

  String getStart( )

Return the tab table start


API Tags:
Return:  The html


[ Top ]
start  [line 123]

  void start( [String $width = ''], [String $class = '']  )

The start of the tag

  1. Usage:
  2. TabBody::start($width,$class);

Parameters:
String   $width:  The width of the table
String   $class:  The css class for the menu

API Tags:
Static:  


[ Top ]

Documentation generated on Thu, 22 Dec 2005 17:19:15 +0100 by phpDocumentor 1.3.0RC3