PHP Class QDataGridBase, qcodo

Inheritance: extends QPaginatedControl
Mostra 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_oe property

protected $blnShowFooter

$blnShowHeader protected_oe property

protected $blnShowHeader

$intCellPadding protected_oe property

LAYOUT
protected $intCellPadding

$intCellSpacing protected_oe property

protected $intCellSpacing

$intCurrentRowIndex protected_oe property

protected $intCurrentRowIndex

$intSortColumnIndex protected_oe property

protected $intSortColumnIndex

$intSortDirection protected_oe property

protected $intSortDirection

$objAlternateRowStyle protected_oe property

APPEARANCE
protected $objAlternateRowStyle

$objColumnArray protected_oe property

MISC
protected $objColumnArray

$objHeaderLinkStyle protected_oe property

protected $objHeaderLinkStyle

$objHeaderRowStyle protected_oe property

protected $objHeaderRowStyle

$objOverrideRowStyleArray protected_oe property

protected $objOverrideRowStyleArray

$objRowStyle protected_oe property

protected $objRowStyle

$strBorderCollapse protected_oe property

protected $strBorderCollapse

$strGridLines protected_oe property

protected $strGridLines

$strLabelForMultipleFound protected_oe property

protected $strLabelForMultipleFound

$strLabelForNoneFound protected_oe property

protected $strLabelForNoneFound

$strLabelForOneFound protected_oe property

protected $strLabelForOneFound

$strLabelForPaginated protected_oe property

protected $strLabelForPaginated