[ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
TTable and TTableRowCollection class file
Author: | Qiang Xue <qiang.xue@gmail.com> |
Copyright: | Copyright © 2005 PradoSoft |
License: | http://www.pradosoft.com/license/ |
Version: | $Id: TTable.php 1397 2006-09-07 07:55:53Z wei $ |
Poids: | 411 lignes (11 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
TTable:: (22 méthodes):
getTagName()
addParsedObject()
createStyle()
addAttributesToRender()
createControlCollection()
getRows()
getCaption()
setCaption()
getCaptionAlign()
setCaptionAlign()
getCellSpacing()
setCellSpacing()
getCellPadding()
setCellPadding()
getHorizontalAlign()
setHorizontalAlign()
getGridLines()
setGridLines()
getBackImageUrl()
setBackImageUrl()
renderBeginTag()
renderContents()
TTableRowCollection:: (1 méthode):
insertAt()
TTableCaptionAlign:: (0 méthodes):
getTagName() X-Ref |
return: string tag name for the table |
addParsedObject($object) X-Ref |
Adds object parsed from template to the control. This method adds only {@link TTableRow} objects into the {@link getRows Rows} collection. All other objects are ignored. param: mixed object parsed from template |
createStyle() X-Ref |
Creates a style object for the control. This method creates a {@link TTableStyle} to be used by the table. return: TTableStyle control style to be used |
addAttributesToRender($writer) X-Ref |
Adds attributes to renderer. param: THtmlWriter the renderer |
createControlCollection() X-Ref |
Creates a control collection object that is to be used to hold child controls return: TTableRowCollection control collection |
getRows() X-Ref |
return: TTableRowCollection list of {@link TTableRow} controls |
getCaption() X-Ref |
return: string table caption |
setCaption($value) X-Ref |
param: string table caption |
getCaptionAlign() X-Ref |
return: TTableCaptionAlign table caption alignment. Defaults to TTableCaptionAlign::NotSet. |
setCaptionAlign($value) X-Ref |
param: TTableCaptionAlign table caption alignment. |
getCellSpacing() X-Ref |
return: integer the cellspacing for the table. Defaults to -1, meaning not set. |
setCellSpacing($value) X-Ref |
param: integer the cellspacing for the table. Defaults to -1, meaning not set. |
getCellPadding() X-Ref |
return: integer the cellpadding for the table. Defaults to -1, meaning not set. |
setCellPadding($value) X-Ref |
param: integer the cellpadding for the table. Defaults to -1, meaning not set. |
getHorizontalAlign() X-Ref |
return: THorizontalAlign the horizontal alignment of the table content. Defaults to THorizontalAlign::NotSet. |
setHorizontalAlign($value) X-Ref |
param: THorizontalAlign the horizontal alignment of the table content. |
getGridLines() X-Ref |
return: TTableGridLines the grid line setting of the table. Defaults to TTableGridLines::None. |
setGridLines($value) X-Ref |
param: TTableGridLines the grid line setting of the table |
getBackImageUrl() X-Ref |
return: string the URL of the background image for the table |
setBackImageUrl($value) X-Ref |
Sets the URL of the background image for the table param: string the URL |
renderBeginTag($writer) X-Ref |
Renders the openning tag for the table control which will render table caption if present. param: THtmlWriter the writer used for the rendering purpose |
renderContents($writer) X-Ref |
Renders body contents of the table. param: THtmlWriter the writer used for the rendering purpose. |
Classe: TTableRowCollection - X-Ref
TTableRowCollection class.Classe: TTableCaptionAlign - X-Ref
TTableCaptionAlign class.Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |