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
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • cCLISetup
  • cSetupLanguageChooser
  • cSetupNotInstallable
  • cSetupTypeChooser

Functions

  • checkAndInclude
  • checkExistingPlugin
  • checkInstallationSettings
  • findSimilarText
  • getArgs
  • getContenidoVersion
  • getSystemDirectories
  • initializeVariables
  • listClients
  • passwordPrompt
  • printHelpText
  • prnt
  • prntln
  • prntst
  • progressBar
  • stripLastSlash
  • updateClientPath
  • updateContenidoVersion
  • updateSysadminPassword
  • updateSystemProperties
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class cCLISetup

Provides functions to gather the necessary settings for autoinstall.php

Package: Setup
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Mischa Holz
Located at lib/class.clisetup.php
Methods summary
public
# __construct( array $args )

Initiliazes the class and sets standard values for some settings

Initiliazes the class and sets standard values for some settings

Parameters

$args
the parsed command line
public
# interpretCommandline( )

Reads all parameters and gathers the settings for the installation accordingly

Reads all parameters and gathers the settings for the installation accordingly

public
# printSettings( )

Prints the settings json encoded to the console but removes passwords from it

Prints the settings json encoded to the console but removes passwords from it

public
# getSettingsFromCommandLine( array $args,… )

Read the settings from various parameters from the command line

Read the settings from various parameters from the command line

Parameters

$args,…
the parsed command line
public
# getUserInputSettings( )

Start a dialog with the user to get the settings

Start a dialog with the user to get the settings

public
# getSettingsFromFile( string $file )

Reads the specified file and saves the values in the appropriate places

Reads the specified file and saves the values in the appropriate places

Parameters

$file
path to the file
public
# executeSystemTests( )

Executes the CONTENIDO system tests and prints the result to the user. In case of an error it asks if the user wants to continue anyway and, if not, quits the script.

Executes the CONTENIDO system tests and prints the result to the user. In case of an error it asks if the user wants to continue anyway and, if not, quits the script.

public
# applySettings( )

Take the settings from the settings array and write them to the appropriate places

Take the settings from the settings array and write them to the appropriate places

Properties summary
protected array $settings

holds the setup settings

holds the setup settings

#
protected array $args

holds the command line options

holds the command line options

#
protected string $settingsFile

path to the settings files

path to the settings files

#
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen