PHP Class QDataGridBase, qcodo

Inheritance: extends QPaginatedControl
Show file Open project: qcodo/qcodo Class Usage Examples

Protected Properties

Property Type Description
$blnShowFooter
$blnShowHeader
$intCellPadding LAYOUT
$intCellSpacing
$intCurrentRowIndex
$intSortColumnIndex
$intSortDirection
$objAlternateRowStyle APPEARANCE
$objColumnArray MISC
$objHeaderLinkStyle
$objHeaderRowStyle
$objOverrideRowStyleArray
$objRowStyle
$strBorderCollapse
$strGridLines
$strLabelForMultipleFound
$strLabelForNoneFound
$strLabelForOneFound
$strLabelForPaginated

Public Methods

Method Description
AddColumn ( QDataGridColumn $objColumn ) Used to add a DataGridColumn to this DataGrid
AddColumnAt ( $intColumnIndex, QDataGridColumn $objColumn )
GetAllColumns ( )
GetAttributes ( $blnIncludeCustom = true, $blnIncludeAction = false )
GetColumn ( $intColumnIndex )
GetColumnByName ( $strName )
GetColumnsByName ( $strName )
GetJavaScriptAction ( )
GetStyleAttributes ( )
OverrideRowStyle ( $intRowIndex, $objStyle ) the RowIndex and the DataGridRowStyle with which to override
ParsePostData ( ) The Table, itself, should have no actions defined on it and should not be parsing anything
RemoveAllColumns ( )
RemoveColumn ( $intColumnIndex )
RemoveColumnByName ( $strName )
RemoveColumnsByName ( $strName )
Sort_Click ( $strFormId, $strControlId, $strParameter ) Parse the _POST to see if the user is requesting a change in the sort column or page
__construct ( $objParentObject, $strControlId = null )
__get ( $strName )
__set ( $strName, $mixValue )

Protected Methods

Method Description
GetControlHtml ( )
GetDataGridRowHtml ( $objObject )
GetFooterRowHtml ( )
GetHeaderRowHtml ( )
GetHeaderSortedHtml ( QDataGridColumn $objColumn )
GetPaginatorRowHtml ( $objPaginator )
ParseColumnHtml ( $objColumn, $objObject ) Used upon rendering to find backticks and perform PHP eval's
PersistPrepare ( )

Method Details

AddColumn() public method

Used to add a DataGridColumn to this DataGrid
public AddColumn ( QDataGridColumn $objColumn )
$objColumn QDataGridColumn

AddColumnAt() public method

public AddColumnAt ( $intColumnIndex, QDataGridColumn $objColumn )
$objColumn QDataGridColumn

GetAllColumns() public method

public GetAllColumns ( )

GetAttributes() public method

public GetAttributes ( $blnIncludeCustom = true, $blnIncludeAction = false )

GetColumn() public method

public GetColumn ( $intColumnIndex )

GetColumnByName() public method

public GetColumnByName ( $strName )

GetColumnsByName() public method

public GetColumnsByName ( $strName )

GetControlHtml() protected method

protected GetControlHtml ( )

GetDataGridRowHtml() protected method

protected GetDataGridRowHtml ( $objObject )

GetFooterRowHtml() protected method

protected GetFooterRowHtml ( )

GetHeaderRowHtml() protected method

protected GetHeaderRowHtml ( )

GetHeaderSortedHtml() protected method

protected GetHeaderSortedHtml ( QDataGridColumn $objColumn )
$objColumn QDataGridColumn

GetJavaScriptAction() public method

public GetJavaScriptAction ( )

GetPaginatorRowHtml() protected method

protected GetPaginatorRowHtml ( $objPaginator )

GetStyleAttributes() public method

public GetStyleAttributes ( )

OverrideRowStyle() public method

the RowIndex and the DataGridRowStyle with which to override
public OverrideRowStyle ( $intRowIndex, $objStyle )

ParseColumnHtml() protected method

Used upon rendering to find backticks and perform PHP eval's
protected ParseColumnHtml ( $objColumn, $objObject )

ParsePostData() public method

The Table, itself, should have no actions defined on it and should not be parsing anything
public ParsePostData ( )

PersistPrepare() protected method

protected PersistPrepare ( )

RemoveAllColumns() public method

public RemoveAllColumns ( )

RemoveColumn() public method

public RemoveColumn ( $intColumnIndex )

RemoveColumnByName() public method

public RemoveColumnByName ( $strName )

RemoveColumnsByName() public method

public RemoveColumnsByName ( $strName )

Sort_Click() public method

Parse the _POST to see if the user is requesting a change in the sort column or page
public Sort_Click ( $strFormId, $strControlId, $strParameter )

__construct() public method

public __construct ( $objParentObject, $strControlId = null )

__get() public method

public __get ( $strName )

__set() public method

public __set ( $strName, $mixValue )

Property Details

$blnShowFooter protected property

protected $blnShowFooter

$blnShowHeader protected property

protected $blnShowHeader

$intCellPadding protected property

LAYOUT
protected $intCellPadding

$intCellSpacing protected property

protected $intCellSpacing

$intCurrentRowIndex protected property

protected $intCurrentRowIndex

$intSortColumnIndex protected property

protected $intSortColumnIndex

$intSortDirection protected property

protected $intSortDirection

$objAlternateRowStyle protected property

APPEARANCE
protected $objAlternateRowStyle

$objColumnArray protected property

MISC
protected $objColumnArray

$objHeaderLinkStyle protected property

protected $objHeaderLinkStyle

$objHeaderRowStyle protected property

protected $objHeaderRowStyle

$objOverrideRowStyleArray protected property

protected $objOverrideRowStyleArray

$objRowStyle protected property

protected $objRowStyle

$strBorderCollapse protected property

protected $strBorderCollapse

$strGridLines protected property

protected $strGridLines

$strLabelForMultipleFound protected property

protected $strLabelForMultipleFound

$strLabelForNoneFound protected property

protected $strLabelForNoneFound

$strLabelForOneFound protected property

protected $strLabelForOneFound

$strLabelForPaginated protected property

protected $strLabelForPaginated