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
파일 보기 프로젝트 열기: pradosoft/prado 1 사용 예제들

공개 메소드들

메소드 설명
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 )