SiteKiosk Documentation
One Step Back

Plugins Collection




The Plugins collection provides access to all SiteKiosk plugins.


Members Table

    The following table lists the members provided by the Plugins collection.

    Members
    ObjectsDescription
    SiteCamInformation about the Webcam plugin.
    SiteCashControls the Payment Module plugin.
    SiteCoachControls the Content Filter plugin.
    SiteDogInformation about the Hardware Watchdog plugin.
    SitePhoneControls the Voice over IP plugin.
    SiteRemoteInformation about the SiteRemote plugin.
    PropertiesDescription
    CountContains the number of plugins.
    MethodsDescription
    ItemReturns one item of the collection.

Remarks
    This collection is available through the main object SiteKiosk. Use the Plugins collection to receive the number of plugins and information about them.

    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 enumerates all plugins and shows which of them are enabled.

    <html>
    <body>
    <table border="0" bgcolor="#ebebeb" width="600" cellspacing="5"
    cellpadding="5" style="font-family:verdana;font-size:8pt;"
    align="center">
    <tr><td bgcolor="f8f8f8">
    The following example shows which plugins have been enabled
    in the configuration.
    </td></tr>
    <tr><td style="font-family:verdana;font-size:8pt;">
    <pre>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    for (var i = 1; i <= SiteKiosk.Plugins.Count; ++i)
    {
       if (SiteKiosk.Plugins.Item(i).Enabled)
       pactstatus = "<b>Activated</b>";
       else pactstatus = "Deactivated";
       if (i != 1) document.writeln("");
       document.write(SiteKiosk.Plugins.Item(i).Name +
       ": " + pactstatus);
    }
    </SCRIPT>
    </pre>
    </td></tr>
    </table>
    </body>
    </html>
    

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

Back to topVolver arriba

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