Class: ConsumerDeinstaller

Source Location: /CORE/system/classes/consumer/ConsumerDeinstaller.php

Class ConsumerDeinstaller

Class Overview

This Class is used to deinstall a Consumers from your CMS.

Located in /CORE/system/classes/consumer/ConsumerDeinstaller.php [line 45]

ConsumerInstallHelper
   |
   --ConsumerDeinstaller
Author(s):
  • Kevin Papst
Information Tags:
Version:  $Id: ConsumerDeinstaller.php,v 1.8 2008/07/29 02:14:58 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From ConsumerInstallHelper

ConsumerInstallHelper::cleanError()
ConsumerInstallHelper::cleanInfos()
ConsumerInstallHelper::executeXmlSchema()
ConsumerInstallHelper::getDirectoriesToCreate()
ConsumerInstallHelper::getError()
ConsumerInstallHelper::getFilesToParse()
Return an array with all (absolute) Filenames, that must be parsed after the Files has copied to its new Consumer Directory.
ConsumerInstallHelper::getInfo()
ConsumerInstallHelper::getReplacerArray()
Returns the associative Array with all keys (used for formulars) and the Replacer mappings that are used in the installation Files.
ConsumerInstallHelper::getReplacerFromConsumerDefinition()
Create an associative Array from an ConsumerDefinition file.
ConsumerInstallHelper::parseConsumerString()
Creates the given String and renames it to the needed Consumer declaration
ConsumerInstallHelper::parseForReplacer()
Parses the given Content and replaces all XXX in content with values from data array.

[ Top ]
Method Summary
void   deleteFromConsumerConfiguration()   Deletes the given Consumer from the Consumer Configuration.
void   removeConsumerDirectory()  
void   removeDatabase()  
void   removeDirectoryRecursive()  

[ Top ]
Methods
deleteFromConsumerConfiguration  [line 138]

  void deleteFromConsumerConfiguration( int $consumerID  )

Deletes the given Consumer from the Consumer Configuration.

Parameters:
int   $consumerID:  consumerID the ConsumerID to be removed (including all Alias Entrys)


[ Top ]
removeConsumerDirectory  [line 126]

  void removeConsumerDirectory( $cid  )

Parameters:
   $cid: 

API Tags:
Access:  public


[ Top ]
removeDatabase  [line 51]

  void removeDatabase( $cid  )

Parameters:
   $cid: 

API Tags:
Access:  public


[ Top ]
removeDirectoryRecursive  [line 89]

  void removeDirectoryRecursive( $dirname  )

Parameters:
   $dirname: 

API Tags:
Access:  protected


[ Top ]