clearFusionCMS 3.0.0
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • clearFusionCMS
    • module
      • cloudflare
      • comments
      • content
      • forms
      • members
      • search
  • fusionLib
  • None

Classes

  • contentInstall
  • contentSearchHelper
  • contentSettings

Class contentInstall

contentInstall Class

clearFusionCMS core module installer.

contentInstall implements cfInstallInterface
Package: clearFusionCMS\module\content
Copyright: Copyright (c) 2012 - 2016 clearFusionCMS. All rights reserved.
Located at system/modules/content/contentInstall.php

Methods summary

public string
# getLastError( )

Return the last error.

Return the last error.

Returns

string
The last error string.

Implementation of

flModuleInstallInterface::getLastError()
public boolean
# install( flDb $db )

Install the module.

Install the module.

Parameters

$db
database object to use.

Returns

boolean
true if installed; else false.

Implementation of

flModuleInstallInterface::install()
public boolean
# uninstall( flDb $db )

Uninstall the module.

Uninstall the module.

Parameters

$db
database object to use.

Returns

boolean
true if uninstalled; else false.

Implementation of

flModuleInstallInterface::uninstall()
public boolean
# upgrade( flDb $db, string $installedVer )

Upgrade the module.

Upgrade the module.

Parameters

$db
database object to use.
$installedVer
The installed version.

Returns

boolean
true if upgraded; else false.

Implementation of

flModuleInstallInterface::upgrade()
public boolean
# createSite( flDb $db, string $site )

Create a new site.

Create a new site.

Parameters

$db
The database object.
$site
The short name of the site.

Returns

boolean
true if the site was created; else false.

Implementation of

cfInstallInterface::createSite()
public boolean
# deleteSite( flDb $db, string $site )

Delete a site.

Delete a site.

Parameters

$db
The database object.
$site
The name of the site to delete.

Returns

boolean
true if the site was deleted; else false.

Implementation of

cfInstallInterface::deleteSite()

Properties summary

protected string $lastError

The last error message.

The last error message.

# ''
clearFusionCMS 3.0.0 API documentation generated by ApiGen