PluginTask Class Reference

Public Member Functions | |
| bake ($plugin) | |
| execute () | |
| help () | |
| initialize () | |
Public Attributes | |
| $path = null | |
| $tasks = array('Model', 'Controller', 'View') | |
Detailed Description
Definition at line 38 of file plugin.php.
Member Function Documentation
| PluginTask::bake | ( | $ | plugin | ) |
Bake the plugin, create directories and files
$plugin name of the plugin in CamelCased format public
- Returns:
- bool
Definition at line 129 of file plugin.php.
References $out, Shell::createFile(), Shell::hr(), Shell::in(), low(), Shell::out(), and Inflector::underscore().
| PluginTask::execute | ( | ) |
Execution method always used for tasks
- Returns:
- void
Definition at line 64 of file plugin.php.
References Object::_stop(), Inflector::camelize(), Inflector::classify(), Shell::err(), Shell::hr(), Shell::in(), Shell::out(), params(), Inflector::pluralize(), and Inflector::underscore().
| PluginTask::help | ( | ) |
Help
- Returns:
- void public
Reimplemented from Shell.
Definition at line 191 of file plugin.php.
References Object::_stop(), Shell::hr(), and Shell::out().
| PluginTask::initialize | ( | ) |
Member Data Documentation
| PluginTask::$path = null |
Definition at line 50 of file plugin.php.
| PluginTask::$tasks = array('Model', 'Controller', 'View') |
The documentation for this class was generated from the following file:
- 1.2.x.x/cake/console/libs/tasks/plugin.php