Overview

Packages

  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Datatype
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
  • 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

Classes

  • cUpgradeJob_0001
  • cUpgradeJob_0002
  • cUpgradeJob_0003
  • cUpgradeJob_0004
  • cUpgradeJob_0005
  • cUpgradeJob_0006
  • cUpgradeJob_0007
  • cUpgradeJob_0008
  • cUpgradeJob_0009
  • cUpgradeJob_0010
  • cUpgradeJob_0011
  • cUpgradeJob_0012
  • cUpgradeJob_0013
  • cUpgradeJob_0014
  • cUpgradeJobAbstract
  • cUpgradeJobMain
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class cUpgradeJobMain

Main upgrade job class.

cUpgradeJobAbstract
Extended by cUpgradeJobMain
Package: Setup\UpgradeJob
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Murat Purc <murat@purc.de>
Located at upgrade_jobs/class.upgrade.job.main.php
Methods summary
public
# _execute( )

Main function to execute

Main function to execute

protected
# _executeInitialJobs( )

Initial update jobs.

Initial update jobs.

NOTE: Don't spam this function with additional upgrade tasks. Create a new upgrated job file and implement the execute() method!

protected
# _jobConvertOldStartArticlesToNewOne( )

Function to convert old start article configuration to new style.

Function to convert old start article configuration to new style.

In former CONTENIDO versions (4.6 or earlier) start articles were stored in table con_cat_art.is_start. Since 4.6 start articles are stored con_cat_lang.startidartlang.

This function takes the start articles from con_cat_art.is_start and sets them in con_cat_lang.startidartlang for all available languages.

Todo

Move this to an upgrade job
protected
# _renameOldUserTableToNewOne( )

Renames table 'phplib_auth_user_md5' to 'user'

Renames table 'phplib_auth_user_md5' to 'user'

protected array
# _getUpgradeJobFiles( )

Get all upgrade job files

Get all upgrade job files

Returns

array
protected
# _processUpgradeJobs( array $upgradeJobs )

Execute passed upgrade job files

Execute passed upgrade job files

Parameters

$upgradeJobs
array
$upgradeJobs
Methods inherited from cUpgradeJobAbstract
__construct(), _getAllClients(), _getAllLanguages(), _logError(), execute()
Properties inherited from cUpgradeJobAbstract
$_aCfg, $_clients, $_languages, $_oDb, $_rootHttpPath, $_rootPath, $_setupType, $_version, $maxVersion
CMS CONTENIDO 4.9.1 API documentation generated by ApiGen 2.8.0