DATA_PREFIX
DATA_PREFIX
Super-class of all app_core_form implementations.
__construct(string $name, null $value = null, null $translationName = null) : \Fuman_Form_Abstract
Constructor
string | $name | |
null | $value | |
null | $translationName |
setAttribute(string $key, string $value, boolean $appendValue = true, string $appendSpacer = ' ') : $this
Adds an attribute. Checks first if attribute is allowed.
Following attributes are forbidden: value, id.
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 |