protected function _renderComposedStory($story)
    {
        $controller = $this->getService('com://site/stories.controller.story')
                            ->layout('list')
                            ->setItem($story);

        //manually set the toolbar
        $controller->toolbar = $controller->getToolbar('story');

        return  $controller->getView()->display();
    }
protected function _renderComposedStory($story)
    {
        $controller = $this->getService('com://site/stories.controller.story')
                            ->layout('list')
                            ->setItem($story);

        //manually set the toolbar
        $controller->toolbar = $controller->getToolbar('story');

        return  $controller->getView()->display();
    }
protected function _renderComposedStory ( $ story ) { $ controller = $ this -> getService ( 'com://site/stories.controller.story' ) -> layout ( 'list' ) -> setItem ( $ story ) ; //manually set the toolbar $ controller -> toolbar = $ controller -> getToolbar ( 'story' ) ; return $ controller -> getView ( ) -> display ( ) ; }
Convienet method to render a story.

@return string
Convienet method to render a story .