API15

API15:JDatabaseMySQLi/connected

From Joomla! Documentation

Revision as of 14:00, 12 May 2013 by JoomlaWikiBot (talk | contribs) (removing red link to edit, no existant pages)

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

<CodeExamplesForm />