Function Minifier->minify

Definitions

sources/jsmin.php

  • Takes a string containing javascript and removes unneeded characters inorder to shrink the code without altering it's functionality.
  • Visibility: public
  • Is abstract?: No
  • Is static?: Yes
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$js string required parameter N/A N/A The raw javascript to be minified
$options array [] N/A N/A Various runtime options in an associative array

Return

  • Type: bool|string
  • Set: N/A
  • Range: N/A