public function showAction()
    {
        $showSnippets = $this->showSnippets;
        $first = array_shift($showSnippets);
        $next  = $showSnippets;
        
        $this->showSnippets = $first;
        parent::showAction();
        
        $this->showParameters['tagName'] = 'h3';
        
        $this->showSnippets = $next;
        parent::showAction();
        
        $this->showSnippets = array_unshift($next, $first);
    }
public function showAction()
    {
        $showSnippets = $this->showSnippets;
        $first = array_shift($showSnippets);
        $next  = $showSnippets;
        
        $this->showSnippets = $first;
        parent::showAction();
        
        $this->showParameters['tagName'] = 'h3';
        
        $this->showSnippets = $next;
        parent::showAction();
        
        $this->showSnippets = array_unshift($next, $first);
    }
public function showAction ( ) { $ showSnippets = $ this -> showSnippets ; $ first = array_shift ( $ showSnippets ) ; $ next = $ showSnippets ; $ this -> showSnippets = $ first ; parent :: showAction ( ) ; $ this -> showParameters [ 'tagName' ] = 'h3' ; $ this -> showSnippets = $ next ; parent :: showAction ( ) ; $ this -> showSnippets = array_unshift ( $ next , $ first ) ; }
Pass the h3 tag to all snippets except the first one
Pass the h3 tag to all snippets except the first one