Documentation

Vtiger_MultiAttachment_File extends Vtiger_Basic_File
in package

Multi attachment class to handle files.

Table of Contents

$fileType  : string
File type.
$storageName  : string
Storage name.
api()  : File
Api function to get file.
get()  : mixed
Get attachment.
getCheckPermission()  : bool
Checking permission in get method.
post()  : mixed
Get and save files.
postCheckPermission()  : bool
Checking permission in post method.
validateRequest()  : void
Function to validate request method.

Properties

$storageName

Storage name.

public string $storageName = 'MultiAttachment'

Methods

getCheckPermission()

Checking permission in get method.

public getCheckPermission(Request $request) : bool
Parameters
$request : Request
Tags
throws
NoPermitted
Return values
bool

postCheckPermission()

Checking permission in post method.

public postCheckPermission(Request $request) : bool
Parameters
$request : Request
Tags
throws
NoPermitted
Return values
bool

validateRequest()

Function to validate request method.

public validateRequest(Request $request) : void
Parameters
$request : Request
Return values
void

        

Search results