Class ConsoleShell
Provides a very basic 'interactive' console for CakePHP apps.
- AppShell
 - 
			
ConsoleShell			
			
			
		 
		
		
		
		Package: Cake\Console\Command
Copyright: Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/Console/Command/ConsoleShell.php
	
	Copyright: Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/Console/Command/ConsoleShell.php
Properties summary
- 
			
$associationspublicarrayAvailable binding types - 
			
$badCommandCharspublicarrayChars that describe invalid commands - 
			
$modelspublicarrayAvailable models 
Method Summary
- 
			
_isValidModel() protected
Tells if the specified model is included in the list of available models - 
			
_loadRoutes() protected
Reloads the routes configuration from app/Config/routes.php, and compiles all routes found
 - 
			
getOptionParser() public
 - 
			
help() public
Prints the help message - 
			
main() public
Override main() to handle action - 
			
startup() public
Override startup of the Shell 
Method Detail
_isValidModel() protected ¶
_isValidModel( string $modelToCheck )
Tells if the specified model is included in the list of available models
Parameters
- string $modelToCheck
 
Returns
					boolean
true if is an available model, false otherwise
				
		true if is an available model, false otherwise
_loadRoutes() protected ¶
_loadRoutes( )
Reloads the routes configuration from app/Config/routes.php, and compiles all routes found
Returns
					boolean
True if config reload was a success, otherwise false
				
		True if config reload was a success, otherwise false
Properties detail
$associations ¶
				public
			array
		
		Available binding types
array('hasOne', 'hasMany', 'belongsTo', 'hasAndBelongsToMany')