PHP Class QPackageManagerUpload, qcodo

Inheritance: extends QPackageManager
显示文件 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_oe property

protected $blnValidCredential

$blnValidPackage protected_oe property

protected $blnValidPackage

$blnVersionMatch protected_oe property

protected $blnVersionMatch

$intNewVersionNumber protected_oe property

protected $intNewVersionNumber

$objChangedFileArray protected_oe property

protected $objChangedFileArray

$objNewFileArray protected_oe property

protected $objNewFileArray

$strCurrentDevelopmentVersion protected_oe property

protected $strCurrentDevelopmentVersion

$strCurrentStableVersion protected_oe property

protected $strCurrentStableVersion

$strNotes protected_oe property

protected $strNotes

$strPassword protected_oe property

protected $strPassword

$strSeenRealPath protected_oe property

protected $strSeenRealPath

$strSettingsFilePath protected_oe property

protected $strSettingsFilePath