Class CriticalI_Remote_Repository

Description

CriticalI_Remote_Repository is used to interact with a remote collection of packages available for installation.

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


	
			
Variable Summary
 static mixed $defaultRemotes
 mixed $index
 mixed $url
Method Summary
 static void default_remotes ()
 CriticalI_Remote_Repository __construct (string $url)
 void fetch_package (string $packageName, string $packageVersion, string $filename)
 array index ([boolean $reload = false])
Variables
static mixed $defaultRemotes = null (line 12)
  • access: protected
mixed $index (line 15)
  • access: protected
mixed $url (line 14)
  • access: protected
Methods
static default_remotes (line 86)

Return the default list of remote repositories

  • access: public
void default_remotes ()
Constructor __construct (line 22)

Constructor

  • access: public
CriticalI_Remote_Repository __construct (string $url)
  • string $url: The base URL of the repository
fetch_package (line 63)

Fetches the named package version from the remote and stores it at the provided location.

  • access: public
void fetch_package (string $packageName, string $packageVersion, string $filename)
  • string $packageName: The name of the package to retrieve
  • string $packageVersion: The version of the package to retrieve
  • string $filename: The file name where the package should be stored
index (line 32)

Returns the index of packages available from the remote

  • access: public
array index ([boolean $reload = false])
  • boolean $reload: If true, forces the index to be reloaded (a cached version cannot be returned)

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