API17

JDatabaseMySQL::select: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
Select a database for use.  
Select a database for use.  


{{Description:JDatabaseMySQL::select}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDatabaseMySQL::select|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Since===
{{JVer|11.1 }}
===Synopsis===
<source lang="php">
<source lang="php">
public JDatabaseMySQL->select ($database)
public function select ($database)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 22: Line 17:
|-
|-
|$database
|$database
|string
|
|
|
|
|
|-
|-
|}
|}
===Returns===
* '''Returns''' bool True if the database was successfully selected.
boolean True if the database has been successfully selected
* '''Defined''' on line 503 of libraries/joomla/database/database/mysql.php
===Defined in===
* '''Since''' {{JVer|11.1 }}
libraries/joomla/database/database/mysql.php
===Referenced by===
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
* {{JVer|11.1}} '''JDatabaseMySQL::select source code''' on [[jplatform:database/database/mysql.php#cl-495|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::select|Edit See Also]]<nowiki>]</nowiki>
* {{JVer|11.1}} Class [[API17:JDatabaseMySQL|JDatabaseMySQL]]
</span>
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[JDatabaseMySQL/11.1|JDatabaseMySQL]]
* [[API17:JDatabaseMySQL::select|Other versions of JDatabaseMySQL::select]]
* [[JDatabaseMySQL::select|Other versions of this method]]
 
{{SeeAlso:JDatabaseMySQL::select}}
 
===Examples===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDatabaseMySQL::select
category=JDatabaseMySQL::select
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JDatabaseMySQL]][[Category:JDatabaseMySQL::select]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:39, 25 March 2017

Joomla 11.1 JDatabaseMySQL::select

Description

Select a database for use.


public function select ($database)
Parameter Type Default Description
$database
  • Returns bool True if the database was successfully selected.
  • Defined on line 503 of libraries/joomla/database/database/mysql.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples