PDFTableCell
in package
Represents a table cell for PDF export.
Tags
Table of Contents
- ALIGN_CENTER = 'C'
- ALIGN_LEFT = 'L'
- ALIGN_RIGHT = 'R'
- $align : mixed
- text alignment
- $bold : mixed
- bold text
- $content : mixed
- content text of cell
- $width : mixed
- cell width (e.g. "20%")
- __construct() : mixed
- Constructor.
Constants
ALIGN_CENTER
public
mixed
ALIGN_CENTER
= 'C'
ALIGN_LEFT
public
mixed
ALIGN_LEFT
= 'L'
ALIGN_RIGHT
public
mixed
ALIGN_RIGHT
= 'R'
Properties
$align
text alignment
public
mixed
$align
= self::ALIGN_LEFT
$bold
bold text
public
mixed
$bold
= false
$content
content text of cell
public
mixed
$content
= ''
$width
cell width (e.g. "20%")
public
mixed
$width
Methods
__construct()
Constructor.
public
__construct(string $content[, string $width = null ][, string $align = null ][, bool $bold = false ]) : mixed
Parameters
- $content : string
-
cell content
- $width : string = null
-
width (e.g. "20%")
- $align : string = null
-
cell alignment (default: left)
- $bold : bool = false
-
print in bold