SiteKiosk Documentation
One Step Back

GetCoinImageFilename Method




The GetCoinImageFilename method determines the filename of the specified coin or note image.


Syntax

    [str=] SiteKiosk.Plugins("SiteCash").GetCoinImageFilename(iso, val, note)
    
Parameters
    isoString that contains the ISO code.
    valCurrency value that contains the coin or note value.
    noteBoolean value that specifies whether the value is a note.
Return Value
    Returns a String that contains the filename of the coin or note image.
Remarks
    Use the CurrencyFormatter object for currency functionality.

    The coin and note images filenames are saved in the configuraton.
Examples
    The following example shows the filename of a coin image in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    scash = SiteKiosk.Plugins("SiteCash");
    imgfile = scash.GetCoinImageFilename("50 Cent", 0.50, false);
    alert(imgfile);
    </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 -