Class CriticalI_Remote_PackageVersion

Description

CriticalI_Remote_PackageVersion is a CriticalI_Package_Version that is available from one or more remote repositories.

Located in /Core/lib/CriticalI/Remote/PackageVersion.php (line 10)

CriticalI_Package_Version
   |
   --CriticalI_Remote_PackageVersion
Variable Summary
 mixed $remotes
 mixed $wrapper
Method Summary
 CriticalI_Remote_PackageVersion __construct (CriticalI_Project_Package $package, array $entry, CriticalI_Remote_Repository $remote)
 void fetch_to (string $filename)
 CriticalI_Package_Wrapper wrapper ([boolean $reload = false])
Variables
Methods
Constructor __construct (line 22)

Constructor

  • access: public
CriticalI_Remote_PackageVersion __construct (CriticalI_Project_Package $package, array $entry, CriticalI_Remote_Repository $remote)

Redefinition of:
CriticalI_Package_Version::__construct()
Constructor
add_remote (line 42)

Add a remote that provides the package to the list

  • access: public
void add_remote (CriticalI_Remote_Repository $remote)
fetch_to (line 50)

Fetches this package version from one of our available remotes.

  • access: public
void fetch_to (string $filename)
  • string $filename: The file name where the package should be stored
wrapper (line 76)

Return this package's wrapper. This will fetch the remote package to a temporary file and return the wrapper object for it.

  • access: public
CriticalI_Package_Wrapper wrapper ([boolean $reload = false])
  • boolean $reload: If true, force the package to be freshly downloaded (not cached)

Inherited Methods

Inherited From CriticalI_Package_Version

 CriticalI_Package_Version::__construct()
 CriticalI_Package_Version::canonify_version()
 CriticalI_Package_Version::canonify_version_specification()
 CriticalI_Package_Version::compare_versions()
 CriticalI_Package_Version::compare_version_arrays()
 CriticalI_Package_Version::compare_version_number()
 CriticalI_Package_Version::compare_version_specification()
 CriticalI_Package_Version::compare_version_strings()
 CriticalI_Package_Version::installation_directory()
 CriticalI_Package_Version::package()
 CriticalI_Package_Version::property()
 CriticalI_Package_Version::version()
 CriticalI_Package_Version::version_string()

Documentation generated on Wed, 25 Apr 2012 09:46:44 -0700 by phpDocumentor 1.4.3