Lines Matching +refs:text +refs:line
64 public function geomFromText($text)
67 $text = strtolower($text);
68 $text = preg_replace('/<!\[cdata\[(.*?)\]\]>/s', '', $text);
72 @$xmlObject->loadXML($text);
74 throw new \Exception("Invalid GeoRSS: " . $text);
135 $lineElements = $this->xmlObject->getElementsByTagName('line');
136 foreach ($lineElements as $line) {
137 $components = $this->getPointsFromCoordinates(trim($line->firstChild->nodeValue));
235 $output = '<' . $this->nss . 'line>';
242 $output .= '</' . $this->nss . 'line>';