PluginTask Class Reference

Inheritance diagram for PluginTask:

Shell Object List of all members.

Public Member Functions

 __interactive ($plugin=null)
 bake ($plugin)
 execute ()
 help ()
 initialize ()

Public Attributes

 $path = null
 $tasks = array('Model', 'Controller', 'View')

Detailed Description

Definition at line 36 of file plugin.php.


Member Function Documentation

PluginTask::__interactive ( plugin = null  ) 

Interactive interface

private

Returns:
void

Definition at line 110 of file plugin.php.

References __(), bake(), Shell::err(), Shell::in(), and name().

Referenced by execute().

PluginTask::bake ( plugin  ) 

Bake the plugin, create directories and files

$plugin name of the plugin in CamelCased format public

Returns:
bool

Definition at line 127 of file plugin.php.

References $out, __(), Shell::createFile(), Folder(), Shell::hr(), Shell::in(), Shell::out(), and underscore().

Referenced by __interactive().

PluginTask::execute (  ) 

Execution method always used for tasks

Returns:
void

Definition at line 62 of file plugin.php.

References __(), __interactive(), Object::_stop(), camelize(), classify(), Shell::err(), Shell::hr(), Shell::in(), Shell::out(), params(), pluralize(), and underscore().

PluginTask::help (  ) 

Help

Returns:
void public

Reimplemented from Shell.

Definition at line 189 of file plugin.php.

References Object::_stop(), Shell::hr(), and Shell::out().

PluginTask::initialize (  ) 

initialize

Returns:
void

Reimplemented from Shell.

Definition at line 54 of file plugin.php.


Member Data Documentation

PluginTask::$path = null

Definition at line 48 of file plugin.php.

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

Tasks

Reimplemented from Shell.

Definition at line 41 of file plugin.php.


The documentation for this class was generated from the following file:
Generated on Sun Nov 22 00:30:56 2009 for CakePHP 1.2.x.x (v1.2.4.8284) by doxygen 1.4.7