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.
ファイルを表示
Open project: pradosoft/prado
Public Methods
Method Details
dataBindColumn()
public method
This method is invoked when datagrid performs databinding.
It populates the content of the cell with the relevant data from data source.
getDataField()
public method
getEncode()
public method
public getText ( ) : string |
return |
string |
static text to be displayed in the column. Defaults to empty. |
initializeCell()
public method
This method overrides the parent implementation.
setDataField()
public method
setEncode()
public method