CriticalI_ChangeManager_PlannerA Planner is used to construct a CriticalI_ChangeManager_Plan for making changes to a repository or project.
Located in /Core/lib/CriticalI/ChangeManager/Planner.php (line 39)
| Class | Description |
|---|---|
CriticalI_ChangeManager_RepositoryPlanner
|
A CriticalI_ChangeManager_Planner specifically for planning changes to |
CriticalI_Project_ChangePlanner
|
A CriticalI_ChangeManager_Planner specifically for planning changes to |
CriticalI_ChangeManager_Plan
eval_requirements
(CriticalI_ChangeManager_Plan $plan, boolean $evalDepends, [boolean $upgrade = false])
CriticalI_ChangeManager_Plan
eval_upgrade
(CriticalI_ChangeManager_Plan $plan, array $packages, array $versions, boolean $evalDepends)
CriticalI_ChangeManager_Plan
install_plan
(mixed $packageName, [mixed $version = null], [boolean $evalDepends = true])
CriticalI_ChangeManager_Plan
remove_plan
(mixed $packageName, [mixed $version = null], [boolean $evalDepends = true])
boolean
satisfies_requirement
(string $package, string $version, [CriticalI_ChangeManager_Plan $plan = null])
CriticalI_ChangeManager_Plan
upgrade_plan
(mixed $packageName, [mixed $version = null], [boolean $evalDepends = true])
Constructor __construct (line 50)
Constructor
eval_requirements (line 223)
Evaluate the requirements of a plan by adding packages to meet the requirements.
eval_upgrade (line 299)
Evaluate an upgrade request for a set of packages.
installed_package_instance (line 536)
Return the named CriticalI_Package_Version instance from the installed list.
install_plan (line 75)
Create a plan for installing the specified package or packages.
A few notes on the usage of the parameters. `packageName` may be a string specifying a single package or an array of package names. Likewise `version` may be a single version specification string or an array of version specifications. When `packageName` is a single string, `version` must also be a single string, and when `packageName` is an array, `version` must either be an array of the same size or a single string (indicating the same version specification applies to packages). If no version specification is provided, the specification "*" (meaning any version) is used.
is_exact_or_newer_version_installed (line 468)
Determine if a specific package version or newer is already installed.
is_exact_version_installed (line 453)
Determine if a specific package version is already installed.
is_installed (line 440)
Determine if a package by the same name is already installed.
list_missing_dependencies (line 558)
Return the list of dependencies that are not fulfilled in the system represented by the current installation and the given plan.
make_install_specification (line 195)
Return the version specification as one suitable for an install requirement
mark_upgradable (line 486)
Add the dependencies of a package to a list of upgradable packages
matching_versions (line 396)
Return the list of suitable package versions for installation matching the given package name and version specification.
normalize_package_args (line 174)
Normalize $packageName and $version arguments as passed to public methods
remove_closest (line 504)
Add the closest matching installed package to the remove list
remove_plan (line 108)
Create a plan for removing the specified package or packages.
See install_plan() for more information on the parameter format.
satisfies_requirement (line 377)
Determine if the installed set of packages satisfy the requirement for the named package and version.
try_add (line 261)
Clone a package and attempt to add a package to it
upgrade_plan (line 140)
Create a plan for upgrading the specified package or packages.
See install_plan() for more information on the parameter format.
will_conflict (line 424)
Determine if a conflicting package is already installed (or, optionally, will be installed).
Documentation generated on Wed, 25 Apr 2012 09:46:44 -0700 by phpDocumentor 1.4.3