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 QServerAction

Server actions are handled through a full-page postback.

QBaseClass
Extended by QAction
Extended by QServerAction

Direct known subclasses

QServerControlAction
Package: Actions
Located at includes/base_controls/_actions.inc.php
Methods summary
public
# __construct( string $strMethodName = null, string $mixCausesValidationOverride = null, string $strJsReturnParam = '' )

Parameters

$strMethodName

The method name which is to be assigned as the event handler (for the event being created)

$mixCausesValidationOverride

A constant from QCausesValidation (or $this or an array of QControls)

$strJsReturnParam

The parameter to be returned when this event occurs (this is an override for the control's ActionParameter)

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()
protected string
# getActionParameter( QControlBase $objControl )

Determines the ActionParameter associated with the action and returns it

Determines the ActionParameter associated with the action and returns it

Parameters

$objControl

Returns

string
The action parameter
public string
# RenderScript( QControl $objControl )

Returns the JS which will be called on the client side which will result in the event handler being called

Returns the JS which will be called on the client side which will result in the event handler being called

Parameters

$objControl

Returns

string
Methods inherited from QAction
RenderActions(), __set()
Methods inherited from QBaseClass
OverrideAttributes(), __call()
Properties summary
protected string $strMethodName

Name of the method in the form to be called

Name of the method in the form to be called

#
protected mixed $mixCausesValidationOverride

A constant from QCausesValidation enumeration class It is set in the constructor via the corresponding argument

A constant from QCausesValidation enumeration class It is set in the constructor via the corresponding argument

#
protected string $strJsReturnParam

An over-ride for the Control's ActionParameter

An over-ride for the Control's ActionParameter

#
Properties inherited from QAction
$objEvent
Magic properties summary
public read-only string $MethodName

Name of the associated action handling method

public read-only mixed $CausesValidationOverride

An override for CausesValidation property (if supplied)

public read-only string $JsReturnParam

The parameter to be returned (overrides the Control's ActionParameter)

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