dolibarr  13.0.2
Functions
server_other.php File Reference

File that is entry point to call Dolibarr WebServices. More...

Go to the source code of this file.

Functions

 getVersions ($authentication)
 Full methods code. More...
 
 getDocument ($authentication, $modulepart, $file, $refname= '')
 Method to get a document by webservice. More...
 

Detailed Description

File that is entry point to call Dolibarr WebServices.

Definition in file server_other.php.

Function Documentation

getDocument (   $authentication,
  $modulepart,
  $file,
  $refname = '' 
)

Method to get a document by webservice.

Parameters
array$authenticationArray with permissions
string$modulepartProperties of document
string$fileRelative path
string$refnameRef of object to check permission for external users (autodetect if not provided)
Returns
void

Definition at line 189 of file server_other.php.

References $resql, check_authentication(), dol_check_secure_access_document(), dol_mimetype(), and dol_syslog().

getVersions (   $authentication)

Full methods code.

Parameters
string$authenticationAuthentication string
Returns
array Array of data

Definition at line 146 of file server_other.php.

References check_authentication(), dol_syslog(), version_dolibarr(), version_os(), version_php(), and version_webserver().