Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • PHP
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • cSetupAdminPassword
  • cSetupClientAdjust
  • cSetupClientMode
  • cSetupConfigMode
  • cSetupInstaller
  • cSetupPath
  • cSetupResults
  • cSetupSetupSummary
  • cSetupSystemData
  • cSetupSystemtest
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
 1: <?php
 2: /**
 3:  * This file contains the installer setup mask.
 4:  *
 5:  * @package    Setup
 6:  * @subpackage Form
 7:  * @author     Unknown
 8:  * @copyright  four for business AG <www.4fb.de>
 9:  * @license    http://www.contenido.org/license/LIZENZ.txt
10:  * @link       http://www.4fb.de
11:  * @link       http://www.contenido.org
12:  */
13: 
14: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
15: 
16: /**
17:  * Installer setup mask.
18:  *
19:  * @package Setup
20:  * @subpackage Form
21:  */
22: class cSetupInstaller extends cSetupMask
23: {
24: 
25:     public function __construct($step) {
26:         cSetupMask::__construct("templates/setup/forms/installer.tpl", $step);
27: 
28:         $this->_stepTemplateClass->set("s", "IFRAMEVISIBILITY", (CON_SETUP_DEBUG) ? 'visible' : 'hidden');
29:         $this->_stepTemplateClass->set("s", "DBUPDATESCRIPT", "index.php?c=db");
30: 
31:         switch ($_SESSION["setuptype"]) {
32:             case "setup":
33:                 $this->setHeader(i18n("System Installation", "setup"));
34:                 $this->_stepTemplateClass->set("s", "TITLE", i18n("System Installation", "setup"));
35:                 $this->_stepTemplateClass->set("s", "DESCRIPTION", i18n("CONTENIDO will be installed, please wait. This process may take several moments!", "setup"));
36:                 $this->_stepTemplateClass->set("s", "DONEINSTALLATION", i18n("Setup completed installing. Click on next to continue.", "setup"));
37:                 $this->_stepTemplateClass->set("s", "DESCRIPTION", i18n("Setup is installing, please wait...", "setup"));
38:                 $_SESSION["upgrade_nextstep"] = "setup8";
39:                 $this->setNavigation("", "setup8");
40:                 break;
41:             case "upgrade":
42:                 $this->setHeader(i18n("System Upgrade", "setup"));
43:                 $this->_stepTemplateClass->set("s", "TITLE", i18n("System Upgrade", "setup"));
44:                 $this->_stepTemplateClass->set("s", "DESCRIPTION", i18n("CONTENIDO will be upgraded, please wait. This process may take several moments!", "setup"));
45:                 $this->_stepTemplateClass->set("s", "DONEINSTALLATION", i18n("Setup completed upgrading. Click on next to continue.", "setup"));
46:                 $this->_stepTemplateClass->set("s", "DESCRIPTION", i18n("Setup is upgrading, please wait...", "setup"));
47:                 $_SESSION["upgrade_nextstep"] = "ugprade6";
48:                 $this->setNavigation("", "upgrade6");
49:                 break;
50:         }
51:     }
52: 
53:     /**
54:      * Old constructor
55:      * @deprecated [2016-04-14] This method is deprecated and is not needed any longer. Please use __construct() as constructor function.
56:      * @param $step
57:      */
58:     public function cSetupInstaller($step) {
59:         cDeprecated('This method is deprecated and is not needed any longer. Please use __construct() as constructor function.');
60:         $this->__construct($step);
61:     }
62: }
63: 
64: ?>
CMS CONTENIDO 4.10.0 API documentation generated by ApiGen 2.8.0