SproutCMS

This is the code documentation for the SproutCMS project

function addJavascriptInclude()

Adds a JS include need.

Usage

void Needs::addJavascriptInclude ( string $url [, array $extra_attrs [, mixed $key ]] );

Arguments

  1. string $url
    The URL of the CSS file to include
  2. array $extra_attrs = NULL
    Extra attributes to add to the JAVASCRIPT tag
  3. $key = NULL

Return value

  • void