Actions

API17

Difference between revisions of "JAdapter::setAdapter"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JAdapter->setAdapter ($name, &$adapter=null, $options=Array())
+
public JAdapter::setAdapter ($name, &$adapter=null, $options=Array())
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 40: Line 40:
 
boolean True if successful
 
boolean True if successful
 
===Defined in===
 
===Defined in===
libraries/joomla/base/adapter.php
+
libraries/joomla/base/adapter.php (line 97)
 +
* see source code in [[jplatform:base/adapter.php#cl-97|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 19:52, 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 JAdapter::setAdapter

Description

Set an adapter by name.

Description:JAdapter::setAdapter [Edit Descripton]

Since

Joomla 11.1

Synopsis

public JAdapter::setAdapter ($name, &$adapter=null, $options=Array())
Parameter Type Default Description
$name string Adapter name
&$adapter object null $adapter Adapter object
$options array Array() Adapter options

Returns

boolean True if successful

Defined in

libraries/joomla/base/adapter.php (line 97)

Referenced by

See also

[Edit See Also]

SeeAlso:JAdapter::setAdapter

Examples

<CodeExamplesForm />