Exemple #1
0
 function create_tables()
 {
     global $current_language;
     $mod_strings = return_module_language($current_language, 'Teams');
     parent::create_tables();
     Team::create_team("Global", $mod_strings['LBL_GLOBAL_TEAM_DESC'], $this->global_team);
 }
Exemple #2
0
 function create_tables()
 {
     parent::create_tables();
 }
Exemple #3
0
 function create_tables()
 {
     parent::create_tables();
     $this->populate_feeds();
 }
 /**
  * create_tables
  * Override this method to insert ACLActions for the tracker beans
  *
  */
 function create_tables()
 {
     $path = 'modules/Trackers/config.php';
     if (defined('TEMPLATE_URL')) {
         $path = SugarTemplateUtilities::getFilePath($path);
     }
     require $path;
     foreach ($tracker_config as $key => $configEntry) {
         if (isset($configEntry['bean']) && $configEntry['bean'] != 'Tracker') {
             $bean = new $configEntry['bean']();
             if ($bean->bean_implements('ACL')) {
                 ACLAction::addActions($bean->module_dir, $configEntry['bean']);
             }
         }
     }
     parent::create_tables();
 }