public function fetchObject($connection, $cursor)
    {
        $result = $this->fetchAssoc($connection, $cursor);
        return $result ? (object)$result : false;
    }
public function fetchObject($connection, $cursor)
    {
        $result = $this->fetchAssoc($connection, $cursor);
        return $result ? (object)$result : false;
    }
public function fetchObject ( $ connection , $ cursor ) { $ result = $ this -> fetchAssoc ( $ connection , $ cursor ) ; return $ result ? ( object ) $ result : false ; }
Returns a next line as a object

@param mixed $connection
@param mixed $cursor
@return object|false
Returns a next line as a object