PHP 8.5.0 Beta 1 available for testing

Voting

: zero plus two?
(Example: nine)

The Note You're Voting On

ricardo at forleven dot com
8 years ago
class Search extends Solr
{
protected $searchEngine;

function __construct()
{
$this->searchEngine = $this->connect();
}

public function checkAlive()
{
$searchEngine = $this->searchEngine;

if($searchEngine->ping())
{
return true;
}
else
{
return false;
}
}
}

<< Back to user notes page

To Top