Overview

Packages

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

Classes

  • BasicForm
  • CalculatorWidget
  • DataRepeaterExample
  • ExampleCheckColumn1
  • ExampleCheckColumn2
  • ExampleSingleForm
  • NestedTabForm
  • PaginatorForm
  • ParamsForm
  • PersistentExampleForm
  • PersonEditPanel
  • PluginEditForm
  • PluginManagerForm
  • ProjectEditPanel
  • ProjectListForm
  • ProjectViewPanel
  • QAccordion
  • QActionControl
  • QAutocomplete
  • QBlockControl
  • QButton
  • QButtonBase
  • QCalendar
  • QCheckBox
  • QCheckBoxLegacyColumn
  • QCheckBoxList
  • QControl
  • QControlBase
  • QControlGrouping
  • QControlLabel
  • QCsvTextBox
  • QDataGrid
  • QDataGrid_CheckBoxColumn
  • QDataGrid_SortEvent
  • QDataGridBase
  • QDataGridLegacy
  • QDataGridLegacyBase
  • QDataGridLegacyColumn
  • QDataGridLegacyRow
  • QDataGridLegacyRowStyle
  • QDataRepeater
  • QDatepicker
  • QDatepickerBox
  • QDateTimePicker
  • QDateTimeTextBox
  • QDialog
  • QDialogBox
  • QDraggable
  • QDroppable
  • QDropZoneGrouping
  • QEmailTextBox
  • QFileAsset
  • QFileAssetBase
  • QFileAssetDialog
  • QFileControl
  • QFilterType
  • QFloatTextBox
  • QFontFamily
  • QForm
  • QFormBase
  • QHListItem
  • QHtmlAttributeManager
  • QHtmlAttributeManagerBase
  • QHtmlTable
  • QHtmlTableBase
  • QImageBase
  • QImageBrowser
  • QImageBrowserBase
  • QImageBrowserNav
  • QImageBrowserThumbnails
  • QImageButton
  • QImageControl
  • QImageControlBase
  • QImageFileAsset
  • QImageLabel
  • QImageLabelBase
  • QImageRollover
  • QIntegerTextBox
  • QJqButton
  • QJqCheckBox
  • QJqRadioButton
  • QJsTimer
  • QJsTimerBase
  • QLabel
  • QLinkButton
  • QListBox
  • QListBoxBase
  • QListControl
  • QListItem
  • QListItemBase
  • QListItemStyle
  • QNumericTextBox
  • QPaginatedControl
  • QPaginator
  • QPaginatorBase
  • QPanel
  • QProgressbar
  • QRadioButton
  • QRadioButtonList
  • QResizable
  • QSampleControl
  • QSelectable
  • QSlider
  • QSortable
  • QTabs
  • QTagStyler
  • QTestControl
  • QTextBox
  • QTimerExpiredEvent
  • QTreeNav
  • QTreeNavItem
  • QUrlTextBox
  • QWaitIcon
  • QWriteBox
  • RecordsSummary
  • RefreshForm
  • SampleForm
  • SelectableLabel
  • SpeedForm
  • TestImageBrowser
  • UrlForm

Traits

  • QListItemManager

Exceptions

  • QCrossScriptingException

Functions

  • __QForm_EvaluateTemplate_ObHandler
  • DataGridEvalHandleError
  • Overview
  • Package
  • Class

Class QBlockControl

This abstract class is designed to be a base for class for span and div controls. It adds additional drag and drop support to these objects, as well as templating.

QBaseClass
Extended by QHtmlAttributeManagerBase
Extended by QHtmlAttributeManager
Extended by QControlBase
Extended by QControl
Extended by QBlockControl

Direct known subclasses

QFieldset, QLabel, QPanel

Indirect known subclasses

CalculatorWidget, NavPanel, QDatepickerGen, QDialog, QDialogBase, QDialogBox, QDialogGen, QFileAsset, QFileAssetBase, QFileAssetDialog, QImageBrowser, QImageBrowserBase, PersonEditPanel, QImageBrowserNav, QImageBrowserThumbnails, QImageFileAsset, QMenu, QMenuBase, QMenuGen, QModelConnectorEditDlg, QProgressbar, QProgressbarBase, QProgressbarGen, ProjectEditPanel, QSelectable, QSelectableBase, QSelectableGen, QSlider, QSliderBase, QSliderGen, QSortable, QSortableBase, QSortableGen, QTabs, ProjectViewPanel, QTabsBase, QTabsGen, RecordsSummary, SelectableLabel, QAccordion, QAccordionBase, QAccordionGen, QDatepicker, QDatepickerBase
Abstract
Package: Controls
Located at includes/base_controls/QBlockControl.class.php
Methods summary
public
# AddControlToMove( $objTargetControl = null )
public
# RemoveControlToMove( QControl $objTargetControl )
public
# RemoveAllControlsToMove( )
public
# AddDropZone( $objParentObject )
public
# RemoveDropZone( $objParentObject )
public
# RemoveAllDropZones( )
public string
# GetEndScript( )

Returns the End Script of the Control which is sent to the client when the control's Render is complete

Returns the End Script of the Control which is sent to the client when the control's Render is complete

Returns

string
The JS EndScript for the control

Overrides

QControlBase::GetEndScript()
public
# ParsePostData( )

Public function (to be overridden in child classes) to Parse the POST data recieved by control

Public function (to be overridden in child classes) to Parse the POST data recieved by control

protected string
# GetControlHtml( )

Returns the HTML of the QControl

Returns the HTML of the QControl

Returns

string
The HTML string
protected string
# GetInnerHtml( )

Return the inner html between the tags.

Return the inner html between the tags.

Returns

string
public boolean
# Validate( )

Public function to be overrriden by child classes

Public function to be overrriden by child classes

It is used to determine if the input fed into the control is valid or not. The rules are written in this function only. If the control is set for Validation, this function is automatically called on postback.

Returns

boolean
Whether or not the input inside the control are valid
public mixed
# __get( string $strName )

PHP __get magic method implementation

PHP __get magic method implementation

Parameters

$strName
Name of the property

Returns

mixed

Throws

Exception|QCallerException

Overrides

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

PHP __set magic method implementation

PHP __set magic method implementation

Parameters

$strName
Property Name
$mixValue
Property Value

Returns

mixed

Throws

Exception|QCallerException|QInvalidCastException

Overrides

QControlBase::__set()
Methods inherited from QControlBase
AddAction(), AddActionArray(), AddAttributeScript(), AddChildControl(), AddCssFile(), AddJavascriptFile(), AddPluginCssFile(), AddPluginJavascriptFile(), AddWrapperCssClass(), Blink(), EvaluateTemplate(), Focus(), ForgetState(), GetAllActions(), GetAttributes(), GetChildControl(), GetChildControls(), GetControlFromHierarchyByMethodName(), GetCustomAttribute(), GetCustomAttributes(), GetCustomStyle(), GetEndHtml(), GetForm(), GetJavaScriptForEvent(), GetJqControlId(), GetModelConnectorParams(), GetNonWrappedHtml(), GetState(), GetStyleAttributes(), GetTemplatePath(), GetWrapperAttributes(), GetWrapperStyleAttributes(), GetWrapperStyler(), IsDescendantOf(), IsModified(), MakeCurrent(), MarkAsModified(), MarkAsRendered(), MarkAsWrapperModified(), ProcessActionParameters(), PutState(), Refresh(), RemoveAllActions(), RemoveChildControl(), RemoveChildControls(), RemoveCustomAttribute(), RemoveCustomStyle(), RemoveWrapperCssClass(), Render(), RenderActionScripts(), RenderAjax(), RenderAttributeScripts(), RenderChildren(), RenderComment(), RenderCssStyles(), RenderExtensionRenderer(), RenderHelper(), RenderHtmlAttributes(), RenderOutput(), RenderWithError(), RenderWithName(), RenderWrappedOutput(), ResetFlags(), ResetOnPageStatus(), SetCustomAttribute(), SetCustomStyle(), SetFocus(), SetForm(), SetParentControl(), Sleep(), SleepHelper(), ValidateControlAndChildren(), ValidationReset(), VarExport(), Wakeup(), WakeupHelper(), Watch(), _CallActionMethod(), _ProcessActionParams(), _ReadState(), _WriteState(), __construct()
Methods inherited from QHtmlAttributeManagerBase
AddCssClass(), GetCssStyle(), GetDataAttribute(), GetHtmlAttribute(), GetHtmlAttributes(), HasCssClass(), HasCssStyle(), HasHtmlAttribute(), Override(), RemoveCssClass(), RemoveCssClassesByPrefix(), RemoveCssStyle(), RemoveDataAttribute(), RemoveHtmlAttribute(), RenderTag(), SetCssBoxValue(), SetCssClass(), SetCssStyle(), SetDataAttribute(), SetHtmlAttribute()
Methods inherited from QBaseClass
OverrideAttributes(), __call()
Constants inherited from QControlBase
CommentEnd, CommentStart
Properties summary
protected string $strText

The text on the control

The text on the control

# null
protected string $strFormat

The format specifier for rendering the control

The format specifier for rendering the control

# null
protected string $strTemplate

Path to the HTML template (.tpl.php) file (applicable in case a template is being used for Render)

Path to the HTML template (.tpl.php) file (applicable in case a template is being used for Render)

# null
protected boolean $blnAutoRenderChildren

Render the child controls of this control automatically?

Render the child controls of this control automatically?

# false
protected string $strTagName

HTML tag to be used by the control (such as div or span)

HTML tag to be used by the control (such as div or span)

# null
protected boolean $blnHtmlEntities

Should htmlentities be used on the contents of this control?

Should htmlentities be used on the contents of this control?

# true
protected boolean $blnDropTarget

Is it a drop target?

Is it a drop target?

# false
protected array $objMovesControlsArray
# array()
protected array $objDropsControlsArray
# array()
protected array $objDropsGroupingsArray
# array()
protected array $objIsDropZoneFor
# array()
Properties inherited from QControlBase
$blnActionsMustTerminate, $blnAutoRender, $blnDisplay, $blnIsBlockElement, $blnMinimize, $blnModified, $blnOnPage, $blnRendered, $blnRendering, $blnRequired, $blnSaveState, $blnScriptsOnly, $blnUseWrapper, $blnVisible, $blnWrapLabel, $blnWrapperModified, $mixActionParameter, $mixCausesValidation, $objActionArray, $objChildControlArray, $objDraggable, $objDroppable, $objForm, $objLinkedNode, $objParentControl, $objResizable, $objWatcher, $objWrapperStyler, $strAttributeScripts, $strControlId, $strCssClass, $strCustomAttributeArray, $strCustomStyleArray, $strFormAttributes, $strHtmlAfter, $strHtmlBefore, $strInstructions, $strJavaScripts, $strName, $strPreferredRenderMethod, $strRenderMethod, $strStyleSheets, $strValidationError, $strWarning
Properties inherited from QHtmlAttributeManagerBase
$attributes, $styles
Magic properties summary
public string $Text

is the Html that you want rendered

public string $Format

is a sprintf string that the Text property will be sent to for further formatting.

public string $Template

Path to the HTML template (.tpl.php) file (applicable in case a template is being used for Render)

public boolean $AutoRenderChildren

Render the child controls of this control automatically

public string $TagName

HTML tag to be used by the control (such as div or span)

public boolean $HtmlEntities

hould htmlentities be used on the contents of this control

public boolean $DropTarget

Is this a drop target?

public string $HorizontalAlign
public string $VerticalAlign
public integer $ResizeHandleMinimum
public integer $ResizeHandleMaximum
public string $ResizeHandleDirection
Magic properties inherited from QControlBase
$ActionParameter, $ActionsMustTerminate, $AutoRender, $CausesValidation, $ControlId, $Form, $FormAttributes, $HtmlAfter, $HtmlBefore, $Instructions, $JavaScripts, $LinkedNode, $Minimize, $Modified, $Moveable, $Name, $OnPage, $ParentControl, $PreferredRenderMethod, $RenderMethod, $Rendered, $Rendering, $Required, $Resizable, $SaveState, $ScriptsOnly, $StyleSheets, $UseWrapper, $ValidationError, $Visible, $Warning, $WrapLabel, $WrapperCssClass, $WrapperModified
Magic properties inherited from QHtmlAttributeManagerBase
$AccessKey, $AltText, $BackColor, $BorderCollapse, $BorderColor, $BorderStyle, $BorderWidth, $CssClass, $Cursor, $Data, $Display, $DisplayStyle, $Enabled, $FontBold, $FontItalic, $FontNames, $FontOverline, $FontSize, $FontStrikeout, $FontUnderline, $ForeColor, $Height, $Left, $Margin, $NoWrap, $Opacity, $OrderedListType, $Overflow, $Padding, $Position, $ReadOnly, $TabIndex, $ToolTip, $Top, $UnorderedListStyle, $Width
API documentation generated by ApiGen