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

Class: Skeleton

Source Location: /myphp-1.9/myphp-1.9-table/html/page/Skeleton.php

Class Skeleton

Class Overview

The skeleton.

Generates the Skeleton html for a Page built on a Table object

  1. Usage:
  2. $skeleton = new Skeleton($text,$width,$class,$border,$cellpadding,$cellspacing,$summary,$caption);
  3. print $skeleton->getHtml(); // See this, for usage
  4. Or
  5. Skeleton::display($text,$width,$class,$border,$cellpadding,$cellspacing,$summary,$caption);
  6. Or
  7. Skeleton::start($text,$width,$class,$border,$cellpadding,$cellspacing,$summary,$caption);

Located in /myphp-1.9/myphp-1.9-table/html/page/Skeleton.php [line 33]

Object
   |
   --Html
      |
      --Table
         |
         --Skeleton

Properties

Methods

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

Inherited From Table

Table::$border
Table::$caption
Table::$cellpadding
Table::$cellspacing
Table::$class
Table::$summary
Table::$text
Table::$width

Inherited From Html

Html::$elements
Html::$sizeof

Inherited From Object

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

Inherited From Table

Table::Table()
Constructor
Table::display()
Display html
Table::end()
Get the end of the table tag
Table::getColumnEnd()
Get the Column End
Table::getColumnStart()
Get the Column Start
Table::getEnd()
Get the table end
Table::getHtml()
Get the complete html for a table
Table::getRowEnd()
Get the Row End
Table::getRowStart()
Get the Row Start
Table::getStart()
Get the start of the table
Table::getTableHeader()
Get the Table Header from class TableHeader
Table::start()
Get the start of the table tag
Table::td()
Display html for the TD tag
Table::tdend()
Get the end of the TD tag
Table::tdstart()
Get the start of the TD tag
Table::th()
Display html for a TH
Table::thend()
Get the end of the TH tag
Table::thstart()
Get the start of the TH tag
Table::tr()
Display html for the TR tag
Table::trend()
Get the end of the TR tag
Table::trstart()
Get the start of the TR tag

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   $contentCenter  
mixed   $contentLeft  
mixed   $contentRight  
mixed   $teaserCenter  
mixed   $teaserLeft  
mixed   $teaserRight  

[ Top ]
Method Summary
Skeleton   Skeleton()   Constructor
void   display()   Display html
String   getHtml()   Returns the html for the skeleton

[ Top ]
Properties
mixed   $contentCenter = '' [line 35]

[ Top ]
mixed   $contentLeft = '' [line 34]

[ Top ]
mixed   $contentRight = '' [line 36]

[ Top ]
mixed   $teaserCenter = '' [line 38]

[ Top ]
mixed   $teaserLeft = '' [line 37]

[ Top ]
mixed   $teaserRight = '' [line 39]

[ Top ]
Methods
Constructor Skeleton  [line 52]

  Skeleton Skeleton( [String $text = ''], [String $width = ''], [String $class = ''], [String $border = ''], [String $cellpadding = ''], [String $cellspacing = ''], [String $summary = ''], [String $caption = '']  )

Constructor

Parameters:
String   $text:  The text header for the table
String   $width:  The width of the table
String   $class:  The class of the table
String   $border:  The border of the table
String   $cellpadding:  The CellSpacing
String   $cellspacing:  The CellPadding
String   $summary:  The Summary
String   $caption:  The Caption


[ Top ]
display  [line 149]

  void display( [String $text = ''], [String $width = ''], [String $class = ''], [String $border = ''], [String $cellpadding = ''], [String $cellspacing = ''], [String $summary = ''], [String $caption = '']  )

Display html

  1. Usage:
  2. Skeleton::display($text,$width,$class,$border,$cellpadding,$cellspacing,$summary,$caption);

Parameters:
String   $text:  The text header for the table
String   $width:  The width of the table
String   $class:  The class of the table
String   $border:  The border of the table
String   $cellpadding:  The CellSpacing
String   $cellspacing:  The CellPadding
String   $summary:  The Summary
String   $caption:  The Caption

API Tags:
Static:  


Redefinition of:
Table::display()
Display html

[ Top ]
getHtml  [line 69]

  String getHtml( )

Returns the html for the skeleton


API Tags:
Return:  the complete html


Redefinition of:
Table::getHtml()
Get the complete html for a table

[ Top ]

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