Overview

Packages

  • Actions
  • Codegen
  • Controls
    • Base
  • DatabaseAdapters
  • Events
  • None
  • Sessions
  • Tests

Classes

  • AbstractControl_CodeGenerator
  • AjaxTimingForm
  • BBCodeParser
  • CalculatorForm
  • ComplexColumn
  • Event
  • ExampleForm
  • Examples
  • ExampleService
  • ExamplesForm
  • HtmlJqDoc
  • InjectForm
  • JavaScriptHelper
  • JqAttributes
  • JqDoc
  • JqIcon
  • Method
  • MyControl
  • MyQSlider_ChangeEvent
  • NavPanel
  • Option
  • Order
  • Project
  • ProjectPickerListBox
  • QAbstractCacheProvider
  • QAbstractHtmlTableColumn
  • QAbstractHtmlTableDataColumn
  • QAccordion_ActivateEvent
  • QAccordion_BeforeActivateEvent
  • QAccordion_CreateEvent
  • QAjaxResponse
  • QApplication
  • QApplicationBase
  • QArchive
  • QAutocomplete_ChangeEvent
  • QAutocomplete_CloseEvent
  • QAutocomplete_CodeGenerator
  • QAutocomplete_CreateEvent
  • QAutocomplete_FocusEvent
  • QAutocomplete_OpenEvent
  • QAutocomplete_ResponseEvent
  • QAutocomplete_SearchEvent
  • QAutocomplete_SelectEvent
  • QAutocomplete_SourceEvent
  • QAutocompleteBase_CodeGenerator
  • QAutocompleteListItem
  • QBaseClass
  • QBorderCollapse
  • QBorderStyle
  • QBrowserType
  • QCache
  • QCacheDeleteAction
  • QCacheDeleteAllAction
  • QCacheProviderAPC
  • QCacheProviderLocalMemory
  • QCacheProviderMemcache
  • QCacheProviderNoCache
  • QCacheProviderProxy
  • QCacheSetAction
  • QCalendarType
  • QCallType
  • QCausesValidation
  • QCheckBox_CodeGenerator
  • QCheckBoxBase_CodeGenerator
  • QCheckBoxList_CodeGenerator
  • QCheckBoxListBase_CodeGenerator
  • QControl_CodeGenerator
  • QControlBase_CodeGenerator
  • QControlCategoryType
  • QControlProxy
  • QCrossScripting
  • QCryptography
  • QCss
  • QCursor
  • QDatabaseFieldBase
  • QDatabaseResultBase
  • QDataGrid_CodeGenerator
  • QDataGridBase_CodeGenerator
  • QDatepicker_BeforeShowDayEvent
  • QDatepicker_BeforeShowEvent
  • QDatepicker_CalculateWeekEvent
  • QDatepicker_ChangeMonthYearEvent
  • QDatepicker_CloseEvent
  • QDatepicker_SelectEvent
  • QDatepicker_SelectEvent2
  • QDatepickerBox_BeforeShowDayEvent
  • QDatepickerBox_BeforeShowEvent
  • QDatepickerBox_CalculateWeekEvent
  • QDatepickerBox_ChangeMonthYearEvent
  • QDatepickerBox_CloseEvent
  • QDatepickerBox_CodeGenerator
  • QDatepickerBox_SelectEvent
  • QDatepickerBoxBase_CodeGenerator
  • QDateTime
  • QDateTimePicker_CodeGenerator
  • QDateTimePickerBase_CodeGenerator
  • QDateTimePickerFormat
  • QDateTimePickerType
  • QDateTimeSpan
  • QDbBackedFormStateHandler
  • QDialog_BeforeCloseEvent
  • QDialog_ButtonEvent
  • QDialog_CloseEvent
  • QDialog_CreateEvent
  • QDialog_DragEvent
  • QDialog_DragStartEvent
  • QDialog_DragStopEvent
  • QDialog_FocusEvent
  • QDialog_OpenEvent
  • QDialog_ResizeEvent
  • QDialog_ResizeStartEvent
  • QDialog_ResizeStopEvent
  • QDisplayStyle
  • QDraggable_CreateEvent
  • QDraggable_DragEvent
  • QDraggable_StartEvent
  • QDraggable_StopEvent
  • QDroppable_ActivateEvent
  • QDroppable_CreateEvent
  • QDroppable_DeactivateEvent
  • QDroppable_DropEvent
  • QDroppable_OutEvent
  • QDroppable_OverEvent
  • QEmailAttachment
  • QEmailMessage
  • QEmailServer
  • QEmailStringAttachment
  • QErrorAttribute
  • QFile
  • QFileAssetType
  • QFileFormStateHandler
  • QFloatTextBox_CodeGenerator
  • QFloatTextBoxBase_CodeGenerator
  • QFolder
  • QFormGen
  • QFormStateHandler
  • QGridLines
  • QHListControl
  • QHorizontalAlign
  • QHtml
  • QHtmlReporter
  • QHtmlTable_CodeGenerator
  • QHtmlTableCallableColumn
  • QHtmlTableCheckBoxColumn
  • QHtmlTableCheckBoxColumn_ClickEvent
  • QHtmlTableIndexedColumn
  • QHtmlTableLinkColumn
  • QHtmlTableNodeColumn
  • QHtmlTablePropertyColumn
  • QI18n
  • QImageType
  • QInformixPdoDatabaseField
  • QInformixPdoDatabaseResult
  • QInformixPdoDatabaseRow
  • QInstallationValidationResult
  • QInstallationValidator
  • QIntegerTextBox_CodeGenerator
  • QIntegerTextBoxBase_CodeGenerator
  • QJqButton_CreateEvent
  • QJqCheckBox_CreateEvent
  • QJqRadioButton_CreateEvent
  • QJsClosure
  • QJsFunction
  • QJsNoQuoteKey
  • QJsParameterList
  • QJsPriority
  • QJsVarName
  • QLabel_CodeGenerator
  • QLabelBase_CodeGenerator
  • QLexer
  • QListBox_CodeGenerator
  • QListBoxBase_CodeGenerator
  • QListControl_CodeGenerator
  • QListControlBase_CodeGenerator
  • QMenu
  • QMenu_BlurEvent
  • QMenu_CreateEvent
  • QMenu_FocusEvent
  • QMenu_SelectEvent
  • QMimeType
  • QModelConnectorArgumentType
  • QModelConnectorCreateType
  • QModelConnectorEditDlg
  • QModelConnectorOptions
  • QModelConnectorParam
  • QMultiLevelCacheProvider
  • QMySqlDatabaseResult
  • QNoScriptAjaxAction
  • QOracleDatabaseField
  • QOracleDatabaseResult
  • QOrderedListType
  • QOverflow
  • QPartialQueryBuilder
  • QPdoDatabaseResult
  • QPgConditionILike
  • QPgConditionJsonContains
  • QPgQ
  • QPosition
  • QPostgreSqlPdoDatabaseField
  • QPostgreSqlPdoDatabaseResult
  • QPostgreSqlPdoDatabaseRow
  • QProgressbar_ChangeEvent
  • QProgressbar_CompleteEvent
  • QProgressbar_CreateEvent
  • QQ
  • QQAggregationClause
  • QQAssociationNode
  • QQAverage
  • QQClause
  • QQColumnNode
  • QQCondition
  • QQConditionAll
  • QQConditionAnd
  • QQConditionBetween
  • QQConditionComparison
  • QQConditionEqual
  • QQConditionExists
  • QQConditionGreaterOrEqual
  • QQConditionGreaterThan
  • QQConditionIn
  • QQConditionIsNotNull
  • QQConditionIsNull
  • QQConditionLessOrEqual
  • QQConditionLessThan
  • QQConditionLike
  • QQConditionLogical
  • QQConditionNone
  • QQConditionNot
  • QQConditionNotBetween
  • QQConditionNotEqual
  • QQConditionNotExists
  • QQConditionNotIn
  • QQConditionNotLike
  • QQConditionOr
  • QQCount
  • QQDistinct
  • QQExpand
  • QQExpandAsArray
  • QQExpandVirtualNode
  • QQFunctionNode
  • QQGroupBy
  • QQHavingClause
  • QQLimitInfo
  • QQMathNode
  • QQMaximum
  • QQMinimum
  • QQNamedValue
  • QQNode
  • QQNoParentNode
  • QQOrderBy
  • QQReverseReferenceNode
  • QQSelect
  • QQSubQueryCountNode
  • QQSubQueryNode
  • QQSubQuerySqlNode
  • QQSum
  • QQTableNode
  • QQuery
  • QQueryBuilder
  • QQueryExpansion
  • QQVirtualNode
  • QRadioButtonList_CodeGenerator
  • QRadioButtonListBase_CodeGenerator
  • QRegex
  • QRepeatDirection
  • QRequestMode
  • QResizable_CreateEvent
  • QResizable_ResizeEvent
  • QResizable_StartEvent
  • QResizable_StopEvent
  • QResizeHandleDirection
  • QRssCategory
  • QRssFeed
  • QRssImage
  • QRssItem
  • QSampleTranslation
  • QSelectable_CreateEvent
  • QSelectable_SelectedEvent
  • QSelectable_SelectingEvent
  • QSelectable_StartEvent
  • QSelectable_StopEvent
  • QSelectable_UnselectedEvent
  • QSelectable_UnselectingEvent
  • QSelectionMode
  • QSelectMenu_ChangeEvent
  • QSelectMenu_CloseEvent
  • QSelectMenu_CreateEvent
  • QSelectMenu_FocusEvent
  • QSelectMenu_OpenEvent
  • QSelectMenu_SelectEvent
  • QSessionFormStateHandler
  • QSlider_ChangeEvent
  • QSlider_CodeGenerator
  • QSlider_CreateEvent
  • QSlider_SlideEvent
  • QSlider_StartEvent
  • QSlider_StopEvent
  • QSliderBase_CodeGenerator
  • QSoapMethod
  • QSoapParameter
  • QSoapService
  • QSortable_ActivateEvent
  • QSortable_BeforeStopEvent
  • QSortable_ChangeEvent
  • QSortable_CreateEvent
  • QSortable_DeactivateEvent
  • QSortable_OutEvent
  • QSortable_OverEvent
  • QSortable_ReceiveEvent
  • QSortable_RemoveEvent
  • QSortable_SortEvent
  • QSortable_StartEvent
  • QSortable_StopEvent
  • QSortable_UpdateEvent
  • QSpinner
  • QSpinner_ChangeEvent
  • QSpinner_CreateEvent
  • QSpinner_SpinEvent
  • QSpinner_StartEvent
  • QSpinner_StopEvent
  • QSqLite3PdoDatabaseField
  • QSqLite3PdoDatabaseResult
  • QSqLite3PdoDatabaseRow
  • QStack
  • QString
  • QTabs_ActivateEvent
  • QTabs_BeforeActivateEvent
  • QTabs_BeforeLoadEvent
  • QTabs_CreateEvent
  • QTabs_LoadEvent
  • QTag
  • QTestForm
  • QTextAlign
  • QTextBox_CodeGenerator
  • QTextBoxBase_CodeGenerator
  • QTextMode
  • QTimer
  • QTranslationPoParser
  • QType
  • QUnorderedListStyle
  • QVerticalAlign
  • QVirtualAttributeColumn
  • QWatcher
  • QWatcherBase
  • QWatcherCache
  • QWatcherDB
  • QWatcherNone
  • SampleComposite
  • SelectForm

Interfaces

  • ICacheAction
  • QDataList_CodeGenerator_Interface
  • QTranslationBase

Traits

  • QDataBinder
  • QModelTrait

Exceptions

  • QCallerException
  • QCryptographyException
  • QDataBindException
  • QDateTimeNullException
  • QEmailException
  • QIndexOutOfRangeException
  • QInformixPdoDatabaseException
  • QInvalidCastException
  • QInvalidFormStateException
  • QOptimisticLockingException
  • QPdoDatabaseException
  • QPoParserException
  • QPostgreSqlPdoDatabaseException
  • QRemoteAdminDeniedException
  • QSqLite3PdoDatabaseException
  • QUndefinedMethodException
  • QUndefinedPrimaryKeyException
  • QUndefinedPropertyException

Functions

  • __database_check_error
  • _b
  • _indent
  • _nl
  • _p
  • _r
  • _t
  • _tp
  • _tr
  • array_trim
  • beginsWith
  • CamelCaseFromDash
  • CastToInt
  • DisplayMonospacedText
  • endsWith
  • GO_BACK
  • jq_anytime_gen
  • jq_control_gen
  • jq_inc_gen
  • jq_indent
  • PrintExplainStatement
  • PrintInstructions
  • QcubedHandleCodeGenParseError
  • QcubedHandleError
  • QcubedHandleException
  • QCubedShutdown
  • QDateTimeErrorHandler
  • trimOffEnd
  • trimOffFront
  • Overview
  • Package
  • Class

Class QAbstractHtmlTableColumn

Represents a column for a QHtmlTable. Different subclasses (see below) allow accessing and fetching the data for each cells in a variety of ways

QBaseClass
Extended by QAbstractHtmlTableColumn

Direct known subclasses

QAbstractHtmlTableDataColumn

Indirect known subclasses

ComplexColumn, ExampleCheckColumn1, QVirtualAttributeColumn, ExampleCheckColumn2, QDataGrid_CheckBoxColumn, QHtmlTableCallableColumn, QHtmlTableCheckBoxColumn, QHtmlTableIndexedColumn, QHtmlTableLinkColumn, QHtmlTableNodeColumn, QHtmlTablePropertyColumn
Abstract
Located at includes/base_controls/QHtmlTableColumn.class.php
Methods summary
public
# __construct( string $strName )

Parameters

$strName
Name of the column
public
# RenderHeaderCell( )

Render the header cell including opening and closing tags.

This will be called by the data table if ShowHeader is on, and will only be called for the top line item.

public
# FetchHeaderCellValue( )

Returns the text to print in the header cell, if one is to be drawn. Override if you want something other than the default.

Returns the text to print in the header cell, if one is to be drawn. Override if you want something other than the default.

public array
# GetHeaderCellParams( )

Returns an array of key/value pairs to insert as parameters in the header cell. Override and add more if you need them.

Returns an array of key/value pairs to insert as parameters in the header cell. Override and add more if you need them.

Returns

array
public string
# RenderCell( mixed $item, boolean $blnAsHeader = false )

Render a cell. Called by data table for each cell. Override and call with $blnHeader = true if you want this individual cell to render with <

> tags instead of <>.

Render a cell. Called by data table for each cell. Override and call with $blnHeader = true if you want this individual cell to render with <

> tags instead of <>.

Parameters

$item
$blnAsHeader

Returns

string
protected array
# GetCellParams( mixed $item )

Return a key/val array of items to insert inside the cell tag. Handles class, style, and id already. Override to add additional items, like an onclick handler.

Return a key/val array of items to insert inside the cell tag. Handles class, style, and id already. Override to add additional items, like an onclick handler.

Parameters

$item

Returns

array
protected string
# GetCellClass( mixed $item )

Return the class of the cell.

Return the class of the cell.

Parameters

$item

Returns

string
protected string
# GetCellId( mixed $item )

Return the id of the cell.

Return the id of the cell.

Parameters

$item

Returns

string
protected string
# GetCellStyle( mixed $item )

Return the style string for the cell.

Return the style string for the cell.

Parameters

$item

Returns

string
abstract public
# FetchCellValue( mixed $item )

Return the raw string that represents the cell value.

Return the raw string that represents the cell value.

Parameters

$item
public string
# RenderColTag( )

Render the column tag. This special tag can control specific features of columns, but is generally optional on a table.

Render the column tag. This special tag can control specific features of columns, but is generally optional on a table.

Returns

string
protected
# GetColParams( )

Return a key/value array of parameters to put in the col tag. Override to add parameters.

Return a key/value array of parameters to put in the col tag. Override to add parameters.

public
# Sleep( )

Prepare to serialize references to the form.

Prepare to serialize references to the form.

public
# Wakeup( QForm $objForm )

The object has been unserialized, so fix up pointers to embedded objects.

The object has been unserialized, so fix up pointers to embedded objects.

Parameters

$objForm
public
# ParsePostData( )

Override to check for post data in your column if needed.

Override to check for post data in your column if needed.

public boolean|integer|mixed|QHtmlTableBase|string
# __get( string $strName )

PHP magic method

PHP magic method

Parameters

$strName

Returns

boolean|integer|mixed|QHtmlTableBase|string

Throws

Exception
QCallerException

Overrides

QBaseClass::__get()
public mixed|
# __set( string $strName, string $mixValue )

PHP Magic method

PHP Magic method

Parameters

$strName
$mixValue

Returns

mixed|

Throws

Exception
QCallerException
QInvalidCastException

Overrides

QBaseClass::__set()
Methods inherited from QBaseClass
OverrideAttributes(), __call()
Properties summary
protected string $strName
#
protected string $strCssClass
# null
protected string $strHeaderCssClass
# null
protected boolean $blnHtmlEntities
# true
protected boolean $blnRenderAsHeader
# false
protected QHtmlTableBase $objParentTable
# null
protected integer $intSpan
# 1
protected string $strId

optional id for column tag rendering and datatables

optional id for column tag rendering and datatables

# null
protected boolean $blnVisible

Easy way to hide a column without removing the column.

Easy way to hide a column without removing the column.

# true
protected Callable $cellParamsCallback

Callback to modify the html attributes of the generated cell.

Callback to modify the html attributes of the generated cell.

# null
protected QTagStyler $objCellStyler

Styles for each cell. Usually this should be done in css for efficient code generation.

Styles for each cell. Usually this should be done in css for efficient code generation.

#
protected QTagStyler $objHeaderCellStyler

Styles for each header cell. Usually this should be done in css for efficient code generation.

Styles for each header cell. Usually this should be done in css for efficient code generation.

#
protected QTagStyler $objColStyler

Styles for each col. Usually this should be done in css for efficient code generation.

Styles for each col. Usually this should be done in css for efficient code generation.

#
Magic properties summary
public string $Name

name of the column

public string $CssClass

CSS class of the column. This will be applied to every cell in the column. Use ColStyper to set the class for the actual 'col' tag if using col tags.

public string $HeaderCssClass

CSS class of the column's cells when it's rendered in a table header

public boolean $HtmlEntities

if true, cell values will be converted using htmlentities()

public boolean $RenderAsHeader

if true, all cells in the column will be rendered with a <

> tag instead of <>

public integer $Id

HTML id attribute to put in the col tag

public integer $Span

HTML span attribute to put in the col tag

public boolean $Visible

Whether the column will be drawn. Defaults to true.

public read-only QHtmlTableBase $ParentTable

parent table of the column

public read-only QTagStyler $CellStyler

The tag styler for the cells in the column

public read-only QTagStyler $HeaderCellStyler

The tag styler for the header cells in the column

public read-only QTagStyler $ColStyler

The tag styler for the col tag in the column

public write-only QHtmlTableBase $_ParentTable

Parent table of this column

public write-only callable $CellParamsCallback

A callback to set the html parameters of a generated cell

API documentation generated by ApiGen