SiteKiosk Documentation
One Step Back

ZoneDispatch Object




The ZoneDispatch object provides information about the current zone.


Members Table

    The following table lists the members provided by the ZoneDispatch object.

    Members
    PropertiesDescription
    CurrentBalanceCurrent credit.
    DeviceCountNumber of available payment devices.
    PricePerHourPrice per hour.
    RemainingTimeRemaining surftime.
    ZoneNameName of the current zone.
    MethodsDescription
    FormatPriceThe FormatPrice method adds the name of the currency.
    EventsDescription
    OnBalanceChangeFires when credit changes.

Remarks
    This object is available through the object SiteCash. Use the ZoneDispatch object to receive information about the current Payment Module zone.

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
Examples
    The following example shows the current zone name in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Plugins("SiteCash").ZoneDispatch.ZoneName);
    </SCRIPT>
    

Applies to
    SiteKiosk v6.0 (and later versions).

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -