dolibarr 21.0.0-alpha
server_project.php File Reference

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

Go to the source code of this file.

Functions

 createProject ($authentication, $project)
 Create project.
 
 getProject ($authentication, $id='', $ref='')
 Get a project.
 

Detailed Description

File that is entry point to call Dolibarr WebServices.

Definition in file server_project.php.

Function Documentation

◆ createProject()

createProject ( $authentication,
$project )

Create project.

Parameters
array$authenticationArray of authentication information
array$projectProject info
Returns
array array of new order

Definition at line 259 of file server_project.php.

References check_authentication(), dol_stringtotime(), and dol_syslog().

◆ getProject()

getProject ( $authentication,
$id = '',
$ref = '' )

Get a project.

Parameters
array$authenticationArray of authentication information
string$idinternal id
string$refinternal reference
Returns
array Array result

Definition at line 355 of file server_project.php.

References check_authentication(), dol_print_date(), and dol_syslog().