class PackageArchive {
/**
* path to archive
- *
* @var string
*/
protected $archive = null;
/**
* package object of an existing package
- *
- * @var Package
+ * @var wcf\data\package\Package
*/
protected $package = null;
/**
* tar archive object
- *
- * @var Tar
+ * @var wcf\system\io\Tar
*/
protected $tar = null;
/**
* general package information
- *
* @var array
*/
protected $packageInfo = array();
/**
* author information
- *
* @var array
*/
protected $authorInfo = array();
/**
* list of requirements
- *
* @var array
*/
protected $requirements = array();
/**
* list of optional packages
- *
* @var array
*/
protected $optionals = array();
/**
* list of excluded packages
- *
* @var array
*/
protected $excludedPackages = array();
/**
* list of instructions
- *
* @var array<array>
*/
protected $instructions = array(
/**
* list of php requirements
- *
* @var array<array>
*/
protected $phpRequirements = array();
/**
* default name of the package.xml file
- *
* @var string
*/
const INFO_FILE = 'package.xml';
class PackageDependencyHandler extends SingletonFactory {
/**
* cache of package dependencies
- *
* @var array
*/
protected $packageDependencyCache = null;
* @category Community Framework
*/
abstract class PackageInstallationFileHandler implements IFileHandler {
+ /**
+ * active package installation dispatcher
+ * @var wcf\system\package\PackageInstallationDispatcher
+ */
protected $packageInstallation;
/**
* Creates a new PackageInstallationFileHandler object.
*
- * @param PackageInstallationDispatcher $packageInstallation
+ * @param wcf\system\package\PackageInstallationDispatcher $packageInstallation
*/
public function __construct(PackageInstallationDispatcher $packageInstallation) {
$this->packageInstallation = $packageInstallation;
*/
class PackageInstallationNodeBuilder {
/**
- * instance of PackageInstallationDispatcher
- *
- * @var PackageInstallationDispatcher
+ * active package installation dispatcher
+ * @var wcf\system\package\PackageInstallationDispatcher
*/
public $installation = null;
/**
- * current node
- *
+ * current installation node
* @var string
*/
public $node = '';
/**
- * current parent node
- *
+ * current parent installation node
* @var string
*/
public $parentNode = '';
/**
* current sequence number within one node
- *
* @var integer
*/
public $sequenceNo = 0;
class PackageInstallationScheduler {
/**
* list of packages to update or install
- *
* @var array
*/
protected $selectedPackages = array();
/**
* list of package update server ids
- *
* @var array
*/
protected $packageUpdateServerIDs;
/**
* enables downloading of updates
- *
* @var boolean
*/
protected $download;
/**
* virtual package versions
- *
* @var array
*/
protected $virtualPackageVersions = array();
/**
* stack of package installations / updates
- *
* @var array
*/
protected $packageInstallationStack = array();
class PackageInstallationStep {
/**
* form document object
- *
- * @var FormDocument
+ * @var wcf\system\form\FormDocument
*/
protected $document = null;
/**
* next installation node
- *
* @var string
*/
protected $node = '';
/**
- * split current node
- *
+ * indicates if current current node should be splitted
* @var boolean
*/
protected $splitNode = false;
* @category Community Framework
*/
class PackageUpdateAuthorizationRequiredException extends UserException {
+ /**
+ * id of the package update server that requires authorization
+ * @var integer
+ */
protected $packageUpdateServerID = 0;
+
+ /**
+ * url of the requested package update
+ * @var string
+ */
protected $url = '';
+
+ /**
+ * package update sever response data
+ * @var array
+ */
protected $response = array();
/**