public function freeResults()
    {
        if (is_a($this->getResultId(), "mysqli_result")) {
            mysqli_free_result($this->getResultId());
            $this->setResultId(FALSE);
        }
    }
public function freeResults()
    {
        if (is_a($this->getResultId(), "mysqli_result")) {
            mysqli_free_result($this->getResultId());
            $this->setResultId(FALSE);
        }
    }
public function freeResults ( ) { if ( is_a ( $ this -> getResultId ( ) , "mysqli_result" ) ) { mysqli_free_result ( $ this -> getResultId ( ) ) ; $ this -> setResultId ( FALSE ) ; } }
Frees the result

@return void
Frees the result