JDatabaseMySQLi/connected: Difference between revisions
From Joomla! Documentation
m removing red link to edit, no existant pages |
m preparing for archive only |
||
| Line 34: | Line 34: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=connected | category=connected | ||
category=JDatabaseMySQLi | category=JDatabaseMySQLi | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 00:28, 25 March 2017
Description
Determines if the connection to the server is active.
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
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();
}
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
Code Examples