SproutCMS

This is the code documentation for the SproutCMS project

function jsUrl()

Return the URL for a JS file in the skin for the current subsite.
The URL will have an embedded timestamp.

Usage example:
  <script src="<?php echo Skin::cssUrl('site'); ?>"></script>

Usage

string Skin::jsUrl ( mixed $file );

Arguments

  1. $file

Return value

  • string
    URL for the specified js file