Actions

API17

JAdapter::setAdapter

From Joomla! Documentation

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]

public function 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 on line 97 of libraries/joomla/base/adapter.php
  • Since Joomla 11.1

See also

  • Joomla 11.1 JAdapter::setAdapter source code on BitBucket
  • Joomla 11.1 Class JAdapter
  • Joomla 11.1 Subpackage Base
  • Other versions of JAdapter::setAdapter

SeeAlso:JAdapter::setAdapter [Edit See Also]

User contributed notes

<CodeExamplesForm />