Hey,

Or you could simply overload it.

$layout->sidebar = "something here";

Vince.

On Mon, Apr 13, 2009 at 1:31 PM, lightflowmark
<1...@lightflowinterrupted.com>wrote:

>
> They are placeholders for content to be later inserted into.
>
> Typically, I think, you would have actions called e.g. sidebarAction and
> navAction.  In each of these you would have a line like
>    $this->_helper->viewRenderer->setResponseSegment('sidebar');
>
>
> You would then add these actions to the actionStack, so that on any
> request,
> these two actions were called in addition to your main action.
>
> Sorry that's a bit terse, but should help you get started.
>
>
>
>
>
>
>
> Jason DeBord wrote:
> >
> >
> http://framework.zend.com/manual/en/zend.layout.quickstart.html#zend.layout.quickstart.example
> >
> > In the above link, what are <?= $this->layout()->nav ?> and <?=
> > $this->layout()->sidebar ?>
> >
> > Are they view helpers? Would someone point me to a resource describing
> how
> > to build one? For example, a template of a sidebar that would be called
> by
> > <?= $this->layout()->sidebar ?> .
> >
> > Thanks.
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/What-is-this%3A-%3C-%3D-%24this-%3Elayout%28%29-%3Esidebar--%3E-tp23011364p23020557.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


-- 
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.
Zend Framework Certified Engineer.

Reply via email to