SZGoogleModuleGroups

The SZ - Google SZGoogleModuleGroups class.

Defined (1)

The class is defined in the following location(s).

/classes/module/SZGoogleModuleGroups.php  
  1. class SZGoogleModuleGroups extends SZGoogleModule 
  2. /** 
  3. * Definition of the initial variable array which are 
  4. * used to identify the module and options related to it 
  5. */ 
  6.  
  7. function moduleAddSetup() 
  8. $this->moduleSetClassName(__CLASS__); 
  9. $this->moduleSetOptionSet('sz_google_options_groups'); 
  10.  
  11. // Definition shortcode connected to the module with an array where you 
  12. // have to specify the name activation option with the shortcode and function 
  13.  
  14. $this->moduleSetShortcodes(array( 
  15. 'groups_shortcode' => array('sz-ggroups', array(new SZGoogleActionGroups(), 'getShortcode')),  
  16. )); 
  17.  
  18. // Definition widgets connected to the module with an array where you 
  19. // have to specify the name option of activating and class to be loaded 
  20.  
  21. $this->moduleSetWidgets(array( 
  22. 'groups_widget' => 'SZGoogleWidgetGroups',  
  23. ));