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 QConfirmAction

This action works as a if-else stopper for another action. This action should be added to a control with the same event type before another action of that event type Doing so brings up a JavaScript Confirmation box in front of the user. If the user clicks on 'OK', then the next next action is executed (and any actions after that as well) If the user clicks on 'Cancel', then next/rest of the action(s) are not executed

QBaseClass
Extended by QAction
Extended by QConfirmAction
Package: Actions
Located at includes/base_controls/_actions.inc.php
Methods summary
public
# __construct( string $strMessage )

Constructor of the function

Constructor of the function

Parameters

$strMessage
Message which is to be set as the confirmation prompt message
public mixed|null|string
# __get( string $strName )

PHP Magic function to get the property values of an object of the class

PHP Magic function to get the property values of an object of the class

Parameters

$strName
Name of the property

Returns

mixed|null|string

Throws

QCallerException

Overrides

QAction::__get()
public string
# RenderScript( QControl $objControl )

Returns the JS to be executed on the client side

Returns the JS to be executed on the client side

Parameters

$objControl

Returns

string
The JS to be executed
Methods inherited from QAction
RenderActions(), __set()
Methods inherited from QBaseClass
OverrideAttributes(), __call()
Properties summary
protected string $strMessage

Message to be shown to the user on the confirmation prompt

Message to be shown to the user on the confirmation prompt

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