API17

JDatabaseMySQL::select: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Layout updates
Doxiki2 (talk | contribs)
Updated to r1448:247ba8d88526
Line 8: Line 8:
<nowiki>[</nowiki>[[Description:JDatabaseMySQL::select|Edit Descripton]]<nowiki>]</nowiki>
<nowiki>[</nowiki>[[Description:JDatabaseMySQL::select|Edit Descripton]]<nowiki>]</nowiki>
</span>
</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 19:
|-
|-
|$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 (line 129)
* see source code in [[jplatform:database/database/mysql.php#cl-129|BitBucket]]
===Referenced by===
===See also===
===See also===
* {{JVer|11.1}} '''JDatabaseMySQL::select source code''' on [[jplatform:database/database/mysql.php#cl-495|BitBucket]]
* {{JVer|11.1}} Class [[JDatabaseMySQL/11.1|JDatabaseMySQL]]
* {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]]
* [[JDatabaseMySQL::select|Other versions of JDatabaseMySQL::select]]
{{SeeAlso:JDatabaseMySQL::select}}
<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::select|Edit See Also]]<nowiki>]</nowiki>
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::select|Edit See Also]]<nowiki>]</nowiki>
</span>
</span>
* [[JDatabaseMySQL/11.1|JDatabaseMySQL]]
===User contributed notes===
* [[JDatabaseMySQL::select|Other versions of this method]]
{{SeeAlso:JDatabaseMySQL::select}}
===Examples===
<CodeExamplesForm />
<CodeExamplesForm />
<dpl>
<dpl>
Line 48: Line 44:
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JDatabaseMySQL]][[Category:JDatabaseMySQL::select]]</noinclude>
<noinclude>[[Category:JDatabaseMySQL]][[Category:JDatabaseMySQL::select]]</noinclude>

Revision as of 01:32, 28 April 2011

Joomla 11.1 JDatabaseMySQL::select

Description

Select a database for use.

Template:Description:JDatabaseMySQL::select [Edit Descripton]

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

Template:SeeAlso:JDatabaseMySQL::select [Edit See Also]

User contributed notes

<CodeExamplesForm />