Documentation

Users_MultiImage_File extends Vtiger_MultiImage_File
in package

Image class to handle files.

Table of Contents

$defaultLimit  : int
Default image limit.
$fileType  : string
File type.
$storageName  : string
Storage name.
api()  : File
Api function to get file.
get()  : mixed
View image.
getCheckPermission()  : bool
Checking permission in get method.
post()  : mixed
Get and save files.
postCheckPermission()  : bool
Checking permission in post method.

Properties

$defaultLimit

Default image limit.

public static int $defaultLimit = 10

$fileType

File type.

public string $fileType = ''

$storageName

Storage name.

public string $storageName = ''

Methods

getCheckPermission()

Checking permission in get method.

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

post()

Get and save files.

public post(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

postCheckPermission()

Checking permission in post method.

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

Search results