• Purchasing a license grants permission to use the software and to get Tech Support. A license purchase doesn't grant customization support.

Questions about API

shaowenqian666

Network license
License owner
I already know that "CHV\getSetting('api_v1_key')" gets the "setting ﹣ value" data value in the database. I want to know how it works, because I want to get other data in "users".
 

Rodolfo

The Chevere Guru
Chevereto Staff
CHV\getSetting
That function is used to retrieve a configuration value, you can't use this function to retrieve something else as it only provides access to settings.

If you want to query the database you should use $db = CHV\DB::getInstance(); which will allow you to interact directly with the database.
 
Top