protected function _layoutDefault()
    {
        $story = $this->_state->getItem();

        $helper = $this->getTemplate()->getHelper('parser');

        $data = $helper->parse($story, $this->actor);

        $data['subject'] = $story->subject;

        $data['timestamp'] = $story->creationTime;

        $data['story'] = $story;

        $data['entity'] = $story;

        $viewer = get_viewer();

        $commands = $this->getTemplate()->renderHelper('toolbar.commands', 'list');
        $commands->offsetUnset('comment');

        $this->set($data);
    }
protected function _layoutDefault()
    {
        $story = $this->_state->getItem();

        $helper = $this->getTemplate()->getHelper('parser');

        $data = $helper->parse($story, $this->actor);

        $data['subject'] = $story->subject;

        $data['timestamp'] = $story->creationTime;

        $data['story'] = $story;

        $data['entity'] = $story;

        $viewer = get_viewer();

        $commands = $this->getTemplate()->renderHelper('toolbar.commands', 'list');
        $commands->offsetUnset('comment');

        $this->set($data);
    }
protected function _layoutDefault ( ) { $ story = $ this -> _state -> getItem ( ) ; $ helper = $ this -> getTemplate ( ) -> getHelper ( 'parser' ) ; $ data = $ helper -> parse ( $ story , $ this -> actor ) ; $ data [ 'subject' ] = $ story -> subject ; $ data [ 'timestamp' ] = $ story -> creationTime ; $ data [ 'story' ] = $ story ; $ data [ 'entity' ] = $ story ; $ viewer = get_viewer ( ) ; $ commands = $ this -> getTemplate ( ) -> renderHelper ( 'toolbar.commands' , 'list' ) ; $ commands -> offsetUnset ( 'comment' ) ; $ this -> set ( $ data ) ; }
Called before default layout.
Called before default layout .