CriticalI_Package_VersionA Version is the most granular form of a package. It represents a single installed version.
Located in /Core/lib/CriticalI/Package/Version.php (line 10)
| Class | Description |
|---|---|
CriticalI_Project_PackageVersion
|
CriticalI_Project_PackageVersion is a CriticalI_Package_Version that has been installed within a project. |
CriticalI_Remote_PackageVersion
|
CriticalI_Remote_PackageVersion is a CriticalI_Package_Version that is available from one or more remote repositories. |
CriticalI_Package_Version
__construct
(CriticalI_Package $package, int $major, int $minor, int $revision, string $dir)
static canonify_version (line 155)
Utility function to return the canonical three-part version number
from a string
static canonify_version_specification (line 171)
Returns a comparable version spec object given a version dependency string. See CriticalI_Package::satisify_dependency for formation information.
static compare_versions (line 178)
Comparison function for sorting Version objects
static compare_version_arrays (line 192)
Comparison function for sorting canonified version arrays
static compare_version_strings (line 185)
Comparison function for sorting version strings
Constructor __construct (line 27)
Constructor
compare_version_number (line 89)
Compares a canonified version array to this version. Returns -1, 0, or -1 when this version is less than, equal, or greater than the supplied version, respectively.
compare_version_specification (line 112)
Compares a canonified version dependency specification to this version. Returns -1, 0, or -1 when this version is less than, within, or greater than the specified range, respectively.
installation_directory (line 48)
Return the installation directory (relative to CRITICALI_ROOT)
property (line 59)
Return the value of a property for this package version
version (line 70)
Return the version number as an array with three elements (major, minor, and revision numbers).
version_string (line 78)
Return the version number as a string.
Documentation generated on Wed, 25 Apr 2012 09:46:46 -0700 by phpDocumentor 1.4.3