-
$commands
-
-
$configWriter
-
-
$connection
-
-
calculate_column_width
-
Calculate the width to use for a set of columns
-
canonify_version
-
Utility function to return the canonical three-part version number
-
canonify_version_specification
-
Returns a comparable version spec object given a version dependency string. See CriticalI_Package::satisify_dependency for formation information.
-
class_name
-
Convert a path into the class name that should be contained within the file
-
cleanup
-
Called automatically on shutdown to clean up after the lock file.
-
clean_name
-
Return a cleaned version of this packages name with spaces and special characters removed.
-
clean_root_directory
-
Return a cleaned version of the global variable $CRITICALI_ROOT for
-
clear
-
Forces CriticalI_Package_List to skip loading of packages and present an empty list for subsequent class to get.
-
commandVersions
-
Return the list of package versions that declare commands
-
COMMAND_GLOB
-
-
compare_versions
-
Comparison function for sorting Version objects
-
compare_version_arrays
-
Comparison function for sorting canonified version arrays
-
compare_version_number
-
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
-
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.
-
compare_version_strings
-
Comparison function for sorting version strings
-
CONFIG_VERSION
-
-
connection
-
Return the database connection
-
construct_list
-
Build the list of packages from our remotes
-
construct_list
-
Build the list of packages from our Project
-
copy
-
Copy a file into the project. Creates any needed directories. If a
-
command_autoloader.php
-
-
ClassUtils.php
-
-
Command.php
-
-
ConfigFile.php
-
-
ConfigFileError.php
-
-
ChangePlanner.php
-
-
ConfigFileWriter.php
-
-
CORE_COMMAND_GLOB
-
-
count
-
Return the count of versions of this package
-
create
-
Utility for creating a new Wrapper from a package version
-
create_lock_file
-
Called internally to create the lock file
-
CriticalI_ChangeManager_HasDependentError
-
Indicates a proposed change cannot be made due to unfulfilled dependencies.
-
CriticalI_ChangeManager_InvalidUpgradeError
-
Indicates an attempt to operate on an unknown/uninstalled package
-
CriticalI_ChangeManager_NotInstalledError
-
Indicates an attempt to operate on an unknown/uninstalled package
-
CriticalI_ChangeManager_Plan
-
A Plan represents a planned set of Package_Version changes for a repository or project.
-
CriticalI_ChangeManager_Planner
-
A Planner is used to construct a CriticalI_ChangeManager_Plan for making changes to a repository or project.
-
CriticalI_ChangeManager_PlanRequirement
-
Used internally to model requirements
-
CriticalI_ChangeManager_RepositoryPlanner
-
A CriticalI_ChangeManager_Planner specifically for planning changes to
-
CriticalI_ChangeManager_ResolutionError
-
Indicates a set of packages and correct dependencies could not be resolved from the available set. This is due either to missing packages or conflicts.
-
CriticalI_ClassUtils
-
Utilities for working with classes and files containing them
-
CriticalI_Command
-
A CriticalI_Command implements a command that can be used with the command-line criticali utility. This is the base class which all implemented commands must extend.
-
CriticalI_Command_List
-
CriticalI_Command_List is the collection of installed packages. It is a
-
CriticalI_Command_ProjectEnvironment
-
A base class for writing commands that must run within a project's environment (as opposed to just within the repository environment).
-
CriticalI_Command_TableFormatter
-
Formats information in an ASCII table for output by command line utilities.
-
CriticalI_Command_TableFormatter_Column
-
Internal class used by CriticalI_Command_TableFormatter to represent a
-
CriticalI_ConfigFile
-
Utilities for working with config files used by criticali.
-
CriticalI_ConfigFileError
-
Indicates an exception generated by a ConfigFile operation.
-
CriticalI_ConfigFileReadError
-
Indicates a config file could not be successfully read
-
CriticalI_ConfigFileVersionError
-
Indicates a config file specified an incorrect version
-
CriticalI_ConfigFileWriteError
-
Indicates a config file could not be successfully written
-
CriticalI_DBTestCase
-
The DBTestCase class exists as a convenience for writing test cases
-
CriticalI_Defaults
-
A collection of built-in default values which are shared between classes.
-
CriticalI_Globber
-
A utility for searching the file system for filenames matching a
-
CriticalI_Hook_Install
-
Repository install hook for criticali.
-
CriticalI_InstallHook
-
The interface that must be implemented by a repository install hook.
-
CriticalI_InvalidOptionArgumentError
-
Exception thrown for invalid argument provided
-
CriticalI_MissingOptionArgumentError
-
Exception thrown for missing argument
-
CriticalI_MissingPackageError
-
Indicates a required package could not be found
-
CriticalI_MissingPackageVersionError
-
Indicates a required package version could not be found
-
CriticalI_Option
-
An processed command line option
-
CriticalI_Options
-
Processes command line options.
-
CriticalI_OptionSpec
-
Specification for a command line option
-
CriticalI_Package
-
A Package is a collection of one or more installed package versions.
-
CriticalI_Package_Directory
-
A package directory represents an uninstalled directory for a package.
-
CriticalI_Package_List
-
CriticalI_Package_List is the collection of installed packages. It is a
-
CriticalI_Package_StatusListener
-
Receives informational messages from a package-related operation on
-
CriticalI_Package_Version
-
A Version is the most granular form of a package. It represents a single installed version.
-
CriticalI_Package_VersionSpec
-
Internally used to represent a parsed version dependency specification
-
CriticalI_Package_Wrapper
-
A Wrapper contains an archived package version.
-
CriticalI_Package_ZipError
-
Indicates a zip file related error
-
CriticalI_Project
-
Represents a project directory set up for managing with criticali.
-
CriticalI_Project_ChangePlanner
-
A CriticalI_ChangeManager_Planner specifically for planning changes to
-
CriticalI_Project_ConfigFileWriter
-
Handles writing new default values to a config.php file
-
CriticalI_Project_InstallHook
-
The interface that must be implemented by a project install hook.
-
CriticalI_Project_InstallOperation
-
Utilities for tracking and performing install operations for a given package in a project.
-
CriticalI_Project_Manager
-
-
CriticalI_Project_NotInstalledError
-
Thrown if a removal fails due to the package not being installed.
-
CriticalI_Project_Package
-
CriticalI_Project_Package is a CriticalI_Package that has been installed within a project.
-
CriticalI_Project_PackageList
-
CriticalI_Project_PackageList is the collection of installed packages
-
CriticalI_Project_PackageVersion
-
CriticalI_Project_PackageVersion is a CriticalI_Package_Version that has been installed within a project.
-
CriticalI_Project_StatusListener
-
Receives informational messages from a project operation
-
CriticalI_Project_UninstallHook
-
The interface that must be implemented by a project uninstall hook.
-
CriticalI_Property
-
CriticalI_Property is a class for working with user-level properties defined within the repository.
-
CriticalI_Remote_Package
-
CriticalI_Remote_Package is a collection of CriticalI_Package versions available from one or more remote repository.
-
CriticalI_Remote_PackageList
-
CriticalI_Remote_PackageList is the collection of available packages
-
CriticalI_Remote_PackageVersion
-
CriticalI_Remote_PackageVersion is a CriticalI_Package_Version that is available from one or more remote repositories.
-
CriticalI_Remote_Repository
-
CriticalI_Remote_Repository is used to interact with a remote collection of packages available for installation.
-
CriticalI_RepositoryLock
-
Interface for acquiring locks for accessing or modifying the repository.
-
CriticalI_TestCase
-
This class exists as a convenience for writing PHPUnit tests for the
-
CriticalI_UninstallHook
-
The interface that must be implemented by a repository uninstall hook.
-
CriticalI_UnknownOptionError
-
Exception thrown for unknown/unsupported options
-
CriticalI_UnknownPackageError
-
Indicates an attempt to operate on an unknown/uninstalled package
-
CriticalI_UnknownPackageVersionError
-
Indicates an attempt to operate on an unknown/uninstalled package
-
CriticalI_UsageError
-
General usage exceptions
-
CriticalI_Util
-
A generic collection of utilities used by multiple classes.
-
$index
-
-
$installedList
-
-
InvalidUpgradeError.php
-
-
Install.php
-
-
InstallHook.php
-
-
InstallHook.php
-
-
InstallOperation.php
-
-
index
-
Returns the index of packages available from the remote
-
index_of_package
-
Search an array for a matching package (any version)
-
index_of_requirement
-
Search the requirements array for a matching package and version
-
index_of_version
-
Returns the numeric index of a given version number, or false if it does not exist.
-
index_of_version
-
Search an array for a matching package version number
-
index_of_version_specification
-
Search an array for a matching package version specification
-
info
-
Normal informational message
-
info
-
Normal informational message
-
info_status
-
Send an informational status message
-
init
-
Initialize a project
-
init_environment
-
Set up the environment to pull in the project settings. Generally you will want to call this at the beginning of your run_command method. The parameter it accepts is the package directory. If no directory is given, the current working directory is assumed.
-
INIT_HOOKS
-
-
init_schema
-
Set up the schema, if needed
-
INSIDE_PUBLIC
-
-
install
-
Invoked when the package is installed in a project
-
install
-
Invoked when the package is installed in the repository
-
install
-
Invoked when the package is installed in the repository
-
installation_directory
-
Return the installation directory (relative to CRITICALI_ROOT)
-
installed_package_instance
-
Return the named CriticalI_Package_Version instance from the installed list.
-
install_dependency_list
-
Add dependencies for a newly installed package to this project's properties
-
install_files
-
Install the files for a package
-
install_init_files
-
Add any specified classes to the init_files property for a package
-
install_package_in_list
-
Add the given package to our list of installed packages
-
install_plan
-
Create a plan for installing the specified package or packages.
-
install_property_defaults
-
Set any property defaults for a package
-
install_uninstallers
-
Add any specified classes to the uninstallers property for a package
-
is_absolute
-
Test a path to see if it is absolute
-
is_absolute
-
Test a path to see if it is absolute
-
is_exact_or_newer_version_installed
-
Determine if a specific package version or newer is already installed.
-
is_exact_version_installed
-
Determine if a specific package version is already installed.
-
is_installed
-
Determine if a package by the same name is already installed.
-
is_installed
-
Test to see if a package is already installed
-
is_next_option
-
Peeks at the next argument to see if it is an option
-
is_on_add_list
-
Determine if the given package name is to be added
-
is_on_remove_list
-
Determine if the given package version is to be removed
-
$options
-
-
$options
-
-
$options
-
-
$optionSpec
-
-
$optionSpec
-
-
$origRaw
-
-
Options.php
-
-
OptionSpec.php
-
-
offsetExists
-
Tests for existence of an array index
-
offsetExists
-
Tests for existence of an array index
-
offsetExists
-
Tests for existence of an array index
-
offsetExists
-
Tests for existence of an array index
-
offsetExists
-
Tests for existence of an array index
-
offsetExists
-
Tests for existence of an array index
-
offsetGet
-
Retrieves the package at an array index.
-
offsetGet
-
Retrieves the value at an array index.
-
offsetGet
-
Retrieves the package at an array index.
-
offsetGet
-
Retrieves the value at an array index. A numeric index returns a CriticalI_Option, a non-numeric index returns only the argument for the option.
-
offsetGet
-
Retrieves the command at an array index.
-
offsetGet
-
Retrieves the package at an array index.
-
offsetSet
-
Sets the value at an array index
-
offsetSet
-
Sets the value at an array index
-
offsetSet
-
Sets the value at an array index
-
offsetSet
-
Sets the value at an array index
-
offsetSet
-
Sets the value at an array index
-
offsetSet
-
Sets the value at an array index
-
offsetUnset
-
Deletes an entry at an array index
-
offsetUnset
-
Deletes an entry at an array index
-
offsetUnset
-
Deletes an entry at an array index
-
offsetUnset
-
Deletes an entry at an array index
-
offsetUnset
-
Deletes an entry at an array index
-
offsetUnset
-
Deletes an entry at an array index
-
oldest
-
Return the oldest version of this package
-
OPTIONAL
-
-
options_hash
-
Provides internal access to the options hash
-
OUTSIDE_PUBLIC
-
-
$package
-
-
$packageInfo
-
-
$packageList
-
-
$packageName
-
-
$packages
-
-
$packages
-
-
$packages
-
-
$packageVersion
-
-
$packageVersion
-
-
$plus
-
-
$project
-
-
$project
-
-
$project
-
-
$properties
-
-
$properties
-
-
$properties
-
-
$properties
-
-
$properties
-
-
Plan.php
-
-
Planner.php
-
-
ProjectEnvironment.php
-
-
Package.php
-
-
Package.php
-
-
PackageList.php
-
-
PackageVersion.php
-
-
Project.php
-
-
Property.php
-
-
Package.php
-
-
PackageList.php
-
-
PackageVersion.php
-
-
package
-
Return the containing package
-
packages
-
Return a list of installed packages and their versions. Data is
-
package_list
-
Return the list of installed packages as a CriticalI_Project_PackageList (which contains CriticalI_Package objects instead of just a hash of strings).
-
package_name
-
Return the contained package name
-
package_on_add_list
-
Return the CriticalI_Package_Version instance with the given name from the add list
-
package_version
-
Return the contained package version number
-
package_version
-
Return the package being installed
-
parse_option
-
Parses an option
-
parse_option_optional_arg
-
Handle an option which may take an optional argument
-
parse_option_prohibited_arg
-
Handle an option which may not have an argument
-
parse_option_required_arg
-
Handle an option which requires an argument
-
perform
-
Perform the set of operations prescribed by a CriticalI_ChangeManager_Plan
-
perform
-
Perform the set of operations prescribed by a CriticalI_ChangeManager_Plan
-
populate_versions_from_string
-
Populates the list of versions from a string containing a comma- separated list of installed version numbers.
-
pop_requirement
-
Remove and return the last requirement from the list. Returns an array whose first element is the package name and whose second element is the version specification.
-
private_directory
-
Returns the project's private directory.
-
process_arguments
-
Process the arguments
-
project
-
Return the project associated with this installation
-
PROJECT_INSTALL_HOOKS
-
-
project_private_dir
-
Return the directory that contains the non-public files for the project
-
project_public_dir
-
Return the directory that contains the public files for the project
-
PROJECT_UNINSTALL_HOOKS
-
-
prompt
-
Prompt the user and return the user's response
-
prompt_confirm
-
Prompt the user with a yes/no question and return the user's response as a boolean
-
property
-
Return the value of a property for the wrapped package version
-
property
-
Return the value of a property for this package version
-
property
-
Return the value of a property for this package version
-
property
-
Return the value of a property for this project
-
public_directory
-
Returns the project's public directory.
-
push_requirement
-
Add a requirement to the list
-
$rawFile
-
-
$rawSuffix
-
-
$remotes
-
-
$remotes
-
-
$remove
-
-
$requirements
-
-
$revision
-
-
$rightText
-
-
$rows
-
-
RepositoryPlanner.php
-
-
ResolutionError.php
-
-
Repository.php
-
-
RepositoryLock.php
-
-
read
-
Read a config file and return the resulting array of data.
-
read_lock
-
Acquire a read lock of the repository
-
READ_LOCKED
-
-
rebuild
-
Rebuild the installation list file and repopulate the list
-
recursive_list
-
Recursively list the contents of a directory
-
release
-
Release any acquired lock
-
REMOTES
-
-
remove
-
Remove (uninstall) a package version from the repository
-
remove
-
Remove a package from the project.
-
remove
-
Remove (delete) a property. The change is immediately saved to disk.
-
remove_closest
-
Add the closest matching installed package to the remove list
-
remove_from_version_list
-
Remove a version from a version list string and maintain sort order
-
remove_init_file
-
Remove a file from the list in the init_files property.
-
remove_list
-
Return the list of packages to remove
-
remove_multiple
-
Remove (delete) a set of properties. The changes are immediately saved to disk.
-
remove_package
-
Add a package to the remove list
-
remove_plan
-
Create a plan for removing the specified package or packages.
-
remove_version_from_packages_file
-
Update the installation list file by removing a single deleted package directory
-
REPOSITORY_INSTALL_HOOKS
-
-
REPOSITORY_UNINSTALL_HOOKS
-
-
REQUIRED
-
-
requirements_list
-
Return the list of requirements
-
requirement_count
-
Return the count of requirements in this plan's list
-
revert_file
-
Writes back the original file content (as it was loaded when this class was created).
-
runBare
-
Override the run method to allow additional prep
-
run_command
-
Internal implementation of the command. This must be implemented by all sub classes. The properties globalOptions, options, and args will have been populated when this method is called.
-
run_installers_for
-
Run any specified installers for a package
-
run_installers_for
-
Run any specified installers for a package
-
run_uninstallers_for
-
Run any specified uninstallers for a package
-
run_uninstallers_for
-
Run any registered uninstallers for a package