CriticalI_ProjectRepresents a project directory set up for managing with criticali.
Located in /Core/lib/CriticalI/Project.php (line 9)
void
install_property_defaults
(CriticalI_Project_InstallOperation $install, CriticalI_Package $pkg)
Constructor __construct (line 23)
Constructor
add (line 200)
Add a package to the project.
This is a low-level method. It does not perform any error checking or dependency resolution. Create a CriticalI_ChangeManager_Plan and pass it to the perform method for higher level functionality.
add_init_file (line 591)
Add a file to the list in the init_files property. This method also prevents files from being added to the list more than once.
directory (line 44)
Returns the project's directory
directory_entry_count (line 509)
Count the number of entries in a directory (not counting self and parent)
install_dependency_list (line 377)
Add dependencies for a newly installed package to this project's properties
install_files (line 281)
Install the files for a package
install_init_files (line 325)
Add any specified classes to the init_files property for a package
install_package_in_list (line 394)
Add the given package to our list of installed packages
install_property_defaults (line 311)
Set any property defaults for a package
install_uninstallers (line 414)
Add any specified classes to the uninstallers property for a package
is_absolute (line 498)
Test a path to see if it is absolute
is_installed (line 151)
Test to see if a package is already installed
packages (line 127)
Return a list of installed packages and their versions. Data is
returned as an array:
package_list (line 138)
Return the list of installed packages as a CriticalI_Project_PackageList (which contains CriticalI_Package objects instead of just a hash of strings).
perform (line 179)
Perform the set of operations prescribed by a CriticalI_ChangeManager_Plan
private_directory (line 54)
Returns the project's private directory.
For outside public projects, that's the root. For inside public projects, that's a directory called "private".
property (line 112)
Return the value of a property for this project
public_directory (line 68)
Returns the project's public directory.
For outside public projects, that's a directory called "public". For inside public projects, that's the root.
remove (line 242)
Remove a package from the project.
This is a low-level method. It does not perform any error checking or dependency resolution. Create a CriticalI_ChangeManager_Plan and pass it to the perform method for higher level functionality.
remove_init_file (line 607)
Remove a file from the list in the init_files property.
run_installers_for (line 346)
Run any specified installers for a package
run_uninstallers_for (line 440)
Run any registered uninstallers for a package
set_status_listener (line 93)
Set the status listener
status_listener (line 86)
Return the status listener
type (line 79)
Returns the project's type
uninstall_dependency_list (line 529)
Remove dependencies for a package from this project's properties
uninstall_files (line 473)
Remove all of the files in a listing. Any directories in the listing are removed if they are empty after first removing all other files in the list.
uninstall_init_script_listings (line 567)
Remove any listings in the init_files property for the removed files listed in $manifest
uninstall_package_in_list (line 541)
Remove the given package from our list of installed packages
write_properties (line 100)
Write the properties file out
Documentation generated on Wed, 25 Apr 2012 09:46:44 -0700 by phpDocumentor 1.4.3