Class ConsumerInstallHelper

Description

The ConsumerInstallHelper defines general methods that can be used for creating Installation mechansim for Consumer.

It is used both, in Administration and Installation console.



			
Direct descendents
Class Description
ConsumerDeinstaller This Class is used to deinstall a Consumers from your CMS.
ConsumerInstaller This Class is used to create new Consumers for your CMS.
Method Summary
void cleanError ()
void cleanInfos ()
void getError ()
array getFilesToParse ()
void getInfo ()
void parseConsumerString ( $name,  $cid)
Methods
cleanError (line 144)
void cleanError ()
cleanInfos (line 148)
void cleanInfos ()
getError (line 152)
void getError ()
getFilesToParse (line 355)

Return an array with all (absolute) Filenames, that must be parsed after the Files has copied to its new Consumer Directory.

Remember to call

  1. parseConsumerString($filename$cid)
on each Filename to get the real Path!

  • return: all Files to be parsed
array getFilesToParse ()
getInfo (line 156)
void getInfo ()
getReplacerArray (line 292)

Returns the associative Array with all keys (used for formulars) and the Replacer mappings that are used in the installation Files.

void getReplacerArray ()
getReplacerFromConsumerDefinition (line 323)

Create an associative Array from an ConsumerDefinition file.

The keys can be directly mapped to the keys in the Array fetched by

.

void getReplacerFromConsumerDefinition (ConsumerDefinition $definition)
parseConsumerString (line 371)

Creates the given String and renames it to the needed Consumer declaration

void parseConsumerString ( $name,  $cid)
  • $name
  • $cid

Documentation generated by phpDocumentor 1.3.1