API15

API15:JDatabaseMySQLi/connected

From Joomla! Documentation

Revision as of 22:15, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Determines if the connection to the server is active. <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JDatabaseMySQLi/connected|Edi...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Determines if the connection to the server is active.

[Edit Descripton]

Template:Description:JDatabaseMySQLi/connected

Syntax

connected()


Returns

boolean

Defined in

libraries/joomla/database/database/mysqli.php

Importing

jimport( 'joomla.database.database.mysqli' );

Source Body

function connected()
{
        return $this->_resource->ping();
}

[Edit See Also] Template:SeeAlso:JDatabaseMySQLi/connected

Examples

<CodeExamplesForm />