Class cHTMLTableData
cHTMLTableData class represents a table date.
-
cHTML
-
cHTMLContentElement
-
cHTMLTableData
Methods summary
public
|
#
__construct( mixed $content = NULL )
Constructor to create an instance of this class.
Constructor to create an instance of this class.
Parameters
- $content
mixed $content [optional] String or object with the contents
Overrides
|
public
cHTMLTableData
|
#
setWidth( string $width )
Sets the table width
Parameters
- $width
string $width Width
Returns
|
public
cHTMLTableData
|
#
setHeight( string $height )
Sets the table height
Parameters
- $height
string $height Height
Returns
|
public
cHTMLTableData
|
#
setAlignment( string $alignment )
Sets the table alignment
Parameters
- $alignment
string $alignment Alignment
Returns
|
public
cHTMLTableData
|
#
setVerticalAlignment( string $alignment )
Sets the table vertical alignment
Sets the table vertical alignment
Parameters
- $alignment
string $alignment Vertical Alignment
Returns
|
public
cHTMLTableData
|
#
setBackgroundColor( string $color )
Sets the table background color
Sets the table background color
Parameters
- $color
string $color background color
Returns
|
public
cHTMLTableData
|
#
setColspan( string $colspan )
Sets the table colspan
Parameters
- $colspan
string $colspan Colspan
Returns
|
Methods inherited from cHTML
__toString(),
_appendContent(),
_getAttrString(),
_parseAttributes(),
_setContent(),
addRequiredScript(),
advanceID(),
appendStyleDefinition(),
appendStyleDefinitions(),
attachEventDefinition(),
display(),
fillCloseSkeleton(),
fillSkeleton(),
getAttribute(),
getAttributes(),
getID(),
removeAttribute(),
render(),
setAlt(),
setAttribute(),
setAttributes(),
setClass(),
setEvent(),
setGenerateXHTML(),
setID(),
setStyle(),
setTag(),
toHtml(),
unsetEvent(),
updateAttribute(),
updateAttributes()
|
Properties inherited from cHTML
$_attributes,
$_content,
$_contentlessTag,
$_eventDefinitions,
$_generateXHTML,
$_idCounter,
$_requiredScripts,
$_skeletonClose,
$_skeletonOpen,
$_skeletonSingle,
$_styleDefinitions,
$_styleDefs,
$_tag
|