Snoopy::fetchtext
Method of the class: Snoopy{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Snoopy = new Snoopy(); $Snoopy->fetchtext( $URI );
- $URI(required)
- .
Snoopy::fetchtext() Snoopy::fetchtext code WP 7.0
function fetchtext($URI)
{
if($this->fetch($URI))
{
if(is_array($this->results))
{
for($x=0;$x<count($this->results);$x++)
$this->results[$x] = $this->_striptext($this->results[$x]);
}
else
$this->results = $this->_striptext($this->results);
return true;
}
else
return false;
}