Permalink
Browse files

Move shell task code into its proper location under the vendors folder

so that CakePHP will recognize and find the task. Added usage
information.
  • Loading branch information...
1 parent 6e1cf0f commit ca894b2e8bc0c65d9af47026c760e6369de3e159 @devlance devlance committed Nov 4, 2011
Showing with 10 additions and 0 deletions.
  1. 0 events/shells/empty
  2. +10 −0 plugins/eventful/{ → vendors}/shells/tasks/event.php
View
0 events/shells/empty
No changes.
View
10 plugins/eventful/shells/tasks/event.php → ...s/eventful/vendors/shells/tasks/event.php
@@ -6,10 +6,20 @@
* @author Gustavo Dutra <mechamo@gustavodutra.com>
* @package eventful
* @subpackage shells
+ * @modifiedby $LastChangedBy$
+ * @lastmodified $Date: 2011-11-04 16:00:58 $
*/
/**
* EventTask
+ *
+ * Usage:
+ *
+ * In your shell add:
+ * public $tasks = array('Event');
+ *
+ * Currently Cake finds the Tasks without prefixing the plugin name. In the future
+ * the above might need to be specified as array('Eventful.Event').
*/
class EventTask extends Shell {

0 comments on commit ca894b2

Please sign in to comment.