public function getPageHead()
    {
        Container::get('hooks')->fire('model.index.get_page_head_start');

        if (ForumSettings::get('o_feed_type') == '1') {
            $page_head = ['feed' => '<link rel="alternate" type="application/rss+xml" 
            href="'.Router::pathFor('extern').'?action=feed&amp;type=rss" title="'.
                __('RSS active topics feed').'" />'];
        } elseif (ForumSettings::get('o_feed_type') == '2') {
            $page_head = ['feed' => '<link rel="alternate" type="application/atom+xml" 
            href="'.Router::pathFor('extern').'?action=feed&amp;type=atom" title="'.
                __('Atom active topics feed').'" />'];
        }

        $page_head = Container::get('hooks')->fire('model.index.get_page_head', $page_head);

        return $page_head;
    }
public function getPageHead()
    {
        Container::get('hooks')->fire('model.index.get_page_head_start');

        if (ForumSettings::get('o_feed_type') == '1') {
            $page_head = ['feed' => '<link rel="alternate" type="application/rss+xml" 
            href="'.Router::pathFor('extern').'?action=feed&amp;type=rss" title="'.
                __('RSS active topics feed').'" />'];
        } elseif (ForumSettings::get('o_feed_type') == '2') {
            $page_head = ['feed' => '<link rel="alternate" type="application/atom+xml" 
            href="'.Router::pathFor('extern').'?action=feed&amp;type=atom" title="'.
                __('Atom active topics feed').'" />'];
        }

        $page_head = Container::get('hooks')->fire('model.index.get_page_head', $page_head);

        return $page_head;
    }
public function getPageHead ( ) { Container :: get ( 'hooks' ) -> fire ( 'model.index.get_page_head_start' ) ; if ( ForumSettings :: get ( 'o_feed_type' ) == '1' ) { $ page_head = [ 'feed' => '<link rel="alternate" type="application/rss+xml" 
            href="' . Router :: pathFor ( 'extern' ) . '?action=feed&amp;type=rss" title="' . __ ( 'RSS active topics feed' ) . '" />' ] ; } elseif ( ForumSettings :: get ( 'o_feed_type' ) == '2' ) { $ page_head = [ 'feed' => '<link rel="alternate" type="application/atom+xml" 
            href="' . Router :: pathFor ( 'extern' ) . '?action=feed&amp;type=atom" title="' . __ ( 'Atom active topics feed' ) . '" />' ] ; } $ page_head = Container :: get ( 'hooks' ) -> fire ( 'model.index.get_page_head' , $ page_head ) ; return $ page_head ; }
Returns page head
Returns page head