API15

JDatabaseMySQLi/connected: Difference between revisions

From Joomla! Documentation

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...
 
m preparing for archive only
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:


<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JDatabaseMySQLi/connected|Edit Descripton]]<nowiki>]</nowiki>
<nowiki>[<! removed edit link to red link >]</nowiki>
</span>
</span>


{{Description:JDatabaseMySQLi/connected}}
<! removed transcluded page call, red link never existed >


===Syntax===
===Syntax===
Line 29: Line 29:


<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQLi/connected|Edit See Also]]<nowiki>]</nowiki>
<nowiki>[<! removed edit link to red link >]</nowiki>
</span>
</span>
{{SeeAlso:JDatabaseMySQLi/connected}}
<! removed transcluded page call, red link never existed >


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=connected
  category=connected
  category=JDatabaseMySQLi
  category=JDatabaseMySQLi
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>
[[Category:Archived pages API15]]

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