Actions

API17

Difference between revisions of "JDatabaseMySQLi::connected"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JDatabaseMySQLi::connected|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JDatabaseMySQLi::connected|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JDatabaseMySQLi::connected ()
+
public function connected ()
 
</source>
 
</source>
===Returns===
+
* '''Returns''' bool True if connected to the database engine.
boolean
+
* '''Defined''' on line 165 of libraries/joomla/database/database/mysqli.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/database/database/mysqli.php (line 137)
+
* see source code in [[jplatform:database/database/mysqli.php#cl-137|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JDatabaseMySQLi::connected source code''' on [[jplatform:database/database/mysqli.php#cl-157|BitBucket]]
 +
* {{JVer|11.1}} Class [[JDatabaseMySQLi/11.1|JDatabaseMySQLi]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]]
 +
* [[JDatabaseMySQLi::connected|Other versions of JDatabaseMySQLi::connected]]
 +
{{SeeAlso:JDatabaseMySQLi::connected}}
 
<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>[</nowiki>[[SeeAlso:JDatabaseMySQLi::connected|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JDatabaseMySQLi/11.1|JDatabaseMySQLi]]
+
===User contributed notes===
* [[JDatabaseMySQLi::connected|Other versions of this method]]
+
{{SeeAlso:JDatabaseMySQLi::connected}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 35: Line 31:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JDatabaseMySQLi]][[Category:JDatabaseMySQLi::connected]]</noinclude>
 
<noinclude>[[Category:JDatabaseMySQLi]][[Category:JDatabaseMySQLi::connected]]</noinclude>

Revision as of 20:32, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JDatabaseMySQLi::connected

Description

Determines if the connection to the server is active.

Description:JDatabaseMySQLi::connected [Edit Descripton]

public function connected ()
  • Returns bool True if connected to the database engine.
  • Defined on line 165 of libraries/joomla/database/database/mysqli.php
  • Since Joomla 11.1

See also

SeeAlso:JDatabaseMySQLi::connected [Edit See Also]

User contributed notes

<CodeExamplesForm />