JDatabaseMySQLi/connected
From Joomla! Documentation
< API15:JDatabaseMySQLi
The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
Description[edit]
Determines if the connection to the server is active.
Template:Description:JDatabaseMySQLi/connected
Syntax[edit]
connected()
Returns[edit]
boolean
Defined in[edit]
libraries/joomla/database/database/mysqli.php
Importing[edit]
jimport( 'joomla.database.database.mysqli' );
Source Body[edit]
function connected()
{
return $this->_resource->ping();
}
[Edit See Also] Template:SeeAlso:JDatabaseMySQLi/connected
Examples[edit]
<CodeExamplesForm />