PHP Класс PHPRtfLite_Table_Row

Автор: Steffen Zeidler ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_cells PHPRtfLite_Table_Cell[] instances of PHPRtfLite_Table_Cell
$_height float row height
$_rowIndex integer row index in table
$_table PHPRtfLite_Table

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

Метод Описание
__construct ( PHPRtfLite_Table $table, integer $rowIndex, float $height = null ) constructor
free ( )
getCellByIndex ( integer $columnIndex ) : PHPRtfLite_Table_Cell Gets cell instance for the given column index
getHeight ( ) : float gets row height
getRowIndex ( ) : integer gets row index of row
setFont ( PHPRtfLite_Font $font ) sets default font for all cells in the row
setHeight ( float $height ) sets row height

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

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

constructor
public __construct ( PHPRtfLite_Table $table, integer $rowIndex, float $height = null )
$table PHPRtfLite_Table
$rowIndex integer
$height float

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

public free ( )

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

Gets cell instance for the given column index
public getCellByIndex ( integer $columnIndex ) : PHPRtfLite_Table_Cell
$columnIndex integer
Результат PHPRtfLite_Table_Cell

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

gets row height
public getHeight ( ) : float
Результат float

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

gets row index of row
public getRowIndex ( ) : integer
Результат integer

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

sets default font for all cells in the row
public setFont ( PHPRtfLite_Font $font )
$font PHPRtfLite_Font

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

sets row height
public setHeight ( float $height )
$height float

Описание свойств

$_cells защищенное свойство

instances of PHPRtfLite_Table_Cell
protected PHPRtfLite_Table_Cell[] $_cells
Результат PHPRtfLite_Table_Cell[]

$_height защищенное свойство

row height
protected float $_height
Результат float

$_rowIndex защищенное свойство

row index in table
protected int $_rowIndex
Результат integer

$_table защищенное свойство

protected PHPRtfLite_Table $_table
Результат PHPRtfLite_Table