This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation.

Difference between revisions of "Extending settings with your own module"

From Group-Office Groupware and CRM Documentation
Jump to: navigation, search
Line 1: Line 1:
 +
When creating your own module then you probably would have some module settings that you want to add to the Group-Office settings panel.
 +
 +
 
<pre>
 
<pre>
 
public static function submitSettings(&$settingsController, &$params, &$response, $user) {
 
public static function submitSettings(&$settingsController, &$params, &$response, $user) {
Line 5: Line 8:
 
}
 
}
 
</pre>
 
</pre>
 +
 +
 +
 
<pre>
 
<pre>
 
public static function loadSettings(&$settingsController, &$params, &$response, $user) {
 
public static function loadSettings(&$settingsController, &$params, &$response, $user) {

Revision as of 10:17, 27 July 2012

When creating your own module then you probably would have some module settings that you want to add to the Group-Office settings panel.


public static function submitSettings(&$settingsController, &$params, &$response, $user) {
				
 return parent::submitSettings($settingsController, $params, $response, $user);
}


	
public static function loadSettings(&$settingsController, &$params, &$response, $user) {
		
 return parent::loadSettings($settingsController, $params, $response, $user);
}