FacturaScripts

DocFilesTrait

Description of DocFilesTrait

Table of Contents

addHtmlView() mixed
addFileAction() bool
createViewDocFiles() mixed
deleteFileAction() bool
editFileAction() bool
loadDataDocFiles() mixed
unlinkFileAction() bool
validateFileActionToken() bool

Methods

addHtmlView()

protected abstract addHtmlView( $viewName : string , $fileName : string , $modelName : string , $viewTitle : string [, $viewIcon : string = 'fab fa-html5' ] ) : mixed
Parameters
$viewName : string
$fileName : string
$modelName : string
$viewTitle : string
$viewIcon : string = 'fab fa-html5'
Return values
mixed

addFileAction()

private addFileAction( ) : bool
Return values
bool

createViewDocFiles()

protected createViewDocFiles( [ $viewName : string = 'docfiles' ] [, $template : string = 'Tab/DocFiles' ] ) : mixed
Parameters
$viewName : string = 'docfiles'
$template : string = 'Tab/DocFiles'
Return values
mixed

deleteFileAction()

private deleteFileAction( ) : bool
Return values
bool

editFileAction()

private editFileAction( ) : bool
Return values
bool

loadDataDocFiles()

private loadDataDocFiles( $view : BaseView , $model : string , $modelid : string ) : mixed
Parameters
$view : BaseView
$model : string
$modelid : string
Return values
mixed

unlinkFileAction()

private unlinkFileAction( ) : bool
Return values
bool

validateFileActionToken()

private validateFileActionToken( ) : bool
Return values
bool

Search results