Jet\Factory_PackageCreator

Factory for CSS and JS packager.

Method Overview

Method Meaning of
public static CSS(
string $media,
array $URIs
): PackageCreator_CSS
Returns a configured and ready instance of the CSS packager.
public static getCSSClassName(
) : string
Returns the class name of the CSS packager.

Default value is: Jet\PackageCreator_CSS_Default
public static setCSSClassName(
string $CSS_class_name
): void
Sets the class name of the CSS packager.
public static JavaScript(
array $URIs
): PackageCreator_JavaScript
Returns a configured and ready instance of the JavaScript packager.
public static getJavaScriptClassName(
): string
Returns the class name of the JavaScript packager.

Default value is: Jet\PackageCreator_JavaScript_Default
public static setJavaScriptClassName(
string $JavaScript_class_name
): void
Sets the class name of the JavaScript packager.
Previous chapter
Jet\Factory_MVC
Next chapter
Jet\Factory_Translator