PHP Class QPackageManagerUpload, qcodo

Inheritance: extends QPackageManager
Show file Open project: qcodo/qcodo Class Usage Examples

Protected Properties

Property Type Description
$blnValidCredential
$blnValidPackage
$blnVersionMatch
$intNewVersionNumber
$objChangedFileArray
$objNewFileArray
$strCurrentDevelopmentVersion
$strCurrentStableVersion
$strNotes
$strPassword
$strSeenRealPath
$strSettingsFilePath

Public Methods

Method Description
CheckCredentialsAndPackage ( )
CheckVersion ( )
GetInvalidCredentialOrPackageErrorText ( )
GetNonLiveText ( )
GetVersionMismatchWarningText ( )
PerformUpload ( )
__construct ( $strPackageName, $strUsername, $strPassword, $blnLive, $blnForce, $strSettingsFilePath, $strNotes, $strNotesPath )

Protected Methods

Method Description
ExecuteUpload ( )
ProcessDirectory ( string $strPath, QDirectoryToken $objDirectoryToken ) : void Given the path of a directory, process all the directories and files in it that have NOT been seen in SeenRealPath.
ProcessFile ( $strFullPath, QDirectoryToken $objDirectoryToken )
SetupNotes ( $strNotes, $strNotesPath )
SetupSettings ( )

Method Details

CheckCredentialsAndPackage() public method

CheckVersion() public method

public CheckVersion ( )

ExecuteUpload() protected method

protected ExecuteUpload ( )

GetInvalidCredentialOrPackageErrorText() public method

GetNonLiveText() public method

public GetNonLiveText ( )

GetVersionMismatchWarningText() public method

PerformUpload() public method

public PerformUpload ( )

ProcessDirectory() protected method

Assumes: the path is a valid directory that exists and has NOT been SeenRealPath
protected ProcessDirectory ( string $strPath, QDirectoryToken $objDirectoryToken ) : void
$strPath string
$objDirectoryToken QDirectoryToken
return void

ProcessFile() protected method

protected ProcessFile ( $strFullPath, QDirectoryToken $objDirectoryToken )
$objDirectoryToken QDirectoryToken

SetupNotes() protected method

protected SetupNotes ( $strNotes, $strNotesPath )

SetupSettings() protected method

protected SetupSettings ( )

__construct() public method

public __construct ( $strPackageName, $strUsername, $strPassword, $blnLive, $blnForce, $strSettingsFilePath, $strNotes, $strNotesPath )

Property Details

$blnValidCredential protected property

protected $blnValidCredential

$blnValidPackage protected property

protected $blnValidPackage

$blnVersionMatch protected property

protected $blnVersionMatch

$intNewVersionNumber protected property

protected $intNewVersionNumber

$objChangedFileArray protected property

protected $objChangedFileArray

$objNewFileArray protected property

protected $objNewFileArray

$strCurrentDevelopmentVersion protected property

protected $strCurrentDevelopmentVersion

$strCurrentStableVersion protected property

protected $strCurrentStableVersion

$strNotes protected property

protected $strNotes

$strPassword protected property

protected $strPassword

$strSeenRealPath protected property

protected $strSeenRealPath

$strSettingsFilePath protected property

protected $strSettingsFilePath