ZF-3156: Create use cases and examples for ActionStack Documentation

Issue Type: Docs: Improvement Created: 2008-04-21T06:53:49.000+0000 Last Updated: 2012-08-31T08:58:26.000+0000 Status: Open Fix version(s): Reporter: Matthew Weier O'Phinney (matthew) Assignee: Ralph Schindler (ralph) Tags: - Zend_Controller

Related issues: Attachments:


Per the discussion in Chuck Hoffman's blog, we need some concrete use cases and examples for using the ActionStack to make it clear what the purpose of the component is.


Posted by julien PAULI (doctorrock83) on 2008-04-21T11:36:27.000+0000

I have a concrete example : I use ActionStack in my bootstrap file to handle header and footer actions :

<pre class="highlight">
// part of a scaffolded bootstrap file
public function initFlow()
        $actionStack = Zend_Controller_Action_HelperBroker::getStaticHelper('actionStack');
        $actionStack->direct('header','index'); // dispatch my header
        $actionStack->direct('footer','index'); // dispatch my footer
        $actionStack->direct('liste','livres'); // dispatch some kind of list
        return $this;

Some more ressources can be found on some tutorials I write :… (french)

Posted by Matthew Weier O'Phinney (matthew) on 2008-05-09T11:17:48.000+0000

Assigning to Ralph and scheduling for next mini release.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.