Cheetah
Public Member Functions | Public Attributes | List of all members
ChWsbInstaller Class Reference
Inheritance diagram for ChWsbInstaller:
ChWsbInstallerUtils ChWsbIO ChAdsInstaller ChArlInstaller ChAvaInstaller ChBlogsInstaller ChBoardInstaller ChChatInstaller ChChatPlusInstaller ChCRSSInstaller ChDolphConInstaller ChEventsInstaller ChFaceBookConnectInstaller ChFdbInstaller ChFilesInstaller ChGroupsInstaller ChGSearchInstaller ChH5avInstaller ChMbpInstaller ChNewsInstaller ChOAuthInstaller ChOrcaInstaller ChPageACInstaller ChPhotosInstaller ChPmtInstaller ChPollInstaller ChProfileCustomizeInstaller ChProfilerInstaller ChQuotesInstaller ChRuInstaller ChSctrInstaller ChShoutBoxInstaller ChSimpleMessengerInstaller ChSitesInstaller ChSMTPInstaller ChSoundsInstaller ChSpyInstaller ChStoreInstaller ChVideosInstaller ChWallInstaller ChWmapInstaller ChWsbUpdater ChZIPInstaller

Public Member Functions

 __construct ($aConfig)
 
 install ($aParams)
 
 uninstall ($aParams)
 
 recompile ($aParams)
 
 _hash ($sPath, &$aFiles)
 
 _info ($sPath)
 
 _perform ($sOperationName, $sOperationTitle)
 
 _displayResult ($sAction, $bResult, $sResult='')
 
 actionOperationFailed ($mixedResult)
 
 actionCheckDependencies ($bInstall=true)
 
 actionCheckDependenciesFailed ($mixedResult)
 
 actionShowIntroduction ($bInstall=true)
 
 actionShowConclusion ($bInstall=true)
 
 actionCheckPermissions ($bInstall=true)
 
 actionCheckPermissionsFailed ($mixedResult)
 
 actionChangePermissions ($bInstall=true)
 
 actionChangePermissionsFailed ($mixedResult)
 
 actionExecuteSql ($bInstall=true)
 
 actionExecuteSqlFailed ($mixedResult)
 
 actionUpdateLanguages ($bInstall=true)
 
 actionUpdateLanguagesFailed ($mixedResult)
 
 actionRecompileGlobalParamaters ($bInstall=true)
 
 actionRecompileMainMenu ($bInstall=true)
 
 actionRecompileMemberMenu ($bInstall=true)
 
 actionRecompileSiteStats ($bInstall=true)
 
 actionRecompilePageBuilder ($bInstall=true)
 
 actionRecompileProfileFields ($bInstall=true)
 
 actionRecompileComments ($bInstall=true)
 
 actionRecompileMemberActions ($bInstall=true)
 
 actionRecompileTags ($bInstall=true)
 
 actionRecompileVotes ($bInstall=true)
 
 actionRecompileCategories ($bInstall=true)
 
 actionRecompileSearch ($bInstall=true)
 
 actionRecompileInjections ($bInstall=true)
 
 actionRecompilePermalinks ($bInstall=true)
 
 actionRecompileAlerts ($bInstall=true)
 
 actionClearDbCache ($bInstall=true)
 
 getVendor ()
 
 getName ()
 
 getTitle ()
 
 getHomeDir ()
 
 _updateLanguage ($bInstall, $aLanguage, $iCategoryId=0)
 
 _addLanguage ($aLanguage, $aLangInfo)
 
 _removeLanguage ($aLanguage, $aLangInfo)
 
 _recompileLanguageForAllModules ($iLangId)
 
 _getPermissions ($sFilePath)
 
- Public Member Functions inherited from ChWsbInstallerUtils
 __construct ()
 
 isXsltEnabled ()
 
 isAllowUrlInclude ()
 
- Public Member Functions inherited from ChWsbIO
 isExecutable ($sFile)
 
 isWritable ($sFile, $sPrePath='/../../')
 
 getPermissions ($sFileName)
 

Public Attributes

 $_aConfig
 
 $_sBasePath
 
 $_sHomePath
 
 $_sModulePath
 
 $_aActions
 
 $_aNonHashable
 

Additional Inherited Members

- Static Public Member Functions inherited from ChWsbInstallerUtils
static isModuleInstalled ($sUri)
 

Detailed Description

Base class for Installer classes in modules engine.

The class contains different check functions which are used during the installation process. An object of the class is created automatically with Cheetah's modules installer. Installation/Uninstallation process can be controlled with config.php file located in [module]/install/ folder.

Example of usage:

See also
any module included in the default Cheetah's package.

Memberships/ACL: Doesn't depend on user's membership.

Alerts: no alerts available

Definition at line 37 of file ChWsbInstaller.php.

Constructor & Destructor Documentation

◆ __construct()

ChWsbInstaller::__construct (   $aConfig)

Member Function Documentation

◆ _addLanguage()

ChWsbInstaller::_addLanguage (   $aLanguage,
  $aLangInfo 
)

Definition at line 722 of file ChWsbInstaller.php.

◆ _displayResult()

ChWsbInstaller::_displayResult (   $sAction,
  $bResult,
  $sResult = '' 
)

Definition at line 312 of file ChWsbInstaller.php.

◆ _getPermissions()

ChWsbInstaller::_getPermissions (   $sFilePath)

Definition at line 814 of file ChWsbInstaller.php.

◆ _hash()

ChWsbInstaller::_hash (   $sPath,
$aFiles 
)

Definition at line 261 of file ChWsbInstaller.php.

◆ _info()

ChWsbInstaller::_info (   $sPath)

Definition at line 277 of file ChWsbInstaller.php.

◆ _perform()

ChWsbInstaller::_perform (   $sOperationName,
  $sOperationTitle 
)

Definition at line 284 of file ChWsbInstaller.php.

◆ _recompileLanguageForAllModules()

ChWsbInstaller::_recompileLanguageForAllModules (   $iLangId)

Definition at line 779 of file ChWsbInstaller.php.

◆ _removeLanguage()

ChWsbInstaller::_removeLanguage (   $aLanguage,
  $aLangInfo 
)

Definition at line 764 of file ChWsbInstaller.php.

◆ _updateLanguage()

ChWsbInstaller::_updateLanguage (   $bInstall,
  $aLanguage,
  $iCategoryId = 0 
)

Reimplemented in ChWsbUpdater.

Definition at line 688 of file ChWsbInstaller.php.

◆ actionChangePermissions()

ChWsbInstaller::actionChangePermissions (   $bInstall = true)

Definition at line 390 of file ChWsbInstaller.php.

◆ actionChangePermissionsFailed()

ChWsbInstaller::actionChangePermissionsFailed (   $mixedResult)

Definition at line 430 of file ChWsbInstaller.php.

◆ actionCheckDependencies()

ChWsbInstaller::actionCheckDependencies (   $bInstall = true)

Definition at line 331 of file ChWsbInstaller.php.

◆ actionCheckDependenciesFailed()

ChWsbInstaller::actionCheckDependenciesFailed (   $mixedResult)

Definition at line 350 of file ChWsbInstaller.php.

◆ actionCheckPermissions()

ChWsbInstaller::actionCheckPermissions (   $bInstall = true)

Definition at line 368 of file ChWsbInstaller.php.

◆ actionCheckPermissionsFailed()

ChWsbInstaller::actionCheckPermissionsFailed (   $mixedResult)

Definition at line 383 of file ChWsbInstaller.php.

◆ actionClearDbCache()

ChWsbInstaller::actionClearDbCache (   $bInstall = true)

Definition at line 660 of file ChWsbInstaller.php.

◆ actionExecuteSql()

ChWsbInstaller::actionExecuteSql (   $bInstall = true)

Definition at line 447 of file ChWsbInstaller.php.

◆ actionExecuteSqlFailed()

ChWsbInstaller::actionExecuteSqlFailed (   $mixedResult)

Definition at line 495 of file ChWsbInstaller.php.

◆ actionOperationFailed()

ChWsbInstaller::actionOperationFailed (   $mixedResult)

Definition at line 327 of file ChWsbInstaller.php.

◆ actionRecompileAlerts()

ChWsbInstaller::actionRecompileAlerts (   $bInstall = true)

Definition at line 652 of file ChWsbInstaller.php.

◆ actionRecompileCategories()

ChWsbInstaller::actionRecompileCategories (   $bInstall = true)

Definition at line 619 of file ChWsbInstaller.php.

◆ actionRecompileComments()

ChWsbInstaller::actionRecompileComments (   $bInstall = true)

Definition at line 595 of file ChWsbInstaller.php.

◆ actionRecompileGlobalParamaters()

ChWsbInstaller::actionRecompileGlobalParamaters (   $bInstall = true)

Definition at line 545 of file ChWsbInstaller.php.

◆ actionRecompileInjections()

ChWsbInstaller::actionRecompileInjections (   $bInstall = true)

Definition at line 630 of file ChWsbInstaller.php.

◆ actionRecompileMainMenu()

ChWsbInstaller::actionRecompileMainMenu (   $bInstall = true)

Definition at line 554 of file ChWsbInstaller.php.

◆ actionRecompileMemberActions()

ChWsbInstaller::actionRecompileMemberActions (   $bInstall = true)

Definition at line 601 of file ChWsbInstaller.php.

◆ actionRecompileMemberMenu()

ChWsbInstaller::actionRecompileMemberMenu (   $bInstall = true)

Definition at line 563 of file ChWsbInstaller.php.

◆ actionRecompilePageBuilder()

ChWsbInstaller::actionRecompilePageBuilder (   $bInstall = true)

Definition at line 577 of file ChWsbInstaller.php.

◆ actionRecompilePermalinks()

ChWsbInstaller::actionRecompilePermalinks (   $bInstall = true)

Definition at line 637 of file ChWsbInstaller.php.

◆ actionRecompileProfileFields()

ChWsbInstaller::actionRecompileProfileFields (   $bInstall = true)

Definition at line 586 of file ChWsbInstaller.php.

◆ actionRecompileSearch()

ChWsbInstaller::actionRecompileSearch (   $bInstall = true)

Definition at line 626 of file ChWsbInstaller.php.

◆ actionRecompileSiteStats()

ChWsbInstaller::actionRecompileSiteStats (   $bInstall = true)

Definition at line 571 of file ChWsbInstaller.php.

◆ actionRecompileTags()

ChWsbInstaller::actionRecompileTags (   $bInstall = true)

Definition at line 607 of file ChWsbInstaller.php.

◆ actionRecompileVotes()

ChWsbInstaller::actionRecompileVotes (   $bInstall = true)

Definition at line 613 of file ChWsbInstaller.php.

◆ actionShowConclusion()

ChWsbInstaller::actionShowConclusion (   $bInstall = true)

Definition at line 361 of file ChWsbInstaller.php.

◆ actionShowIntroduction()

ChWsbInstaller::actionShowIntroduction (   $bInstall = true)

Definition at line 354 of file ChWsbInstaller.php.

◆ actionUpdateLanguages()

ChWsbInstaller::actionUpdateLanguages (   $bInstall = true)

Reimplemented in ChWsbUpdater.

Definition at line 504 of file ChWsbInstaller.php.

◆ actionUpdateLanguagesFailed()

ChWsbInstaller::actionUpdateLanguagesFailed (   $mixedResult)

Definition at line 538 of file ChWsbInstaller.php.

◆ getHomeDir()

ChWsbInstaller::getHomeDir ( )

Definition at line 681 of file ChWsbInstaller.php.

◆ getName()

ChWsbInstaller::getName ( )

Definition at line 673 of file ChWsbInstaller.php.

◆ getTitle()

ChWsbInstaller::getTitle ( )

Definition at line 677 of file ChWsbInstaller.php.

◆ getVendor()

ChWsbInstaller::getVendor ( )

Definition at line 669 of file ChWsbInstaller.php.

◆ install()

ChWsbInstaller::install (   $aParams)

◆ recompile()

ChWsbInstaller::recompile (   $aParams)

Definition at line 241 of file ChWsbInstaller.php.

◆ uninstall()

ChWsbInstaller::uninstall (   $aParams)

Member Data Documentation

◆ $_aActions

ChWsbInstaller::$_aActions

Definition at line 44 of file ChWsbInstaller.php.

◆ $_aConfig

ChWsbInstaller::$_aConfig

Definition at line 39 of file ChWsbInstaller.php.

◆ $_aNonHashable

ChWsbInstaller::$_aNonHashable

Definition at line 45 of file ChWsbInstaller.php.

◆ $_sBasePath

ChWsbInstaller::$_sBasePath

Definition at line 40 of file ChWsbInstaller.php.

◆ $_sHomePath

ChWsbInstaller::$_sHomePath

Definition at line 41 of file ChWsbInstaller.php.

◆ $_sModulePath

ChWsbInstaller::$_sModulePath

Definition at line 42 of file ChWsbInstaller.php.


The documentation for this class was generated from the following file: