ConsoleTools: ezcConsoleTableCell
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcConsoleTableCell
|
Representation of a table cell. [
source]
An object of this class represents a table cell. A cell has a certain content, may apply a format to this data, align the data in the cell and so on.
Properties
|
int |
read/write
|
$align
|
|
string |
read/write
|
$content
Text displayed in the cell. |
|
string |
read/write
|
$format
Format applied to the displayed text. |
Member Variables
|
protected array(string=>mixed) |
$properties
Container to hold the properties |
Method Summary
|
public ezcConsoleTableCell |
__construct(
[$content = ''], [$format = 'default'], [$align = ezcConsoleTable::ALIGN_DEFAULT], $verboseLevel, $autobreak, $useFormats )
Create a new ezcConsoleProgressbarCell. |
Methods
__construct
ezcConsoleTableCell __construct(
[
$content = ''], [
$format = 'default'], [
$align = ezcConsoleTable::ALIGN_DEFAULT], int
$verboseLevel, int
$autobreak, bool
$useFormats )
Create a new ezcConsoleProgressbarCell.
Creates a new ezcConsoleProgressbarCell. You can either submit the cell data through the constructor or set them as properties.
Parameters
| Name |
Type |
Description |
$verboseLevel |
int |
Verbosity of the output to show. |
$autobreak |
int |
Auto wrap lines after num chars (0 = unlimited) |
$useFormats |
bool |
Whether to enable formated output |
$content |
|
|
$format |
|
|
$align |
|
|
Last updated: Thu, 01 Nov 2007