Core/Framework/Page/Template.php
final protected function getHeadLinks($data_only = false)
    {
        $link_stack = $this->page->link->getLinkStack();

        if ($data_only) {
            return $link_stack;
        }

        $html = '';

        foreach ($link_stack as $link) {

            $html .= PHP_EOL . '<link';

            foreach ($link as $attribute => $value) {
                $html .= ' ' . $attribute . '="' . $value . '"';
            }

            $html .= '>';
        }

        return $html;
    }
final protected function getHeadLinks($data_only = false)
    {
        $link_stack = $this->page->link->getLinkStack();

        if ($data_only) {
            return $link_stack;
        }

        $html = '';

        foreach ($link_stack as $link) {

            $html .= PHP_EOL . '<link';

            foreach ($link as $attribute => $value) {
                $html .= ' ' . $attribute . '="' . $value . '"';
            }

            $html .= '>';
        }

        return $html;
    }
final protected function getHeadLinks ( $ data_only = false ) { $ link_stack = $ this -> page -> link -> getLinkStack ( ) ; if ( $ data_only ) { return $ link_stack ; } $ html = '' ; foreach ( $ link_stack as $ link ) { $ html .= PHP_EOL . '<link' ; foreach ( $ link as $ attribute => $ value ) { $ html .= ' ' . $ attribute . '="' . $ value . '"' ; } $ html .= '>' ; } return $ html ; }
Create and returns head link elements

@param boolean $data_only
Set to true if you want to get get only the data without a generated html

@return string|array
Create and returns head link elements