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 QTerminateAction

Prevents the default action on an event.

E.g. If you have a click action added to a label whose text is a link, clicking it will take the action but also take you to the link pointed by the label. You can add a QTerminateAction after all QClickEvent handlers and that will make sure that action handlers are triggered but the browser does not navigate the user to the link pointed by the label

QBaseClass
Extended by QAction
Extended by QTerminateAction
Package: Actions
Located at includes/base_controls/_actions.inc.php
Methods summary
public string
# RenderScript( QControl $objControl )

Returns the JS for the browser

Returns the JS for the browser

Parameters

$objControl

Returns

string
JS to prevent the default action
Methods inherited from QAction
RenderActions(), __get(), __set()
Methods inherited from QBaseClass
OverrideAttributes(), __call()
Properties inherited from QAction
$objEvent
Magic properties inherited from QAction
$Event
API documentation generated by ApiGen