Inheritance diagram for ConsoleShell:

Public Member Functions | |
| __isValidModel ($modelToCheck) | |
| __loadRoutes () | |
| help () | |
| initialize () | |
| main ($command=null) | |
Public Attributes | |
| $associations = array('hasOne', 'hasMany', 'belongsTo', 'hasAndBelongsToMany') | |
| $badCommandChars = array('$', ';') | |
| $models = array() | |
Definition at line 31 of file console.php.
| ConsoleShell::__isValidModel | ( | $ | modelToCheck | ) |
Tells if the specified model is included in the list of available models
| string | $modelToCheck |
Definition at line 308 of file console.php.
Referenced by main().
| ConsoleShell::__loadRoutes | ( | ) |
Reloads the routes configuration from config/routes.php, and compiles all routes found
Definition at line 318 of file console.php.
References Router::getInstance().
Referenced by initialize(), and main().
| ConsoleShell::help | ( | ) |
Prints the help message
public
Reimplemented from Shell.
Definition at line 82 of file console.php.
References main().
Referenced by main().
| ConsoleShell::initialize | ( | ) |
Override intialize of the Shell
public
Reimplemented from Shell.
Definition at line 58 of file console.php.
References __loadRoutes(), camelize(), App::import(), Configure::listObjects(), Shell::out(), and r().
| ConsoleShell::main | ( | $ | command = null |
) |
Override main() to handle action
public
Definition at line 90 of file console.php.
References Shell::$command, __isValidModel(), __loadRoutes(), a(), config(), e(), Set::extract(), Router::getInstance(), help(), Shell::hr(), Shell::in(), name(), Shell::out(), and Router::parse().
Referenced by help().
| ConsoleShell::$associations = array('hasOne', 'hasMany', 'belongsTo', 'hasAndBelongsToMany') |
Definition at line 38 of file console.php.
| ConsoleShell::$badCommandChars = array('$', ';') |
Definition at line 45 of file console.php.
| ConsoleShell::$models = array() |
Definition at line 52 of file console.php.
1.4.7