JAVASCIPT_LOAD_TYPE_DEFAULT
JAVASCIPT_LOAD_TYPE_DEFAULT
Data object templating
$_record : \Fuman_Db_Record
$_table : \Fuman_Table
__construct(\Fuman_Db_Record $record) : \Fuman_Response_Data
Constructor
| \Fuman_Db_Record | $record |
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 |
getInputType(string $inputTypeUniqueName) : \Fuman_InputType
Gets input type
| string | $inputTypeUniqueName |
getRecord() : \Fuman_Db_Record
Gets record
getTable() : \Fuman_Table
Gets table
getTranslatedTemplateData(string $fieldName, string $key, \Fuman_Db_Record $record, \Fuman_Template_TranslatedData $data, null|string $language = null) : mixed|null|string
Gets translated frontend data
| string | $fieldName | |
| string | $key | |
| \Fuman_Db_Record | $record | |
| \Fuman_Template_TranslatedData | $data | |
| null|string | $language |