public function __construct()
 {
     if (isset($GLOBALS['bxDolClasses'][get_class($this)])) {
         trigger_error('Multiple instances are not allowed for the class: ' . get_class($this), E_USER_ERROR);
     }
     parent::__construct();
 }
 public function __construct()
 {
     if (isset($GLOBALS['bxDolClasses'][get_class($this)])) {
         trigger_error('Multiple instances are not allowed for the class: ' . get_class($this), E_USER_ERROR);
     }
     parent::__construct();
     $this->bUseFtp = BX_FORCE_USE_FTP_FILE_TRANSFER;
     $this->sAuthorizedAccessClass = 'BxDolStudioOAuthPlugin';
 }
 function __construct($aConfig)
 {
     parent::__construct();
     $this->_aConfig = $aConfig;
     $this->_sBasePath = BX_DIRECTORY_PATH_MODULES;
     $this->_sHomePath = $this->_sBasePath . $aConfig['home_dir'];
     $this->_sModulePath = $this->_sBasePath . $aConfig['home_dir'];
     $this->_aActions = array('check_script_version' => array('title' => _t('_adm_txt_modules_check_script_version')), 'check_dependencies' => array('title' => _t('_adm_txt_modules_check_dependencies')), 'show_introduction' => array('title' => _t('_adm_txt_modules_show_introduction')), 'check_permissions' => array('title' => _t('_adm_txt_modules_check_permissions')), 'change_permissions' => array('title' => _t('_adm_txt_modules_change_permissions')), 'execute_sql' => array('title' => _t('_adm_txt_modules_execute_sql')), 'update_languages' => array('title' => _t('_adm_txt_modules_update_languages')), 'recompile_global_paramaters' => array('title' => _t('_adm_txt_modules_recompile_global_paramaters')), 'recompile_main_menu' => array('title' => _t('_adm_txt_modules_recompile_main_menu')), 'recompile_member_menu' => array('title' => _t('_adm_txt_modules_recompile_member_menu')), 'recompile_site_stats' => array('title' => _t('_adm_txt_modules_recompile_site_stats')), 'recompile_page_builder' => array('title' => _t('_adm_txt_modules_recompile_page_builder')), 'recompile_profile_fields' => array('title' => _t('_adm_txt_modules_recompile_profile_fields')), 'recompile_comments' => array('title' => _t('_adm_txt_modules_recompile_comments')), 'recompile_member_actions' => array('title' => _t('_adm_txt_modules_recompile_member_actions')), 'recompile_tags' => array('title' => _t('_adm_txt_modules_recompile_tags')), 'recompile_votes' => array('title' => _t('_adm_txt_modules_recompile_votes')), 'recompile_categories' => array('title' => _t('_adm_txt_modules_recompile_categories')), 'recompile_search' => array('title' => _t('_adm_txt_modules_recompile_search')), 'recompile_injections' => array('title' => _t('_adm_txt_modules_recompile_injections')), 'recompile_permalinks' => array('title' => _t('_adm_txt_modules_recompile_permalinks')), 'recompile_alerts' => array('title' => _t('_adm_txt_modules_recompile_alerts')), 'clear_db_cache' => array('title' => _t('_adm_txt_modules_clear_db_cache')), 'show_conclusion' => array('title' => _t('_adm_txt_modules_show_conclusion')));
     $this->_aNonHashable = array('install', 'updates');
 }
 function __construct($aConfig)
 {
     parent::__construct();
     $this->oDb = bx_instance('BxDolStudioInstallerQuery');
     $this->_aConfig = $aConfig;
     $this->_sBasePath = BX_DIRECTORY_PATH_MODULES;
     $this->_sHomePath = $this->_sBasePath . $aConfig['home_dir'];
     $this->_sModulePath = $this->_sBasePath . $aConfig['home_dir'];
     $this->_bUseFtp = BX_FORCE_USE_FTP_FILE_TRANSFER;
     $this->_aActions = array('perform_install' => array('title' => '', 'success' => _t('_adm_msg_modules_success_install'), 'failed' => ''), 'perform_uninstall' => array('title' => '', 'success' => _t('_adm_msg_modules_success_uninstall'), 'failed' => ''), 'perform_enable' => array('title' => '', 'success' => _t('_adm_msg_modules_success_enable'), 'failed' => ''), 'perform_disable' => array('title' => '', 'success' => _t('_adm_msg_modules_success_disable'), 'failed' => ''), 'check_script_version' => array('title' => _t('_adm_txt_modules_check_script_version')), 'check_dependencies' => array('title' => _t('_adm_txt_modules_check_dependencies')), 'show_introduction' => array('title' => _t('_adm_txt_modules_show_introduction')), 'move_sources' => array('title' => _t('_adm_txt_modules_move_sources')), 'execute_sql' => array('title' => _t('_adm_txt_modules_execute_sql')), 'install_language' => array('title' => _t('_adm_txt_modules_install_language')), 'update_languages' => array('title' => _t('_adm_txt_modules_update_languages')), 'update_relations' => array('title' => _t('_adm_txt_modules_update_relations')), 'process_connections' => array('title' => _t('_adm_txt_modules_process_connections')), 'process_deleted_profiles' => array('title' => _t('_adm_txt_modules_process_deleted_profiles')), 'process_menu_triggers' => array('title' => _t('_adm_txt_modules_process_menu_triggers')), 'process_page_triggers' => array('title' => _t('_adm_txt_modules_process_page_triggers')), 'process_storages' => array('title' => _t('_adm_txt_modules_process_storages')), 'register_transcoders' => array('title' => _t('_adm_txt_modules_register_transcoders')), 'unregister_transcoders' => array('title' => _t('_adm_txt_modules_unregister_transcoders')), 'clear_db_cache' => array('title' => _t('_adm_txt_modules_clear_db_cache')), 'show_conclusion' => array('title' => _t('_adm_txt_modules_show_conclusion')));
     $this->_aNonHashableFiles = array('install', 'updates');
 }