PackagerInstall Class Reference

Inheritance diagram for PackagerInstall:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 checkDependencies ($pPackage)
 fetchRemotePackage ($pPackagerId=NULL)
 getInstallPath ($pPackage=NULL)
 getSchemaFiles ()
 getSchemaUpgrades ($pFile)
 PackagerVersions ($pPackagerId=NULL)
 prepareVersionForInstall ($pPackagerId=NULL, $pIgnoreVersion=FALSE)
 storeDownloadLog ($pLogHash)
 storeInstallLog ($pLogHash)
 storeLog ($pStoreHash)
 updateVersion ($pParamHash)

Public Attributes

 $mPackagerId

Detailed Description

Packager

BitBase

Definition at line 9 of file PackagerInstall.php.


Member Function Documentation

PackagerInstall::checkDependencies ( pPackage  ) 

Definition at line 83 of file PackagerInstall.php.

PackagerInstall::fetchRemotePackage ( pPackagerId = NULL  ) 

Definition at line 133 of file PackagerInstall.php.

References $content, bit_http_request(), PackagerBase::getPackageFilepath(), PackagerBase::isDownloaded(), PackagerVersions::isValid(), mInfo, and tra().

Referenced by prepareVersionForInstall().

Here is the call graph for this function:

PackagerInstall::getInstallPath ( pPackage = NULL  ) 

Definition at line 67 of file PackagerInstall.php.

References $gBitSystem, $ret, PackagerVersions::isValid(), mInfo, and mPackages.

Referenced by getSchemaFiles(), getSchemaUpgrades(), and prepareVersionForInstall().

Here is the call graph for this function:

PackagerInstall::getSchemaFiles (  ) 

Definition at line 110 of file PackagerInstall.php.

References $ret, FALSE, getInstallPath(), PackagerBase::getVersionFromFile(), PackagerVersions::isValid(), mInfo, schemafile_version_compare(), and PackagerBase::versionCompare().

Here is the call graph for this function:

PackagerInstall::getSchemaUpgrades ( pFile  ) 

Definition at line 87 of file PackagerInstall.php.

References $ret, $version, array_version_compare(), PackagerBase::getInstalledVersion(), getInstallPath(), PackagerBase::getVersionFromFile(), mInfo, and PackagerBase::versionCompare().

Here is the call graph for this function:

PackagerInstall::PackagerVersions ( pPackagerId = NULL  ) 

Initiate class

Returns:
void

Reimplemented from PackagerVersions.

Definition at line 18 of file PackagerInstall.php.

References PackagerVersions::PackagerVersions().

Here is the call graph for this function:

PackagerInstall::prepareVersionForInstall ( pPackagerId = NULL,
pIgnoreVersion = FALSE 
)

Definition at line 153 of file PackagerInstall.php.

References $backup, fetchRemotePackage(), getInstallPath(), PackagerBase::getPackageFilepath(), PackagerBase::getStoragePath(), PackagerBase::getVersionFromFile(), PackagerBase::isDownloaded(), PackagerVersions::isValid(), liberty_process_archive(), mInfo, tra(), unlink_r(), BitBase::verifyId(), and PackagerBase::versionCompare().

Here is the call graph for this function:

PackagerInstall::storeDownloadLog ( pLogHash  ) 

storeLog

Parameters:
array $pParamHash public
Returns:
TRUE on success, FALSE on failure - mErrors will contain reason for failure TODO: not sure if using serialize is the best way to go here, but makes sense for now. easy retrieval and should be easy to apply to the results table

Definition at line 31 of file PackagerInstall.php.

References $gBitSystem, $storeHash, PackagerVersions::isValid(), and storeLog().

Here is the call graph for this function:

PackagerInstall::storeInstallLog ( pLogHash  ) 

Definition at line 43 of file PackagerInstall.php.

References $gBitSystem, $storeHash, PackagerVersions::isValid(), and storeLog().

Here is the call graph for this function:

PackagerInstall::storeLog ( pStoreHash  ) 

Definition at line 55 of file PackagerInstall.php.

References $storeHash, PackagerVersions::isValid(), and mDb.

Referenced by storeDownloadLog(), and storeInstallLog().

Here is the call graph for this function:

PackagerInstall::updateVersion ( pParamHash  ) 

Definition at line 101 of file PackagerInstall.php.

References $gBitSystem, $pParamHash, and $version.


Member Data Documentation

PackagerInstall::$mPackagerId

Reimplemented from PackagerVersions.

Definition at line 11 of file PackagerInstall.php.


The documentation for this class was generated from the following file:
Generated on Wed Aug 22 19:34:50 2007 for bitweaver by  doxygen 1.5.2