Documentation

OpenStreetMap_TileLayer_File extends Vtiger_Basic_File
in package

Tile layer class.

Table of Contents

$fileType  : string
File type.
$storageName  : string
Storage name.
error()  : void
Error function.
get()  : bool
Download layer and show.
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

$fileType

File type.

public string $fileType = ''

$storageName

Storage name.

public string $storageName = ''

Methods

error()

Error function.

public error([string $type = 'map_server_unavailable' ]) : void
Parameters
$type : string = 'map_server_unavailable'
Return values
void

get()

Download layer and show.

public get(Request $request) : bool
Parameters
$request : Request
Return values
bool

getCheckPermission()

Checking permission in get method.

public getCheckPermission(Request $request) : bool
Parameters
$request : Request
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

validateRequest()

Function to validate request method.

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

        

Search results