xPDOTransportRepresents xPDOObject and related data in a serialized format for exchange.
Located in /transport/xpdotransport.class.php (line 34)
array
$attributes
= array () (line 109)
Stores various attributes about the transport package.
string
$manifestVersion
= '1.1' (line 124)
The current manifest version for this transport.
string
$path
= null (line 119)
The physical location of the transport package.
string
$signature
= null (line 99)
A unique signature to identify the package.
integer
$state
= null (line 104)
Indicates the state of the xPDOTransport instance.
array
$vehicles
= array () (line 114)
A map of object vehicles containing payloads of data for transport.
array
$_preserved
= array() (line 129)
An map of preserved objects from an install used by uninstall.
static manifestVersion (line 570)
Returns the structure version of the given manifest array.
static retrieve (line 454)
Get an existing xPDOTransport instance.
static unpack (line 517)
Unpack the package to prepare for installation and return a manifest.
static _convertManifestVer1_0 (line 595)
Converts older manifest vehicles to 1.0 format.
static _convertManifestVer1_1 (line 621)
Converts 1.0 manifest vehicles to 1.1 format.
static _pack (line 310)
Pack the resources from path relative to source into an archive with filename.
static _unpack (line 546)
Unpack a zip archive to a specified location.
get (line 154)
Get an xPDOVehicle instance from an unpacked transport package.
getAttribute (line 435)
Get an attribute of the package manifest.
install (line 182)
Install vehicles in the package into the sponsor xPDO instance.
loadPreserved (line 406)
Load preserved objects from the previous install().
put (line 257)
Wrap artifact with an xPDOVehicle and register in the transport.
registerVehicle (line 425)
Register an xPDOVehicle with this transport instance.
setAttribute (line 447)
Set an attribute of the package manifest.
store (line 501)
Store the package to a specified resource location.
uninstall (line 220)
Uninstall vehicles in the package from the sponsor xPDO instance.
Constructor __construct (line 138)
Prepares and returns a new xPDOTransport instance.
writeManifest (line 353)
Write the package manifest file.
writePreserved (line 385)
Write objects preserved during install() to file for use by uninstall().
ABORT_INSTALL_ON_VEHICLE_FAIL
= 'abort_install_on_vehicle_fail'
(line 58)
Attributes of the package that can be used to control behavior.
ACTION_INSTALL
= 0
(line 77)
Indicates an action that can be performed on the package.
Attributes of the package that can be used to control behavior.
ACTION_UNINSTALL
= 2
(line 79)
Attributes of the package that can be used to control behavior.
ACTION_UPGRADE
= 1
(line 78)
Attributes of the package that can be used to control behavior.
ARCHIVE_WITH
= 'archive_with'
(line 57)
Attributes of the package that can be used to control behavior.
ARCHIVE_WITH_DEFAULT
= 0
(line 85)
Indicates which archiving tool to use for pack()'ing and unpack()'ing the transport.
ARCHIVE_WITH_PCLZIP
= 1
(line 86)
ARCHIVE_WITH_ZIPARCHIVE
= 2
(line 87)
INSTALL_FILES
= 'install_files'
(line 54)
Attributes of the package that can be used to control behavior.
MANIFEST_ATTRIBUTES
= 'manifest-attributes'
(line 50)
Attributes of the package that can be used to control behavior.
MANIFEST_VEHICLES
= 'manifest-vehicles'
(line 51)
Attributes of the package that can be used to control behavior.
MANIFEST_VERSION
= 'manifest-version'
(line 52)
Attributes of the package that can be used to control behavior.
NATIVE_KEY
= 'native_key'
(line 40)
Attributes of the package that can be used to control behavior.
PACKAGE_ACTION
= 'package_action'
(line 46)
Attributes of the package that can be used to control behavior.
PACKAGE_STATE
= 'package_state'
(line 47)
Attributes of the package that can be used to control behavior.
PREEXISTING_MODE
= 'preexisting_mode'
(line 53)
Attributes of the package that can be used to control behavior.
PRESERVE_KEYS
= 'preserve_keys'
(line 39)
Attributes of the package that can be used to control behavior.
PRESERVE_PREEXISTING
= 0
(line 63)
Indicates how pre-existing objects are treated on install/uninstall.
Attributes of the package that can be used to control behavior.
RELATED_OBJECTS
= 'related_objects'
(line 48)
Attributes of the package that can be used to control behavior.
RELATED_OBJECT_ATTRIBUTES
= 'related_object_attributes'
(line 49)
Attributes of the package that can be used to control behavior.
REMOVE_PREEXISTING
= 1
(line 64)
Attributes of the package that can be used to control behavior.
RESOLVE_FILES
= 'resolve_files'
(line 43)
Attributes of the package that can be used to control behavior.
RESOLVE_FILES_REMOVE
= 'resolve_files_remove'
(line 44)
Attributes of the package that can be used to control behavior.
RESOLVE_PHP
= 'resolve_php'
(line 45)
Attributes of the package that can be used to control behavior.
RESTORE_PREEXISTING
= 2
(line 65)
Attributes of the package that can be used to control behavior.
STATE_INSTALLED
= 2
(line 72)
Attributes of the package that can be used to control behavior.
STATE_PACKED
= 1
(line 71)
Attributes of the package that can be used to control behavior.
STATE_UNPACKED
= 0
(line 70)
Indicates the physical state of the package.
Attributes of the package that can be used to control behavior.
UNINSTALL_FILES
= 'uninstall_files'
(line 55)
Attributes of the package that can be used to control behavior.
UNINSTALL_OBJECT
= 'uninstall_object'
(line 56)
Attributes of the package that can be used to control behavior.
UNIQUE_KEY
= 'unique_key'
(line 41)
Attributes of the package that can be used to control behavior.
UPDATE_OBJECT
= 'update_object'
(line 42)
Attributes of the package that can be used to control behavior.
Documentation generated on Mon, 27 Dec 2010 11:08:33 -0700 by phpDocumentor 1.4.3