ConsoleShell Class Reference

Public Member Functions | |
| help () | |
| initialize () | |
| main ($command=null) | |
Public Attributes | |
| $associations = array('hasOne', 'hasMany', 'belongsTo', 'hasAndBelongsToMany') | |
| $badCommandChars = array('$', ';') | |
| $models = array() | |
Detailed Description
Definition at line 33 of file console.php.
Member Function Documentation
| ConsoleShell::help | ( | ) |
Prints the help message
public
Reimplemented from Shell.
Definition at line 83 of file console.php.
References main().
Referenced by main().
| ConsoleShell::initialize | ( | ) |
Override intialize of the Shell
public
Reimplemented from Shell.
Definition at line 60 of file console.php.
References Inflector::camelize(), App::import(), Configure::listObjects(), Shell::out(), and r().
| ConsoleShell::main | ( | $ | command = null |
) |
Override main() to handle action
public
Definition at line 91 of file console.php.
References Shell::$command, a(), config(), e(), Debugger::exportVar(), Router::getInstance(), help(), Shell::hr(), Shell::in(), Shell::out(), and Router::parse().
Referenced by help().
Member Data Documentation
| ConsoleShell::$associations = array('hasOne', 'hasMany', 'belongsTo', 'hasAndBelongsToMany') |
Definition at line 40 of file console.php.
| ConsoleShell::$badCommandChars = array('$', ';') |
Definition at line 47 of file console.php.
| ConsoleShell::$models = array() |
Definition at line 54 of file console.php.
The documentation for this class was generated from the following file:
- 1.2.x.x/cake/console/libs/console.php