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 QToggleEnableAction

Toggle the 'enabled' status of a control NOTE: It does not change the Enabled property on the server side

QBaseClass
Extended by QAction
Extended by QToggleEnableAction
Package: Actions
Located at includes/base_controls/_actions.inc.php
Methods summary
public
# __construct( QControl|QControlBase $objControl, boolean $blnEnabled = null )

Parameters

$objControl
$blnEnabled

Throws

Exception|QCallerException|QInvalidCastException
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
Client side JS
Methods inherited from QAction
RenderActions(), __get(), __set()
Methods inherited from QBaseClass
OverrideAttributes(), __call()
Properties summary
protected null|string $strControlId

Control ID of the control to be Enabled/Disabled

Control ID of the control to be Enabled/Disabled

# null
protected boolean|null $blnEnabled

Enforce the Enabling or Disabling action

Enforce the Enabling or Disabling action

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