PluginTask Class Reference

Inheritance diagram for PluginTask:

Shell Object

List of all members.


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 (  ) 

initialize

Returns:
void

Reimplemented from Shell.

Definition at line 56 of file plugin.php.


Member Data Documentation

PluginTask::$path = null

Definition at line 50 of file plugin.php.

PluginTask::$tasks = array('Model', 'Controller', 'View')

Tasks

Reimplemented from Shell.

Definition at line 43 of file plugin.php.


The documentation for this class was generated from the following file: