Ajax Requests

This chapter is yet to be written, but the following code demonstrates a controller and controller action that set a status message and a custom event.

<?php
    class Mymodule_SomeController extends Application_Module_Controller
    {
        public function indexAction()
        {
            $this->addStatusMessage(
                'Some status message', 
                Application_Site_Response_StatusMessage::STATUS_SUCCESS
            );

            $this->addEvent('myevent.module_mymodule')
                 ->addMemo('val1', 'Some value');
        }
    }
?>