Lines Matching defs:ret
352 $ret = '';
355 $ret .= $n->outertext();
358 return $ret;
394 $ret = '';
397 $ret = $this->dom->nodes[$this->_[HDOM_INFO_BEGIN]]->makeup();
403 $ret .= $this->_[HDOM_INFO_INNER];
407 $ret .= $this->convert_text($n->outertext());
412 $ret .= '</' . $this->tag . '>';
415 return $ret;
433 $ret = '';
444 $ret = trim($ret) . "\n\n";
447 $ret .= $this->convert_text($n->text());
453 $ret .= $this->dom->default_span_text;
457 return $ret;
462 $ret = $this->innertext();
463 $ret = str_ireplace('<![CDATA[', '', $ret);
464 $ret = str_replace(']]>', '', $ret);
465 return $ret;
475 $ret = '<' . $this->tag;
484 $ret .= $this->_[HDOM_INFO_SPACE][$i][0];
488 $ret .= $key;
497 $ret .= $key
507 $ret = $this->dom->restore_noise($ret);
508 return $ret . $this->_[HDOM_INFO_ENDSPACE] . '>';
530 $ret = array();
535 $n->seek($selectors[$c][$l], $ret, $cmd, $lowercase);
538 $head = $ret;
563 protected function seek($selector, &$ret, $parent_cmd, $lowercase = false)
616 $ret[array_search($node, $this->dom->nodes, true)] = 1;
776 if ($pass) $ret[$node->_[HDOM_INFO_BEGIN]] = 1;
781 $debug_object->debug_log(1, 'EXIT - ret: ', $ret);
1185 $ret = $this->outertext();
1188 file_put_contents($filepath, $ret, LOCK_EX);
1191 return $ret;
1579 $ret = $this->root->innertext();
1580 if ($filepath !== '') { file_put_contents($filepath, $ret, LOCK_EX); }
1581 return $ret;
2186 $ret = substr($this->doc, $this->pos, $this->size - $this->pos);
2189 return $ret;