Class QJsTimerBase
Timer Control: This control uses a javascript timer to execute Actions after a defined time Periodic or one shot timers are possible. You can add only one type of Event to to this control: QTimerExpiredEvent but multiple actions can be registered for this event
Direct known subclasses
QJsTimerNotes:
<
ul>
Located at includes/base_controls/QJsTimerBase.class.php
public
|
#
__construct(
|
public
|
|
public
|
|
public
|
|
public
array
|
#
GetAllActions( string $strEventType, null $strActionType = null )
Returns all actions connected/attached to the timer |
public
|
|
public
null|
|
|
public
string
|
|
public
string
|
#
GetEndScript( )
Returns all Javscript that needs to be executed after rendering of this control (It overrides the GetEndScript of the parent to handle specific case of QJsTimers) |
public
array|boolean|integer|mixed|null|
|
|
public
mixed
|
|
public
string|
|
|
public
|
#
AddChildControl(
Add a child control to the current control (useless because QJsTimer cannot have children) |
public
|
#
RemoveChildControl( string $strControlId, boolean $blnRemoveFromForm )
Remove the child controls (useless) Since QJsTimer cannot have children, removing child controls does not yeild anything |
protected
string
|
#
GetControlHtml( )
Get the HTML for the control (blank in this case becuase QJsTimer cannot be rendered) |
public
|
|
public
boolean
|
OverrideAttributes(),
__call()
|
integer |
Stopped
Constant used to indicate that the timer has stopped |
#
0
|
integer |
Started
Constant used to indicate that the timer has started |
#
1
|
integer |
AutoStart
Constant used to indicate that the timer has autostart enabled (starts with the page load) |
#
2
|
CommentEnd,
CommentStart
|
protected
boolean
|
$blnPeriodic
does the timer run periodically once started? |
#
true
|
protected
integer
|
$intDeltaTime
The duration after which the timer will fire (in milliseconds) |
#
0
|
protected
integer
|
$intState
default state in which timer will be (stopped) |
|
protected
boolean
|
$blnRestartOnServerAction
should the timer start after a QServerAction occurrs. |
#
false
|
$attributes,
$styles
|
public
integer
|
$DeltaTime
Time till the timer fires and executes the Actions added. |
public
boolean
|
$Periodic
|
public
boolean
|
$Started
true: timer is running / false: stopped |
public
boolean
|
$RestartOnServerAction
After a 'Server Action' (QServerAction) the executed java script (including the timer) is stopped! Set this parameter to true to restart the timer automatically. |
$AccessKey,
$AltText,
$BackColor,
$BorderCollapse,
$BorderColor,
$BorderStyle,
$BorderWidth,
$CssClass,
$Cursor,
$Data,
$Display,
$DisplayStyle,
$Enabled,
$FontBold,
$FontItalic,
$FontNames,
$FontOverline,
$FontSize,
$FontStrikeout,
$FontUnderline,
$ForeColor,
$Height,
$HorizontalAlign,
$Left,
$Margin,
$NoWrap,
$Opacity,
$OrderedListType,
$Overflow,
$Padding,
$Position,
$ReadOnly,
$TabIndex,
$ToolTip,
$Top,
$UnorderedListStyle,
$VerticalAlign,
$Width
|