PHP Класс Prado\Web\UI\WebControls\TTableRow

TTableRow displays a table row. The table cells in the row can be accessed via {@link getCells Cells}. The horizontal and vertical alignments of the row are specified via {@link setHorizontalAlign HorizontalAlign} and {@link setVerticalAlign VerticalAlign} properties, respectively.
С версии: 3.0
Автор: Qiang Xue ([email protected])
Наследование: extends TWebControl
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
addParsedObject ( $object ) Adds object parsed from template to the control.
getCells ( ) : TTableCellCollection
getHorizontalAlign ( ) : string
getTableSection ( ) : TTableRowSection
getVerticalAlign ( ) : string
renderContents ( $writer ) Renders body contents of the table row
setHorizontalAlign ( $value ) Sets the horizontal alignment of the contents within the table item.
setTableSection ( $value )
setVerticalAlign ( $value ) Sets the vertical alignment of the contents within the table item.

Защищенные методы

Метод Описание
createControlCollection ( ) : TTableCellCollection Creates a control collection object that is to be used to hold child controls
createStyle ( ) : TStyle Creates a style object for the control.
getTagName ( ) : string

Описание методов

addParsedObject() публичный Метод

This method adds only {@link TTableCell} objects into the {@link getCells Cells} collection. All other objects are ignored.
public addParsedObject ( $object )

createControlCollection() защищенный Метод

Creates a control collection object that is to be used to hold child controls
См. также: getControls
protected createControlCollection ( ) : TTableCellCollection
Результат TTableCellCollection control collection

createStyle() защищенный Метод

This method creates a {@link TTableItemStyle} to be used by the table row.
protected createStyle ( ) : TStyle
Результат TStyle control style to be used

getCells() публичный Метод

public getCells ( ) : TTableCellCollection
Результат TTableCellCollection list of {@link TTableCell} controls

getHorizontalAlign() публичный Метод

public getHorizontalAlign ( ) : string
Результат string the horizontal alignment of the contents within the table item, defaults to 'NotSet'.

getTableSection() публичный Метод

public getTableSection ( ) : TTableRowSection
Результат TTableRowSection location of a row in a table. Defaults to TTableRowSection::Body.

getTagName() защищенный Метод

protected getTagName ( ) : string
Результат string tag name for the table

getVerticalAlign() публичный Метод

public getVerticalAlign ( ) : string
Результат string the vertical alignment of the contents within the table item, defaults to 'NotSet'.

renderContents() публичный Метод

Renders body contents of the table row
public renderContents ( $writer )

setHorizontalAlign() публичный Метод

Valid values include 'NotSet', 'Justify', 'Left', 'Right', 'Center'
public setHorizontalAlign ( $value )

setTableSection() публичный Метод

public setTableSection ( $value )

setVerticalAlign() публичный Метод

Valid values include 'NotSet','Top','Bottom','Middle'
public setVerticalAlign ( $value )