Core/Framework/Page/Template.php
final protected function getMeta($data_only = false)
    {
        $meta_stack = $this->page->meta->getTags();

        if ($data_only) {
            return $meta_stack;
        }

        $html = '';

        foreach ($meta_stack as $tag) {

            $html .= PHP_EOL . '<meta';

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

            $html .= '>';
        }

        return $html;
    }
final protected function getMeta($data_only = false)
    {
        $meta_stack = $this->page->meta->getTags();

        if ($data_only) {
            return $meta_stack;
        }

        $html = '';

        foreach ($meta_stack as $tag) {

            $html .= PHP_EOL . '<meta';

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

            $html .= '>';
        }

        return $html;
    }
final protected function getMeta ( $ data_only = false ) { $ meta_stack = $ this -> page -> meta -> getTags ( ) ; if ( $ data_only ) { return $ meta_stack ; } $ html = '' ; foreach ( $ meta_stack as $ tag ) { $ html .= PHP_EOL . '<meta' ; foreach ( $ tag as $ attribute => $ value ) { $ html .= ' ' . $ attribute . '="' . $ value . '"' ; } $ html .= '>' ; } return $ html ; }
Creates and returns meta tags

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

@return string|array
Creates and returns meta tags