Documentation
¶
Index ¶
- Variables
- func FileType() *model.Input
- func FilterDataBy(add bool, criterion string, data_in ...map[string]string) (data_out []map[string]string)
- func SavedMode() *model.Input
- type FileInput
- func (f FileInput) BuildContainerView(id, field_name string, allow_skip_completed bool) string
- func (f FileInput) BuildItemView(all_data ...map[string]string) (html string)
- func (f FileInput) CameraTurn(on bool)
- func (f FileInput) Delete(u *model.User, params ...map[string]string) ([]map[string]string, error)
- func (FileInput) HtmlName() string
- func (f *FileInput) Input() *model.Input
- func (f FileInput) InputEnable()
- func (f FileInput) ResetInput()
- func (f FileInput) SetObjectInDomAfterDelete(data ...map[string]string) error
- func (f FileInput) Update(u *model.User, data ...map[string]string) error
- func (f FileInput) ViewHandlerName() string
Constants ¶
This section is empty.
Variables ¶
View Source
var TableFile *model.FileTable
conf: field_name:voucher,user_photo,boleta... default file filetype:video, pdf, document. default imagen root_folder:static_files default "app_files" max_files:1, 4, 6.. default 6 max_kb_size:100, 400 default 50
Functions ¶
Types ¶
type FileInput ¶ added in v0.0.24
type FileInput struct {
Files string `Input:"Text" NotRequiredInDB:"true"` //nombre por defecto input html = files
Object *model.Object
App *model.Handlers
model.FileSetting
// contains filtered or unexported fields
}
func (FileInput) BuildContainerView ¶ added in v0.0.24
func (FileInput) BuildItemView ¶ added in v0.0.24
func (FileInput) CameraTurn ¶ added in v0.0.24
func (FileInput) InputEnable ¶ added in v0.0.24
func (f FileInput) InputEnable()
func (FileInput) ResetInput ¶ added in v0.0.24
func (f FileInput) ResetInput()
func (FileInput) SetObjectInDomAfterDelete ¶ added in v0.0.24
func (FileInput) ViewHandlerName ¶ added in v0.0.24
Click to show internal directories.
Click to hide internal directories.