PHP Class Prado\Web\UI\WebControls\TLiteralColumn
TLiteralColumn represents a static text column that is bound to a field in a data source.
The cells in the column will be displayed with static texts using the data indexed by
{@link setDataField DataField}. You can customize the display by
setting {@link setDataFormatString DataFormatString}.
If {@link setDataField DataField} is not specified, the cells will be filled
with {@link setText Text}.
If {@link setEncode Encode} is true, the static texts will be HTML-encoded.
Afficher le fichier
Open project: pradosoft/prado
Méthodes publiques
Method Details
dataBindColumn()
public méthode
This method is invoked when datagrid performs databinding.
It populates the content of the cell with the relevant data from data source.
getDataField()
public méthode
getEncode()
public méthode
public getEncode ( ) : boolean |
Résultat |
boolean |
whether the rendered text should be HTML-encoded. Defaults to false. |
public getText ( ) : string |
Résultat |
string |
static text to be displayed in the column. Defaults to empty. |
initializeCell()
public méthode
This method overrides the parent implementation.
setDataField()
public méthode
setEncode()
public méthode