|
Stud.IP
jlu_3.3 Revision
|
Data Structures | |
| class | Compressor |
| class | Configuration |
| class | Exception |
| class | Packager |
Functions | |
| packageAll ($configFile=NULL, $outputDir=NULL) | |
| includePackages ($packager, $packages) | |
| shouldPackage () | |
| packageAsIndividualURLs ($packager, $package) | |
| packageAsCompressedURL ($packager, $package) | |
| includePackages | ( | $packager, | |
| $packages | |||
| ) |
Include a single squeeze package depending on \Studip\ENV as individual script elements or as a single one containing the squeezed source code of all files comprising the package.
| Packager | $packager | the packager instance to use |
| array | $packages | an array containing the names of packages |

| packageAll | ( | $configFile = NULL, |
|
$outputDir = NULL |
|||
| ) |
Write all packages specified in $configFile to $outputDir. The default $configFile is "$STUDIP_BASE_PATH/config/assets.yml"
| string | $configFile | path to the config file |
| string | $outputDir | path to the output directory |


| packageAsCompressedURL | ( | $packager, | |
| $package | |||
| ) |
Include a single squeeze package as a single one containing the squeezed source code of all files comprising the package.
| Packager | $packager | the packager instance to use |
| string | $package | the name of a package |

| packageAsIndividualURLs | ( | $packager, | |
| $package | |||
| ) |
Include a single squeeze package as individual script elements.
| Packager | $packager | the packager instance to use |
| string | $package | the name of a package |

| shouldPackage | ( | ) |

