CSFlexTableCellAttributeValueContent
extends CSFlexTableCellContent
in package
Represents a Flex Table Cell Content for the Attribute Value of a configuration
Tags
Table of Contents
- CONTENT_TYPE_ATTRIBUTE_VALUE = 5
- Defines attribute value content
- CONTENT_TYPE_HTML = 4
- Defines html content
- CONTENT_TYPE_IMAGE = 2
- Defines image content
- CONTENT_TYPE_ITEM_VALUE = 3
- Defines item value content
- CONTENT_TYPE_TEXT = 1
- Defines text content
- __call() : mixed
- Internal method for handling friend class calls
- __construct() : void
- Constructor
- addStyleName() : void
- Adds a unique style name to the list of styles for the cell content
- getAttribute() : Itemconfiguration
- Returns the currently set attribute of this content object.
- getCell() : CSFlexTableCell
- Returns the parent cell of the content object.
- getIndex() : int
- Returns the Index of the content object within the Cell
- getLanguageID() : int
- Returns the currently assigned language ID of this content object.
- getPathIdentifier() : string
- Returns the path identifier for the current content object. The identifier has the following format:
- getStyleNames() : array<string|int, mixed>
- Returns all style names assigned to the cell content.
- getType() : int
- Returns the type of the content object.
- getValueName() : string
- Returns the currently assigned value name of this content object.
- setAttribute() : void
- Sets the attribute for this content object.
- setLanguageID() : mixed
- Sets the language id
- setStyleName() : void
- Sets the style name of the cell.
- setStyleNames() : void
- Sets a list of style names for the cell content.
- setValueName() : void
- Sets the value name for this content object. This name is used later in a renderer to access the value that should be shown in the table.
Constants
CONTENT_TYPE_ATTRIBUTE_VALUE
Defines attribute value content
public
mixed
CONTENT_TYPE_ATTRIBUTE_VALUE
= 5
Tags
CONTENT_TYPE_HTML
Defines html content
public
mixed
CONTENT_TYPE_HTML
= 4
Tags
CONTENT_TYPE_IMAGE
Defines image content
public
mixed
CONTENT_TYPE_IMAGE
= 2
Tags
CONTENT_TYPE_ITEM_VALUE
Defines item value content
public
mixed
CONTENT_TYPE_ITEM_VALUE
= 3
Tags
CONTENT_TYPE_TEXT
Defines text content
public
mixed
CONTENT_TYPE_TEXT
= 1
Tags
Methods
__call()
Internal method for handling friend class calls
public
__call(mixed $sMethodName, mixed $aMethodParams) : mixed
Parameters
- $sMethodName : mixed
- $aMethodParams : mixed
Tags
Return values
mixed —__construct()
Constructor
public
__construct(Itemconfiguration $oAttribute, string $sValueName[, mixed $iLanguageID = NULL ]) : void
Parameters
- $oAttribute : Itemconfiguration
-
The attribute that should be used to read the attribute value.
- $sValueName : string
-
The value name that should be assigned to this content object.
- $iLanguageID : mixed = NULL
Tags
Return values
void —addStyleName()
Adds a unique style name to the list of styles for the cell content
public
addStyleName(string $sStyleName) : void
Parameters
- $sStyleName : string
Tags
Return values
void —getAttribute()
Returns the currently set attribute of this content object.
public
getAttribute() : Itemconfiguration
Tags
Return values
Itemconfiguration —The attribute currently assigned to this content object.
getCell()
Returns the parent cell of the content object.
public
final getCell() : CSFlexTableCell
Tags
Return values
CSFlexTableCell —A reference to the parent cell.
getIndex()
Returns the Index of the content object within the Cell
public
getIndex() : int
Tags
Return values
int —The index of the content object
getLanguageID()
Returns the currently assigned language ID of this content object.
public
getLanguageID() : int
Tags
Return values
int —the language id
getPathIdentifier()
Returns the path identifier for the current content object. The identifier has the following format:
public
final getPathIdentifier() : string
d:0:0:0
where the chunks separated by the ':' are defined as follows:
d: The type of the row to return (d: data, h: header, f: footer) 0: The row index relative to the parent table 0: The cell index relative to the parent row 0: The content object index relative to the parent cell
Tags
Return values
string —The path identifier of the current content object
getStyleNames()
Returns all style names assigned to the cell content.
public
getStyleNames() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —A list of style names assigned to the cell content.
getType()
Returns the type of the content object.
public
getType() : int
Tags
Return values
int —CSFlexTableCellContent::CONTENT_TYPE_ITEM_VALUE
getValueName()
Returns the currently assigned value name of this content object.
public
getValueName() : string
Tags
Return values
string —The value name currently assigned to this content object.
setAttribute()
Sets the attribute for this content object.
public
setAttribute(Itemconfiguration $oAttribute) : void
Parameters
- $oAttribute : Itemconfiguration
-
The attribute that should be used to read th attribute value.
Tags
Return values
void —setLanguageID()
Sets the language id
public
setLanguageID(int $iLanguageID) : mixed
Parameters
- $iLanguageID : int
-
the language id
Tags
Return values
mixed —setStyleName()
Sets the style name of the cell.
public
setStyleName(string $sStyleName) : void
Parameters
- $sStyleName : string
-
The style name of the cell.
Tags
Return values
void —setStyleNames()
Sets a list of style names for the cell content.
public
setStyleNames(array<string|int, mixed> $aStyleNames) : void
Parameters
- $aStyleNames : array<string|int, mixed>
-
The style names that should be assigned to the cell content.
Tags
Return values
void —setValueName()
Sets the value name for this content object. This name is used later in a renderer to access the value that should be shown in the table.
public
setValueName(mixed $sValueName) : void
Parameters
- $sValueName : mixed
-
The value name that should be assigned to this content object.
