JDatabaseMySQL::test: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
Test to see if the MySQL connector is available. | Test to see if the MySQL connector is available. | ||
<source lang="php"> | <source lang="php"> | ||
public | public static function test () | ||
</source> | </source> | ||
* '''Returns''' bool True on success, false otherwise. | |||
* '''Defined''' on line 129 of libraries/joomla/database/database/mysql.php | |||
* '''Since''' {{JVer|11.1 }} | |||
libraries/joomla/database/database/mysql.php | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabaseMySQL::test source code''' on [[jplatform:database/database/mysql.php#cl-121|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JDatabaseMySQL|JDatabaseMySQL]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | |||
* | * [[API17:JDatabaseMySQL::test|Other versions of JDatabaseMySQL::test]] | ||
* [[JDatabaseMySQL::test|Other versions of | |||
===Examples=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseMySQL::test | category=JDatabaseMySQL::test | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:39, 25 March 2017
JDatabaseMySQL::test
Description
Test to see if the MySQL connector is available.
public static function test ()
- Returns bool True on success, false otherwise.
- Defined on line 129 of libraries/joomla/database/database/mysql.php
- Since

See also
JDatabaseMySQL::test source code on BitBucket
Class JDatabaseMySQL
Subpackage Database- Other versions of JDatabaseMySQL::test
User contributed notes
Code Examples