Hi,
Did you ever find a good solution to this?
I'm trying to create a good shell interface for my application, but
the Google
machine is not very responsive on my queries. And the cake
documentation is
a little sparse on cake console issues.

On Oct 14, 6:41 pm, vb13 <[email protected]> wrote:
> I have a number of shell scripts and they share common functions so I
> though it would be smart to have a common base class MyShell that
> extends Shell and have all my classes extend MyShell. Well, it turns
> out if I do so, initialize() method of subclasses is not getting
> called. See line 316 in the Shell Dispatched class ...                        
>                   if
> (strtolower(get_parent_class($shell)) == 'shell') {
>                                                         $shell->initialize();
>
>                                                         
> $shell->loadTasks();...
>
> Why is it so? Is it not a good idea to subclass cake Shells, Tasks
> etc.?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to