Stud.IP  6.0
PluginAssetFactory Class Reference
Inheritance diagram for PluginAssetFactory:
AssetFactory

Public Member Functions

 createCSSFile ($filename, array $metadata=[])
 
 createJSFile ($filename, array $metadata=[])
 

Detailed Description

Author
Jan-Hendrik Willms tleil.nosp@m.ax+s.nosp@m.tudip.nosp@m.@gma.nosp@m.il.co.nosp@m.m GPL2 or any later version
Since
Stud.IP 3.4

Member Function Documentation

◆ createCSSFile()

createCSSFile (   $filename,
array  $metadata = [] 
)

Restores or create a css file based on the given information.

Parameters
String$filenameFilename of the original file
array$metadataPotential metadata
Returns
PluginAsset

Implements AssetFactory.

◆ createJSFile()

createJSFile (   $filename,
array  $metadata = [] 
)

Restores or create a js file based on the given information.

Parameters
string$filenameFilename of the original file
array$metadataPotential metadata
Returns
PluginAsset

Implements AssetFactory.


The documentation for this class was generated from the following file: