DocFilesTrait
Description of DocFilesTrait
Tags
Table of Contents
- addHtmlView() : mixed
 - createViewDocFiles() : mixed
 - updateNumDocs() : void
 - Actualiza el número de adjuntos del documento.
 - addFileAction() : bool
 - deleteFileAction() : bool
 - editFileAction() : bool
 - loadDataDocFiles() : mixed
 - unlinkFileAction() : bool
 - validateFileActionToken() : bool
 
Methods
addHtmlView()
    protected
    abstract                addHtmlView(string $viewName, string $fileName, string $modelName, string $viewTitle[, string $viewIcon = 'fab fa-html5' ]) : mixed
        
        Parameters
- $viewName : string
 - $fileName : string
 - $modelName : string
 - $viewTitle : string
 - $viewIcon : string = 'fab fa-html5'
 
Return values
mixed —createViewDocFiles()
    protected
                    createViewDocFiles([string $viewName = 'docfiles' ][, string $template = 'Tab/DocFiles' ]) : mixed
        
        Parameters
- $viewName : string = 'docfiles'
 - $template : string = 'Tab/DocFiles'
 
Return values
mixed —updateNumDocs()
Actualiza el número de adjuntos del documento.
    protected
                    updateNumDocs() : void
    
    
    
        Return values
void —addFileAction()
    private
                    addFileAction() : bool
        
    
    
        Return values
bool —deleteFileAction()
    private
                    deleteFileAction() : bool
        
    
    
        Return values
bool —editFileAction()
    private
                    editFileAction() : bool
        
    
    
        Return values
bool —loadDataDocFiles()
    private
                    loadDataDocFiles(BaseView $view, string $model, string $modelid) : mixed
    
        Parameters
- $view : BaseView
 - $model : string
 - $modelid : string
 
Return values
mixed —unlinkFileAction()
    private
                    unlinkFileAction() : bool
        
    
    
        Return values
bool —validateFileActionToken()
    private
                    validateFileActionToken() : bool