dolibarr/htdocs/api/class
Jon Bendtsen 483b2255de
NEW API get country: load region and load states now an option (#37715)
* API setup get country dictionary: load region and load states now an option

* Adding load region and state to the long list of countries + hurl tests for this and on getting by id, code and ISO

* Create CcountryExtended which is a Ccountry object with regions and states included

* pre-commit hook fix

* fix PhanTypeMismatchProperty

* fix php-stan

* circumvent phan that complains about parameter order

* no special function for fetching ccountryextended as we add the states and regions in the API functions

* Using API functions to insert states and regions when requested

* always use extended country

---------

Co-authored-by: Jon Bendtsen <jonbendtsen@jonb.dk>
2026-04-27 14:56:05 +02:00
..
api.class.php Add a protection for int var fk_... 2026-04-08 21:39:41 +02:00
api_access.class.php Qual: Phan/fix for notices seen in #37875 & ci (#37876) 2026-04-15 17:59:06 +02:00
api_documents.class.php Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-02 05:54:03 +01:00
api_emailtemplates.class.php clean code (#36317) 2025-11-20 01:47:46 +01:00
api_login.class.php FIX API_ENABLE_LOGIN_API should be integer, not string (#37941) 2026-04-20 21:18:30 +02:00
api_objectlinks.class.php API fix for eventattendees + new hurl tests for API eventattendees (#37699) 2026-04-03 19:02:39 +02:00
api_setup.class.php NEW API get country: load region and load states now an option (#37715) 2026-04-27 14:56:05 +02:00
api_status.class.php