Created
November 15, 2012 16:48
-
-
Save eggsurplus/4079690 to your computer and use it in GitHub Desktop.
Saving Admin Options For A Custom SugarCRM Module - SaveConfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require_once('modules/Administration/Administration.php'); | |
| $administration = new Administration(); | |
| //do data validation, etc here | |
| //.... | |
| //save the setting to the config table | |
| $administration->saveSetting("abc_Module", "api_url", $_REQUEST['api_url']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment