Daniel Kipp wrote:
Unfortunately this one is also outdated! Zend_Controller_Front
isn't singleton any more. this means you can't call getInstance() on it.
But it is. The change was reverted some time ago. Please update your sources.
I'm still looking for an easy, good and router supported way
Yes you can! You may need to update your copy from SVN, but Matthew
re-introduced it.
It still works pretty well.
Cheers
Unfortunately this one is also outdated! Zend_Controller_Front
isn't singleton any more. this means you can't call getInstance()
on it.
I'm still looking for an easy,
Zend_Controller_Front is back as a singleton in SVN...
/asger
> -Oprindelig meddelelse-
> Fra: Daniel Kipp [mailto:[EMAIL PROTECTED]
> Sendt: 29. november 2006 13:41
> Til: Cameron Brunner; Zend Framework
> Emne: Re: [fw-general] url generation
>
> Unfortuna
Unfortunately this one is also outdated! Zend_Controller_Front
isn't singleton any more. this means you can't call getInstance() on it.
I'm still looking for an easy, good and router supported way for URL
creation.
Any ideas?
daniel
Cameron Brunner schrieb:
The current url helper in the inc
Hello,
Try with url helper from incubator:
incubator/library/Zend/View/Helper/Url.php
You should have incubator path in include_path and
then use this helper in the view script:
echo $this->url(Array('controller'=>'user','action'=>'edit', 'id' =>
$this->userId),'nameoftheroute');
?>
Greetin
hi all
Is there already a nice way to generate URL's in a view?
I'm using 0.2 incubator and couldn't find a solution jet.
daniel