Lines Matching refs:end
92 $end = strpos ($xmlCode, '</'.$element.'>', $pos);
93 if ($end === false) {
96 $end += 3 + $elementLength;
99 $endPos = $end;
100 return substr ($xmlCode, $start, $end-$start);
161 $end = strpos ($xmlCode, '</'.$element.'>', $pos);
162 if ($end === false) {
165 $contentEnd = $end - 1;
166 $end += 3 + $elementLength;
169 $endPos = $end;
251 $end = strpos ($xmlCode, '</'.$found_element.'>', $pos);
252 if ($end === false) {
255 $contentEnd = $end - 1;
256 $end += 3 + $elementLength;
259 $endPos = $end;
339 $end = strpos ($xmlCode, '</'.$found_element.'>', $pos);
340 if ($end === false) {
343 $end += 3 + $elementLength;
346 $endPos = $end;
348 return substr ($xmlCode, $start, $end-$start);
372 $end = strpos ($xmlCode, '</'.$element.'>');
373 if ($end === false) {
378 return substr_replace ($xmlCode, $replacement, $start, $end-$start+$end_length);