in
http://framework.zend.com/svn/framework/trunk/incubator/library/Zend/View/Helper/Action.php
line:
 $this->dispatcher    = clone $front->getDispatcher(); 

get error! because cloning is prohibited in the ZF 1.03!
Zend_Front_Contoller classroom.
What do you think about this?


Matthew Weier O'Phinney-3 wrote:
> 
> -- Roman1975 <[EMAIL PROTECTED]> wrote
> (on Sunday, 09 December 2007, 08:58 AM -0800):
>> Zend_Front_Controller handles communications for the session is a user
>> query
>> http://localhost/ for example, he zapusti module: index controller: index
>> action: index
>> How do if you want to help with this request had been met, even queries
>> to
>> the system? for example as a template privedenogo above query system must
>> still handle the request http://localhost/forum/top/messages/ course this
>> should not be a request through http, say it is likely to be similar to
>> _forward but this method should return a result of work: / forum / top /
>> messages /
> 
> I'm really sorry -- I just don't understand what you're asking.
> 
> If you are asking that you would like to execute a secondary action, the
> ways you can do this are either by using _forward() from a given action,
> or by using the action() view helper currently in the incubator from
> within a view script:
> 
>     <?= $this->action('messages', 'top', 'forum') ?>
> 
>> p / s
>> Why was added __clone () method in Zend_Front_Controller?
>> cloning, it is given that opportunity!
> 
> The front controller is a singleton, and as such should not allow
> cloning; to this end, we added a private __clone() method.
> 
> -- 
> Matthew Weier O'Phinney
> PHP Developer            | [EMAIL PROTECTED]
> Zend - The PHP Company   | http://www.zend.com/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/help-tp14240166s16154p14248733.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to