NEW get company info by API

This commit is contained in:
ptibogxiv 2019-11-26 17:38:49 +01:00 committed by GitHub
parent 30ea48a715
commit d36cc22d39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1326,7 +1326,21 @@ class Setup extends DolibarrApi
return $list;
}
/**
* Get properties of company
*
* @url GET /company
*
* @return array|mixed Data without useless information
*
*/
public function getCompany()
{
global $mysoc;
return $this->_cleanObjectDatas($mysoc);
}
/**
* Do a test of integrity for files and setup.