Text_Diff::getOriginal()
Gets the original set of lines.
This reconstructs the $from_lines parameter passed to the constructor.
Метод класса: Text_Diff{}
Хуков нет.
Возвращает
Массив
. The original sequence of strings.
Использование
$Text_Diff = new Text_Diff(); $Text_Diff->getOriginal();
Код Text_Diff::getOriginal() Text Diff::getOriginal WP 6.6.2
function getOriginal() { $lines = array(); foreach ($this->_edits as $edit) { if ($edit->orig) { array_splice($lines, count($lines), 0, $edit->orig); } } return $lines; }