Abstract Class CriticalI_Command_ProjectEnvironment

Description

A base class for writing commands that must run within a project's environment (as opposed to just within the repository environment).

  • abstract:

Located in /Core/lib/CriticalI/Command/ProjectEnvironment.php (line 10)

CriticalI_Command
   |
   --CriticalI_Command_ProjectEnvironment
Variable Summary
 mixed $project
Method Summary
 void init_environment ([string $package_dir = null])
Variables
Methods
init_environment (line 38)

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.

  • access: protected
void init_environment ([string $package_dir = null])
  • string $package_dir: The package directory
project_private_dir (line 17)

Return the directory that contains the non-public files for the project

  • access: protected
void project_private_dir ()
project_public_dir (line 25)

Return the directory that contains the public files for the project

  • access: protected
void project_public_dir ()

Inherited Methods

Inherited From CriticalI_Command

 CriticalI_Command::__construct()
 CriticalI_Command::execute()
 CriticalI_Command::help_string()
 CriticalI_Command::name()
 CriticalI_Command::prompt()
 CriticalI_Command::prompt_confirm()
 CriticalI_Command::run_command()
 CriticalI_Command::summary()

Documentation generated on Wed, 25 Apr 2012 09:46:44 -0700 by phpDocumentor 1.4.3