DATA_PREFIX
DATA_PREFIX
Used to add overlays to the layout.
__construct(string|\Fuman_Response_Data $linkComponent, string|\Fuman_Response_Data $contentComponent, null|string $name = null) : \Fuman_Response_Data
Constructor. Creates the correct overlay html structure.
the name of the element has to be unique in the whole layout.
| string|\Fuman_Response_Data | $linkComponent | |
| string|\Fuman_Response_Data | $contentComponent | |
| null|string | $name |
setAttribute(string $key, string $value, boolean $appendValue = true, string $appendSpacer = ' ') : void
Sets an attribute. If $appendValue is true, the value is going to be appended with the $appendSpacer argument.
| string | $key | |
| string | $value | |
| boolean | $appendValue | |
| string | $appendSpacer |
addCssFile(string $path, string $media = 'all', string|null $packageName = null) : \Fuman_Response_Data
Add a CSS file
| string | $path | |
| string | $media | |
| string|null | $packageName | Used for pack.php |
addJsFile(string $path, integer $javaScriptLoadType, string|null $packageName = null) : \Fuman_Response_Data
Add a Js file
| string | $path | |
| integer | $javaScriptLoadType | |
| string|null | $packageName | Used for pack.php |
setTemplatePath(string $templatePath) : \Fuman_Response_Data
Sets script path
| string | $templatePath |