CriticalI_Package_ListImplements interfaces:
CriticalI_Package_List is the collection of installed packages. It is a
singleton whose instance can be obtained by calling the static function list(). The actual instance behaves like many other objects in the system in that it is a first class object that behaves like an array. Packages are keyed in the list by their name.
Located in /Core/lib/CriticalI/Package/List.php (line 13)
static add (line 194)
Add (install) a new wrapped package to the repository
This is a low level method that does not perform any dependency checking. For higher level functionality and validation, construct a CriticalI_ChangeManager_Plan and pass it to the perform() method.
static add_package_to_autoloader (line 125)
Convenience method for including a given package and its dependencies in the runtime autoload directory list. The package must be installed for this to work (otherwise an exception will result).
static add_to_version_list (line 429)
Add a version to a version list string and maintain sort order
static add_version_to_packages_file (line 349)
Update the installation list file with a single added package directory
static clean_root_directory (line 485)
Return a cleaned version of the global variable $CRITICALI_ROOT for
use in installations
static clear (line 64)
Forces CriticalI_Package_List to skip loading of packages and present an empty list for subsequent class to get.
static debug_status (line 641)
Send a debug-level status message
static delete_all_and_remove_directory (line 458)
Equivalent to performing "rm -rf" on a directory
static info_status (line 630)
Send an informational status message
static perform (line 155)
Perform the set of operations prescribed by a CriticalI_ChangeManager_Plan
static rebuild (line 71)
Rebuild the installation list file and repopulate the list
static remove (line 247)
Remove (uninstall) a package version from the repository
This is a low level method that does not perform any dependency checking. For higher level functionality and validation, construct a CriticalI_ChangeManager_Plan and pass it to the perform() method.
static remove_from_version_list (line 442)
Remove a version from a version list string and maintain sort order
static remove_version_from_packages_file (line 380)
Update the installation list file by removing a single deleted package directory
static run_installers_for (line 495)
Run any specified installers for a package
static set_status_listener (line 46)
Set the status listener
static system_upgrade (line 290)
Upgrade the criticali system to a new wrapped package
This is a low level method that does not perform any dependency checking. For higher level functionality and validation, construct a CriticalI_ChangeManager_Plan and pass it to the perform() method.
static update_system_in_packages_file (line 408)
Update the criticali system version listed in the package directory
Constructor __construct (line 25)
Constructor.
This class may not be directly instantiated.
commandVersions (line 599)
Return the list of package versions that declare commands
find_matching_versions (line 607)
Searches the list of packages to assemble a collection of Versions from an array of specs.
getIterator (line 556)
Return an iterator for the package list
offsetExists (line 565)
Tests for existence of an array index
offsetGet (line 574)
Retrieves the package at an array index.
offsetSet (line 583)
Sets the value at an array index
offsetUnset (line 591)
Deletes an entry at an array index
run_uninstallers_for (line 525)
Run any specified uninstallers for a package
Documentation generated on Wed, 25 Apr 2012 09:46:43 -0700 by phpDocumentor 1.4.3