Actions

API17

Difference between revisions of "JModel::setDbo"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JModel->setDbo (&$db)
+
public JModel::setDbo (&$db)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 30:
 
void
 
void
 
===Defined in===
 
===Defined in===
libraries/joomla/application/component/model.php
+
libraries/joomla/application/component/model.php (line 408)
 +
* see source code in [[jplatform:application/component/model.php#cl-408|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 20:58, 23 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 JModel::setDbo

Description

Method to set the database connector object.

Description:JModel::setDbo [Edit Descripton]

Since

Joomla 11.1

Synopsis

public JModel::setDbo (&$db)
Parameter Type Default Description
&$db object A based object

Returns

void

Defined in

libraries/joomla/application/component/model.php (line 408)

Referenced by

See also

[Edit See Also]

SeeAlso:JModel::setDbo

Examples

<CodeExamplesForm />