Property | Type | Description | |
---|---|---|---|
$L |
Property | Type | Description | |
---|---|---|---|
$codeMirrorModes | |||
$contentTypeHeader | |||
$exportTypeName | |||
$isEnabled | |||
$jsModules |
Method | Description | |
---|---|---|
generate ( $generator ) | ||
getAdditionalSettingsHTML ( ) | ||
getDownloadFilename ( Generator $generator ) : string | Used for constructing the filename of the filename when downloading. |
Method | Description | |
---|---|---|
determineNumericFields ( $template ) | ||
generateComplex ( $generator, $data, $stripWhitespace ) | ||
generateSimple ( $generator, $data, $stripWhitespace ) | ||
getDataStructureFormat ( ) : string | Returns the desired JSON data structure format - simple or complex. | |
shouldStripWhitespace ( ) | Wrapper function to find out whether the user wants whitespace to be enabled or not. The settings content is either JSON or a POST array, depending on where the generation is taking place. |
public getDownloadFilename ( Generator $generator ) : string | ||
$generator | Generator | |
return | string |