Actions

API17

Difference between revisions of "JDatabaseMySQL:: construct"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 2: Line 2:
 
=={{JVer|11.1}} JDatabaseMySQL::__construct==
 
=={{JVer|11.1}} JDatabaseMySQL::__construct==
 
===Description===
 
===Description===
Database object constructor.  
+
Constructor.  
  
 
{{Description:JDatabaseMySQL::__construct}}
 
{{Description:JDatabaseMySQL::__construct}}
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JDatabaseMySQL::__construct|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JDatabaseMySQL::__construct|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JDatabaseMySQL::__construct ($options)
+
protected function __construct ($options)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 24: Line 21:
 
|array
 
|array
 
|
 
|
|List of options used to configure the connection  
+
|List of options used to configure the connection
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' void
 
+
* '''Defined''' on line 57 of libraries/joomla/database/database/mysql.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/database/database/mysql.php (line 50)
+
* see source code in [[jplatform:database/database/mysql.php#cl-50|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JDatabaseMySQL::__construct source code''' on [[jplatform:database/database/mysql.php#cl-49|BitBucket]]
 +
* {{JVer|11.1}} Class [[JDatabaseMySQL/11.1|JDatabaseMySQL]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]]
 +
* [[JDatabaseMySQL::__construct|Other versions of JDatabaseMySQL::__construct]]
 +
{{SeeAlso:JDatabaseMySQL::__construct}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::__construct|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::__construct|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JDatabaseMySQL/11.1|JDatabaseMySQL]]
+
===User contributed notes===
* [[JDatabaseMySQL::__construct|Other versions of this method]]
+
{{SeeAlso:JDatabaseMySQL::__construct}}
+
===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::__construct]]</noinclude>
 
<noinclude>[[Category:JDatabaseMySQL]][[Category:JDatabaseMySQL::__construct]]</noinclude>

Revision as of 20:31, 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 JDatabaseMySQL::__construct

Description

Constructor.

Description:JDatabaseMySQL:: construct [Edit Descripton]

protected function __construct ($options)
Parameter Type Default Description
$options array List of options used to configure the connection
  • Returns void
  • Defined on line 57 of libraries/joomla/database/database/mysql.php
  • Since Joomla 11.1

See also

SeeAlso:JDatabaseMySQL:: construct [Edit See Also]

User contributed notes

<CodeExamplesForm />