-
Notifications
You must be signed in to change notification settings - Fork 34
functions_modules_minify
Initializes the minify module. Note that this module can be used best from SysAdmin!
Definition: public function minify_init()
Returns: void
Handler for HOOK_PRE_RENDER Checks if there are minified files present as sets up ScavixWDF to use them. Do not call this directly!
Definition: public function minify_pre_render_handler($args)
Returns: void
Parameters:
-
mixed $args
Do not call!
Checks if minifying a classes resources is explicitely forbidden Uses NoMinify attribute to check that
Definition: public function minify_forbidden($classname)
Returns: bool
true or false
Parameters:
-
string $classname
Classname to check for
Performs minifying. This is best called from SysAdmin.
Definition: public function minify_all($paths, $target_base_name, $nc_argument)
Returns: void
Parameters:
-
array $paths
Array fo paths to scan for content -
string $target_base_name
Base name for the minify files -
string $nc_argument
NoCache argument to add to the filename
INTERNAL Used from minify_pre_render_handler().
INTERNAL Performs JavaScript minifying
INTERNAL Performs CSS minifying
INTERNAL Translates an URL in a CSS file into something absolute
INTERNAL Collects files for minifying
INTERNAL Resolves dependencies
INTERNAL Collects dependencies from a file