Text_Diff_Renderer_inline::_lines

Advertisement

Syntax Syntax

Text_Diff_Renderer_inline::_lines( $lines,  $prefix = ' ',  $encode = true )

Source Source

File: wp-includes/Text/Diff/Renderer/inline.php

    function _lines($lines, $prefix = ' ', $encode = true)
    {
        if ($encode) {
            array_walk($lines, array(&$this, '_encode'));
        }

        if ($this->_split_level == 'lines') {
            return implode("\n", $lines) . "\n";
        } else {
            return implode('', $lines);
        }
    }

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.