Overview

Packages

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

Classes

  • QAction
  • QAjaxAction
  • QAjaxControlAction
  • QAlertAction
  • QBlurControlAction
  • QConfirmAction
  • QCssAction
  • QCssClassAction
  • QFocusControlAction
  • QHideCalendarAction
  • QHideDialog
  • QHideDialogBox
  • QJavaScriptAction
  • QJQAction
  • QJQBounceAction
  • QJQHideAction
  • QJQHideEffectAction
  • QJQHighlightAction
  • QJQPulsateAction
  • QJQShakeAction
  • QJQShowAction
  • QJQShowEffectAction
  • QJQSizeAction
  • QJQToggleAction
  • QJQToggleEffectAction
  • QJQTransferAction
  • QRedirectAction
  • QRegisterClickPositionAction
  • QResetTimerAction
  • QSelectControlAction
  • QServerAction
  • QServerControlAction
  • QSetValueAction
  • QShowCalendarAction
  • QShowDialog
  • QShowDialogBox
  • QStopPropagationAction
  • QTerminateAction
  • QToggleCssClassAction
  • QToggleDisplayAction
  • QToggleEnableAction
  • Overview
  • Package
  • Class

Class QCssClassAction

Can add or remove an extra CSS class from a control. Should be used mostly for temporary purposes such as 'hovering' over a control

QBaseClass
Extended by QAction
Extended by QCssClassAction
Package: Actions
Located at includes/base_controls/_actions.inc.php
Methods summary
public
# __construct( null|string $strTemporaryCssClass = null, boolean $blnOverride = false )

Constructor

Constructor

Parameters

$strTemporaryCssClass

The temporary class to be added to the control If null, it will reset the CSS classes to the previous set

$blnOverride

Should the previously set classes be removed (true) or not (false) This will not reset the CSS class on the server side

public string
# RenderScript( QControl $objControl )

Returns the JavaScript to be executed on the client side

Returns the JavaScript to be executed on the client side

Parameters

$objControl

Returns

string
The JavaScript to be executed on the client side
Methods inherited from QAction
RenderActions(), __get(), __set()
Methods inherited from QBaseClass
OverrideAttributes(), __call()
Properties summary
protected null|string $strTemporaryCssClass

The CSS class to be added to the control

The CSS class to be added to the control

# null
protected boolean $blnOverride

Should the CSS class be applied by removing the previous one?

Should the CSS class be applied by removing the previous one?

# false
Properties inherited from QAction
$objEvent
Magic properties inherited from QAction
$Event
API documentation generated by ApiGen