Closes the cursor, enabling the statement to be executed again.

@return	boolean
508038
public function closeCursor()
	{
		if($this->isFetched == false)
		{
			throw new LikePDOException("There is no fetch statement");
			return false;
		}
		else
		{
			do
			{
				while($this->fetch());
					
				if(!$this->nextRowset())
					break;
					
			} while(true);
			
			return true;
		}
	}
645166
public function closeCursor()
    {
        set_error_handler(array($this->_pdooci,"errorHandler"));
        try {
            \oci_free_statement($this->_stmt);
        } catch (\Exception $e) {
            throw new \PDOException($e->getMessage());
        }
        restore_error_handler();
        $this->_stmt = null;
    }
929563
public function rewind()
    {
        $cursor = $this;
        $this->retry(function() use ($cursor) {
            $cursor->getRiakCursor()->rewind();
        }, false);
    }
114174
public function close()
        {
            if (is_resource($this->fd)) {
                $this->send(self::TYPE_DISCONNECT);
                fclose($this->fd);

                return true;
            }

            return false;
        }
662446
public function close()
    {
        if ($this->_master) {
            if ($this->pdo === $this->_master->pdo) {
                $this->pdo = null;
            }

            $this->_master->close();
            $this->_master = false;
        }

        if ($this->pdo !== null) {
            Log::debug('Closing DB connection: ' . $this->dsn . __METHOD__);
            $this->pdo = null;
            $this->_schema = null;
            $this->_transaction = null;
        }

        if ($this->_slave) {
            $this->_slave->close();
            $this->_slave = false;
        }
    }
297915
public function close()
    {
        unset($this->settings['getrow']);

        if( isset($this->getJavascriptValidationFunction) )
        {
            $this->outputElement .= Inclusion\View::use('JavascriptValidationFunctions', $this->getJavascriptValidationFunction, true, __DIR__ . '/');

            $this->getJavascriptValidationFunction = NULL;
        }

        $this->outputElement .= '</form>' . EOL;

        return $this;
    }
945588
public static function closeDbConnection()
    {
        if (isset(self::$dbLink)) {
            $dbConn = self::$dbLink;
            $dbConn->close();
            self::$dbLink = null;
        }
        
        return null;
    }
256351
public function close()
    {
        $this->handlerLock = true;

        while (count($this->handlers) > 0) {
            array_pop($this->handlers);
            $this->stacks['delete']->pop();
            $this->stacks['clean']->pop();
            $this->stacks['create']->pop();
            $this->stacks['read']->pop();
            $this->stacks['write']->pop();
        }

        $this->handlerLock = false;
        return true;
    }
950815
public function closeCursor()
    {
        if (!$this->_stmt) {
            return false;
        }

        sqlsrv_free_stmt($this->_stmt);
        $this->_stmt = false;
        return true;
    }
356513
public function close()
		{
			if (isset($this->serial))
			{
				dio_close($this->serial);
				unset($this->serial);
			}
			return true;
		}
1232546
public function close()
    {
        if ($this->opened < 1) {
            throw new LogicException('It is not possible to close a never opened block.');
        }
        $args = $this->args;
        $this->opened--;
        $this->opened === 0 and $this->args = [];
        array_unshift($args, ob_get_clean());
        $block = call_user_func_array($this->callback, $args);

        return is_string($block) ? $block : '';
    }
568495
public function closeCursor()
    {
        try {
            return $this->_stmt->closeCursor();
        } catch (PDOException $e) {
            // require_once 'Zend/Db/Statement/Exception.php';
            throw new Zend_Db_Statement_Exception($e->getMessage(), $e->getCode(), $e);
        }
    }
1178526
public function disconnect()
    {
        if (!$this->connected || !$this->server || ($this->mode ==  "mysql" && $this->server->connect_error)) {
            return false;
        }

        $result = false;

        switch ($this->mode) {

            case "mysql":
            case "sqlite":
                $result = $this->server->close();
                break;

            case "postgres":
            case "redshift":
                $result = pg_close($this->server);
                break;

            case "odbc":
                odbc_close($this->server);
                $result = true;
                break;

            case "mssql":
                $result = mssql_close($this->server);
                break;

            case "mssqlsrv":
                $result = sqlsrv_close($this->server);
                break;
        }

        # If the disconnect was successful, set class property to reflect it
        if ($result) {
            $this->connected = false;
        }

        return $result;
    }
433943
public function writeClose()
    {
        if (!$this->id) {
            return false;
        }
        // allow session to be closed, even if write fails. Otherwise destructor will try again.
        $wasSaved = $this->saveData();
        $this->handler->close();
        $this->id = '';
        $this->data = null;
        return $wasSaved;
    }
1029846
public function close()
    {
        $this->isOpen = false;
        $this->_programmingLanguage = str_replace(array('/', '\\', '..'), '', $this->_programmingLanguage);
        $currentContent = $this->_currentContent;
        $this->_currentContent = '';
        // remove the last carriage-return
        $last2 = substr($currentContent, -2);
        if ($last2 === "\r\n" || $last2 == "\n\r")
            $currentContent = substr($currentContent, 0, -2);
        else if (isset($last2[1]) && ($last2[1] == "\r" || $last2[1] == "\n"))
            $currentContent = substr($currentContent, 0, -1);
        // if no programming language was defined, it's a verbatim block
        if (empty($this->_programmingLanguage)) {
            return ('<pre>' . htmlspecialchars($currentContent) . '</pre>');
        }

        // is syntax highlighting disabled?
        if (!$this->engine->getConfig()->getParam('codeSyntaxHighlight') || !class_exists('\GeSHi'))
            return ('<pre><code class="language-' . $this->_programmingLanguage . '">' . htmlspecialchars($currentContent) . '</code></pre>');
        // syntax highlighting
        //if (!isset(self::$_geshi)) {
        self::$_geshi = new GeSHi('', '');
        //}
        self::$_geshi->set_source($currentContent);
        self::$_geshi->set_language($this->_programmingLanguage, true);
        self::$_geshi->enable_classes($this->engine->getConfig()->getParam('codeInlineStyles') ? false : true);
        //self::$_geshi->enable_line_numbers($this->engine->getConfig()->getParam('codeLineNumbers') ? GESHI_NORMAL_LINE_NUMBERS : GESHI_NO_LINE_NUMBERS);
        $result = self::$_geshi->parse_code();

        $start = '<pre class="' . $this->_programmingLanguage . '"';
        if (substr($result, 0, strlen($start)) == $start)
            $result = '<pre class="' . $this->_programmingLanguage . ' language-' . $this->_programmingLanguage . '"' . substr($result, strlen($start));

        $result .= '<style type="text/css">' . self::$_geshi->get_stylesheet(true) . '</style>';
        return ($result);
    }
817611
public function close(): void
    {
        if (!sqlsrv_free_stmt($this->stmt)) {
            throw new SqlException('Failed to close statement', sqlsrv_errors(), $this->query, $this->params);
        }
    }
773630
public function close()
    {
        if ($this->hasHandler()) {
            pg_close($this->handler);
            $this->handler = null;
            $this->is_closed = true;
        }

        return $this;
    }