@@ 101-108 (lines=8) @@ | ||
98 | * @param $lines |
|
99 | * @return string |
|
100 | */ |
|
101 | public function _added($lines) |
|
102 | { |
|
103 | array_walk($lines, array(&$this, '_encode')); |
|
104 | $lines[0] = $this->_ins_prefix . $lines[0]; |
|
105 | $lines[count($lines) - 1] .= $this->_ins_suffix; |
|
106 | ||
107 | return $this->_lines($lines, ' ', false); |
|
108 | } |
|
109 | ||
110 | /** |
|
111 | * @param $lines |
|
@@ 115-122 (lines=8) @@ | ||
112 | * @param bool $words |
|
113 | * @return string |
|
114 | */ |
|
115 | public function _deleted($lines, $words = false) |
|
116 | { |
|
117 | array_walk($lines, array(&$this, '_encode')); |
|
118 | $lines[0] = $this->_del_prefix . $lines[0]; |
|
119 | $lines[count($lines) - 1] .= $this->_del_suffix; |
|
120 | ||
121 | return $this->_lines($lines, ' ', false); |
|
122 | } |
|
123 | ||
124 | /** |
|
125 | * @param $orig |