Class ApplicationRepository

Description

Implements interfaces:

An application repository information

This class provides access to meta information about application repositories. This class reads a directory containing applications and creates ApplicationRepositoryEntry object of them. Entries are cached once read.

Implements IteratorAggregate which lets you walk through the application entries.

This class stores static instances of all requested repositories and tries to cache the ApplicationRepositoryEntry objects.

  • todo: Build appinfo schema

Located in /phpsatk-lib/global/org.eenterphace.sat.app.repository/application.repository.php (line 44)


	
			
Method Summary
ApplicationRepository __construct (string $repository)
ApplicationRepository get (string $repository)
string getChecksum ()
ArrayIterator getIterator ()
Methods
Constructor __construct (line 94)

Reads an application repository

If no changes were made since the last run a cached version will be used. Detection wheter a directory contains an application is based on the existance of an application.xml file.

  • access: protected
ApplicationRepository __construct (string $repository)
  • string $repository: Path to application repository
get (line 61)

Gets an instance for a given repository.

You can't instanciate this class in a other way.

  • access: public
  • static:
ApplicationRepository get (string $repository)
  • string $repository: Path to a application repository.
getChecksum (line 172)

Gets the checksum of the initialized repository

  • access: public
string getChecksum ()
getIterator (line 163)

Fetches an iterator over all repository entries

  • access: public
ArrayIterator getIterator ()

Documentation generated on Mon, 21 May 2007 10:34:39 +0200 by phpDocumentor 1.3.0RC5