clearFusionCMS 3.0.0
  • Package
  • Class
  • Tree
  • Deprecated

Packages

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

Classes

  • commentsBackendController
  • commentsEvents
  • commentsInstall
  • commentsSettings

Class commentsInstall

commentsInstall Class

Class for managing the comments module installation.

commentsInstall implements cfInstallInterface
Package: clearFusionCMS\module\comments
Copyright: Copyright (c) 2013 - 2016 clearFusionCMS. All rights reserved.
Located at system/modules/comments/commentsInstall.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
# createTables( flDb $db, string $site )

Create the tables for the site.

Create the tables for the site.

Parameters

$db
The database object.
$site
The site name.
public
# deleteTables( flDb $db, string $site )

Delete the tables.

Delete the tables.

Parameters

$db
The database object.
$site
The name of the site to delete the table.
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