Doxygen
This commit is contained in:
parent
a5a7f81927
commit
a33603b6ae
@ -64,11 +64,10 @@ class Interventions extends DolibarrApi
|
||||
|
||||
/**
|
||||
* Get properties of a Expense Report object
|
||||
*
|
||||
* Return an array with Expense Report information
|
||||
*
|
||||
* @param int $id ID of Expense Report
|
||||
* @return array|mixed Data without useless information
|
||||
* @return Object Object with cleaned properties
|
||||
*
|
||||
* @throws RestException
|
||||
*/
|
||||
@ -93,7 +92,6 @@ class Interventions extends DolibarrApi
|
||||
|
||||
/**
|
||||
* List of interventions
|
||||
*
|
||||
* Return a list of interventions
|
||||
*
|
||||
* @param string $sortfield Sort field
|
||||
@ -336,12 +334,11 @@ class Interventions extends DolibarrApi
|
||||
* "notrigger": 0
|
||||
* }
|
||||
*
|
||||
* @param int $id Intervention ID
|
||||
* @param int $notrigger 1=Does not execute triggers, 0= execute triggers
|
||||
* @param int $id Intervention ID
|
||||
* @param int $notrigger 1=Does not execute triggers, 0= execute triggers
|
||||
* @return Object Object with cleaned properties
|
||||
*
|
||||
* @url POST {id}/validate
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function validate($id, $notrigger = 0)
|
||||
{
|
||||
@ -373,11 +370,10 @@ class Interventions extends DolibarrApi
|
||||
/**
|
||||
* Close an intervention
|
||||
*
|
||||
* @param int $id Intervention ID
|
||||
* @param int $id Intervention ID
|
||||
* @return Object Object with cleaned properties
|
||||
*
|
||||
* @url POST {id}/close
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function closeFichinter($id)
|
||||
{
|
||||
|
||||
@ -59,7 +59,7 @@ class Receptions extends DolibarrApi
|
||||
* Return an array with reception informations
|
||||
*
|
||||
* @param int $id ID of reception
|
||||
* @return array|mixed data without useless information
|
||||
* @return Object Object with cleaned properties
|
||||
*
|
||||
* @throws RestException
|
||||
*/
|
||||
@ -497,12 +497,12 @@ class Receptions extends DolibarrApi
|
||||
* This may record stock movements if module stock is enabled and option to
|
||||
* decrease stock on reception is on.
|
||||
*
|
||||
* @param int $id Reception ID
|
||||
* @param int $notrigger 1=Does not execute triggers, 0= execute triggers
|
||||
* @param int $id Reception ID
|
||||
* @param int $notrigger 1=Does not execute triggers, 0= execute triggers
|
||||
* @return Object Object with cleaned properties
|
||||
*
|
||||
* @url POST {id}/validate
|
||||
*
|
||||
* @return array
|
||||
* \todo An error 403 is returned if the request has an empty body.
|
||||
* Error message: "Forbidden: Content type `text/plain` is not supported."
|
||||
* Workaround: send this in the body
|
||||
@ -625,12 +625,11 @@ class Receptions extends DolibarrApi
|
||||
/**
|
||||
* Close a reception (Classify it as "Delivered")
|
||||
*
|
||||
* @param int $id Reception ID
|
||||
* @param int $notrigger Disabled triggers
|
||||
* @param int $id Reception ID
|
||||
* @param int $notrigger Disabled triggers
|
||||
* @return Object Object with cleaned properties
|
||||
*
|
||||
* @url POST {id}/close
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function close($id, $notrigger = 0)
|
||||
{
|
||||
|
||||
@ -66,8 +66,8 @@ class Recruitment extends DolibarrApi
|
||||
*
|
||||
* Return an array with jobposition informations
|
||||
*
|
||||
* @param int $id ID of jobposition
|
||||
* @return array|mixed data without useless information
|
||||
* @param int $id ID of jobposition
|
||||
* @return Object Object with cleaned properties
|
||||
*
|
||||
* @url GET jobposition/{id}
|
||||
*
|
||||
@ -97,8 +97,8 @@ class Recruitment extends DolibarrApi
|
||||
*
|
||||
* Return an array with candidature informations
|
||||
*
|
||||
* @param int $id ID of candidature
|
||||
* @return array|mixed data without useless information
|
||||
* @param int $id ID of candidature
|
||||
* @return Object Object with cleaned properties
|
||||
*
|
||||
* @url GET candidature/{id}
|
||||
*
|
||||
|
||||
@ -523,8 +523,8 @@ class Thirdparties extends DolibarrApi
|
||||
/**
|
||||
* Delete thirdparty
|
||||
*
|
||||
* @param int $id Thirdparty ID
|
||||
* @return integer
|
||||
* @param int $id Thirdparty ID
|
||||
* @return array
|
||||
*/
|
||||
public function delete($id)
|
||||
{
|
||||
@ -1351,10 +1351,10 @@ class Thirdparties extends DolibarrApi
|
||||
/**
|
||||
* Generate a Document from a bank account record (like SEPA mandate)
|
||||
*
|
||||
* @param int $id Thirdparty id
|
||||
* @param int $companybankid Companybank id
|
||||
* @param string $model Model of document to generate
|
||||
* @return void
|
||||
* @param int $id Thirdparty id
|
||||
* @param int $companybankid Companybank id
|
||||
* @param string $model Model of document to generate
|
||||
* @return array
|
||||
*
|
||||
* @url GET {id}/generateBankAccountDocument/{companybankid}/{model}
|
||||
*/
|
||||
@ -1375,6 +1375,7 @@ class Thirdparties extends DolibarrApi
|
||||
$this->company->setDocModel(DolibarrApiAccess::$user, $model);
|
||||
|
||||
$this->company->fk_bank = $this->company->fk_account;
|
||||
$this->company->fk_account = $this->company->fk_account;
|
||||
|
||||
$outputlangs = $langs;
|
||||
$newlang = '';
|
||||
|
||||
@ -58,7 +58,7 @@ class Supplierproposals extends DolibarrApi
|
||||
* Return an array with supplier proposal informations
|
||||
*
|
||||
* @param int $id ID of supplier proposal
|
||||
* @return array|mixed data without useless information
|
||||
* @return Object Object with cleaned properties
|
||||
*
|
||||
* @throws RestException
|
||||
*/
|
||||
|
||||
@ -66,8 +66,8 @@ class Zapier extends DolibarrApi
|
||||
*
|
||||
* Return an array with hook informations
|
||||
*
|
||||
* @param int $id ID of hook
|
||||
* @return array|mixed data without useless information
|
||||
* @param int $id ID of hook
|
||||
* @return Object Object with cleaned properties
|
||||
*
|
||||
* @url GET /hooks/{id}
|
||||
* @throws RestException
|
||||
|
||||
Loading…
Reference in New Issue
Block a user