Cheetah
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ChWsbInstallerUi Class Reference
Inheritance diagram for ChWsbInstallerUi:
ChWsbDb

Public Member Functions

 __construct ()
 
 getUploader ($sResult, $sPackageTitleKey='_adm_txt_modules_module', $bUnsetUpdate=false, $sAction=false)
 
 getInstalled ()
 
 getNotInstalled ($sResult)
 
 getUpdates ($sResult)
 
 setCheckPathes ($aPathes)
 
 actionUpload ($sType, $aFile, $aFtpInfo)
 
 actionInstall ($aDirectories)
 
 actionUninstall ($aDirectories)
 
 actionRecompile ($aDirectories)
 
 actionUpdate ($aDirectories)
 
 actionDelete ($aDirectories, $sType='module')
 
 checkForUpdatesByPath ($sPath)
 
 downloadUpdate ($sLink)
 
 _parseUpdate ($aInfo)
 
 _perform ($aDirectories, $sOperation, $aParams=array())
 
 _isArchive ($sType)
 
- Public Member Functions inherited from ChWsbDb
 setTimezone ($sTimezone)
 
 getLink ()
 
 res ($sQuery, $aBindings=[], $bReplaying=false)
 
 getAll ($sQuery, $aBindings=[], $iFetchType=PDO::FETCH_ASSOC)
 
 getRow ($sQuery, $aBindings=[], $iFetchStyle=PDO::FETCH_ASSOC)
 
 getColumn ($sQuery, $aBindings=[])
 
 getOne ($sQuery, $aBindings=[], $iIndex=0)
 
 getFirstRow ($sQuery, $aBindings=[], $iFetchStyle=PDO::FETCH_ASSOC)
 
 getNextRow ()
 
 getAllWithKey ($sQuery, $sFieldKey, $aBindings=[], $iFetchType=PDO::FETCH_ASSOC)
 
 getPairs ($sQuery, $sFieldKey, $sFieldValue, $aBindings=[])
 
 query ($sQuery, $aBindings=[])
 
 getNumRows ($oStmt=null)
 
 getAffectedRows ($oStmt=null)
 
 fillArray ($oStmt, $iFetchType=PDO::FETCH_ASSOC)
 
 lastId ()
 
 getParam ($sName, $bCache=true)
 
 setParam ($sName, $sValue)
 
 listTables ()
 
 getFields ($sTable)
 
 isFieldExists ($sTable, $sFieldName)
 
 fetchField ($mixedQuery, $iField, $aBindings=[])
 
 getDbCacheObject ()
 
 genDbCacheKey ($sName)
 
 fromCache ($sName, $sFunc)
 
 cleanCache ($sName)
 
fromMemory ($sName, $sFunc)
 
 cleanMemory ($sName)
 
 arrayToSQL ($a, $sDiv=',')
 
 escape ($sText, $bReal=true)
 
 implode_escape ($mixed)
 
 unescape ($mixed)
 

Static Public Member Functions

static checkForUpdates ($aModule)
 
- Static Public Member Functions inherited from ChWsbDb
static getInstance ()
 

Public Attributes

 $_sDefVersion
 
 $_aCheckPathes
 
 $_aTypesConfig
 
- Public Attributes inherited from ChWsbDb
 $port
 
 $socket
 
 $dbname
 
 $user
 
 $password
 
 $oParams = null
 
 $oDbCacheObject = null
 

Additional Inherited Members

- Protected Member Functions inherited from ChWsbDb
 connect ()
 
 disconnect ()
 
- Protected Attributes inherited from ChWsbDb
 $host
 
 $link
 
 $oCurrentStmt
 
 $iCurrentFetchStyle
 
- Static Protected Attributes inherited from ChWsbDb
static $instance
 

Detailed Description

Definition at line 12 of file ChWsbInstallerUi.php.

Constructor & Destructor Documentation

◆ __construct()

ChWsbInstallerUi::__construct ( )

Reimplemented from ChWsbDb.

Definition at line 39 of file ChWsbInstallerUi.php.

Member Function Documentation

◆ _isArchive()

ChWsbInstallerUi::_isArchive (   $sType)

Definition at line 598 of file ChWsbInstallerUi.php.

◆ _parseUpdate()

ChWsbInstallerUi::_parseUpdate (   $aInfo)

Definition at line 521 of file ChWsbInstallerUi.php.

◆ _perform()

ChWsbInstallerUi::_perform (   $aDirectories,
  $sOperation,
  $aParams = array() 
)

Definition at line 550 of file ChWsbInstallerUi.php.

◆ actionDelete()

ChWsbInstallerUi::actionDelete (   $aDirectories,
  $sType = 'module' 
)

Definition at line 403 of file ChWsbInstallerUi.php.

◆ actionInstall()

ChWsbInstallerUi::actionInstall (   $aDirectories)

Definition at line 387 of file ChWsbInstallerUi.php.

◆ actionRecompile()

ChWsbInstallerUi::actionRecompile (   $aDirectories)

Definition at line 395 of file ChWsbInstallerUi.php.

◆ actionUninstall()

ChWsbInstallerUi::actionUninstall (   $aDirectories)

Definition at line 391 of file ChWsbInstallerUi.php.

◆ actionUpdate()

ChWsbInstallerUi::actionUpdate (   $aDirectories)

Definition at line 399 of file ChWsbInstallerUi.php.

◆ actionUpload()

ChWsbInstallerUi::actionUpload (   $sType,
  $aFile,
  $aFtpInfo 
)

Definition at line 305 of file ChWsbInstallerUi.php.

◆ checkForUpdates()

static ChWsbInstallerUi::checkForUpdates (   $aModule)
static

Definition at line 492 of file ChWsbInstallerUi.php.

◆ checkForUpdatesByPath()

ChWsbInstallerUi::checkForUpdatesByPath (   $sPath)

Definition at line 420 of file ChWsbInstallerUi.php.

◆ downloadUpdate()

ChWsbInstallerUi::downloadUpdate (   $sLink)

Definition at line 430 of file ChWsbInstallerUi.php.

◆ getInstalled()

ChWsbInstallerUi::getInstalled ( )

Definition at line 120 of file ChWsbInstallerUi.php.

◆ getNotInstalled()

ChWsbInstallerUi::getNotInstalled (   $sResult)

Definition at line 174 of file ChWsbInstallerUi.php.

◆ getUpdates()

ChWsbInstallerUi::getUpdates (   $sResult)

Definition at line 238 of file ChWsbInstallerUi.php.

◆ getUploader()

ChWsbInstallerUi::getUploader (   $sResult,
  $sPackageTitleKey = '_adm_txt_modules_module',
  $bUnsetUpdate = false,
  $sAction = false 
)

Definition at line 46 of file ChWsbInstallerUi.php.

◆ setCheckPathes()

ChWsbInstallerUi::setCheckPathes (   $aPathes)

Definition at line 299 of file ChWsbInstallerUi.php.

Member Data Documentation

◆ $_aCheckPathes

ChWsbInstallerUi::$_aCheckPathes

Definition at line 15 of file ChWsbInstallerUi.php.

◆ $_aTypesConfig

ChWsbInstallerUi::$_aTypesConfig
Initial value:
= array (
'module' => array (
'configfile' => '/install/config.php',
'configvar' => 'aConfig',
'configvarindex' => 'home_dir',
'folder' => 'modules/',
'subfolder' => '{configvar}',
),
'update' => array (
'configfile' => '/install/config.php',
'configvar' => 'aConfig',
'configvarindex' => 'home_dir',
'folder' => 'modules/',
'subfolder' => '{configvar}',
),
'template' => array (
'configfile' => '/scripts/ChTemplName.php',
'configvar' => 'sTemplName',
'folder' => 'templates/',
'subfolder' => '{packagerootfolder}',
),
)

Definition at line 16 of file ChWsbInstallerUi.php.

◆ $_sDefVersion

ChWsbInstallerUi::$_sDefVersion

Definition at line 14 of file ChWsbInstallerUi.php.


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