Class CriticalI_Project_PackageList

Description

Implements interfaces:

  • IteratorAggregate (internal interface)
  • ArrayAccess (internal interface)

CriticalI_Project_PackageList is the collection of installed packages

in a project. This class behaves like many other objects in the system in that it is a first class object that behaves like an array. Similar to CriticalI_Package_List, Packages are keyed in the list by their name.

Located in /Core/lib/CriticalI/Project/PackageList.php (line 13)


	
			
Variable Summary
 mixed $packages
 mixed $project
Method Summary
 CriticalI_Project_PackageList __construct (CriticalI_Project $project)
 void construct_list ()
 ArrayIterator getIterator ()
 boolean offsetExists (string $idx)
 CriticalI_Package offsetGet (string $idx)
 void offsetSet (string $idx, CriticalI_Package $value)
 void offsetUnset (string $idx)
Variables
mixed $packages (line 16)
  • access: protected
mixed $project (line 15)
  • access: protected
Methods
Constructor __construct (line 23)

Constructor.

  • access: public
CriticalI_Project_PackageList __construct (CriticalI_Project $project)
construct_list (line 33)

Build the list of packages from our Project

  • access: protected
void construct_list ()
getIterator (line 68)

Return an iterator for the package list

  • access: public
ArrayIterator getIterator ()

Implementation of:
IteratorAggregate::getIterator
offsetExists (line 77)

Tests for existence of an array index

  • access: public
boolean offsetExists (string $idx)
  • string $idx: The index to test

Implementation of:
ArrayAccess::offsetExists
offsetGet (line 86)

Retrieves the package at an array index.

  • access: public
CriticalI_Package offsetGet (string $idx)
  • string $idx: The index to get

Implementation of:
ArrayAccess::offsetGet
offsetSet (line 95)

Sets the value at an array index

  • access: public
void offsetSet (string $idx, CriticalI_Package $value)

Implementation of:
ArrayAccess::offsetSet
offsetUnset (line 103)

Deletes an entry at an array index

  • access: public
void offsetUnset (string $idx)
  • string $idx: The index to unset

Implementation of:
ArrayAccess::offsetUnset

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