PHP Class PhpOffice\PhpPresentation\Shape\Table

Inheritance: extends AbstractGraphic, implements PhpOffice\PhpPresentation\ComparableInterface
Show file Open project: phpoffice/phppowerpoint Class Usage Examples

Public Methods

Method Description
__construct ( integer $columns = 1 ) Create a new \PhpOffice\PhpPresentation\Shape\Table instance
createRow ( ) : PhpOffice\PhpPresentation\Shape\Table\Row Create row
getHashCode ( ) : string Get hash code
getRow ( integer $row, boolean $exceptionAsNull = false ) : PhpOffice\PhpPresentation\Shape\Table\Row Get row
getRows ( ) : PhpOffice\PhpPresentation\Shape\Table\Row[] Get rows

Method Details

__construct() public method

Create a new \PhpOffice\PhpPresentation\Shape\Table instance
public __construct ( integer $columns = 1 )
$columns integer Number of columns

createRow() public method

Create row
public createRow ( ) : PhpOffice\PhpPresentation\Shape\Table\Row
return PhpOffice\PhpPresentation\Shape\Table\Row

getHashCode() public method

Get hash code
public getHashCode ( ) : string
return string Hash code

getRow() public method

Get row
public getRow ( integer $row, boolean $exceptionAsNull = false ) : PhpOffice\PhpPresentation\Shape\Table\Row
$row integer Row number
$exceptionAsNull boolean Return a null value instead of an exception?
return PhpOffice\PhpPresentation\Shape\Table\Row

getRows() public method

Get rows
public getRows ( ) : PhpOffice\PhpPresentation\Shape\Table\Row[]
return PhpOffice\PhpPresentation\Shape\Table\Row[]