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 QCssAction

Sets the CSS class of a control on the client side (does not update the server side)

QBaseClass
Extended by QAction
Extended by QCssAction
Package: Actions
Located at includes/base_controls/_actions.inc.php
Methods summary
public
# __construct( string $strCssProperty, string $strCssValue, null|QControl $objControl = null )

Constructor

Constructor

Parameters

$strCssProperty
$strCssValue
$objControl
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
JavaScript to be executed on the client side for setting the CSS
Methods inherited from QAction
RenderActions(), __get(), __set()
Methods inherited from QBaseClass
OverrideAttributes(), __call()
Properties summary
protected string $strCssProperty

CSS property to be set

CSS property to be set

# null
protected string $strCssValue

Value to which the CSS property should be set

Value to which the CSS property should be set

# null
protected null|string $strControlId

The control ID for which the action should be done. By default, it is applied to the QControl to which the action is added.

The control ID for which the action should be done. By default, it is applied to the QControl to which the action is added.

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