Function __global->_javascript_tempcode

Definitions

sources/web_resources.php

  • Get Tempcode to tie in (to the HTML, in <head>) for an individual JavaScript file.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$j ID_TEXT required parameter N/A N/A The JavaScript file required
$js Tempcode required parameter N/A N/A Tempcode object (will be written into if appropriate)
$_minify ?boolean Null N/A N/A Whether minifying (null: from what is cached)
$_https ?boolean Null N/A N/A Whether doing HTTPS (null: from what is cached)
$_mobile ?boolean Null N/A N/A Whether operating in mobile mode (null: from what is cached)
$do_enforce ?boolean True N/A N/A Whether to generate the cached file if not already cached (null: from what is cached)