Difference between revisions of "JAdapter::getAdapter"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (preparing for archive only) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
Return an adapter. | Return an adapter. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function getAdapter ( |
+ | $name | ||
+ | $options=Array | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 30: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' object Adapter of type 'name' or false | |
− | object Adapter of type 'name' or false | + | * '''Defined''' on line 131 of libraries/joomla/base/adapter.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/base/adapter.php | ||
− | |||
===See also=== | ===See also=== | ||
− | + | * {{JVer|11.1}} '''JAdapter::getAdapter source code''' on [[jplatform:base/adapter.php#cl-123|BitBucket]] | |
− | + | * {{JVer|11.1}} Class [[API17:JAdapter|JAdapter]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Base|Base]] | |
− | * | + | * [[API17:JAdapter::getAdapter|Other versions of JAdapter::getAdapter]] |
− | * [[JAdapter::getAdapter|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JAdapter::getAdapter | category=JAdapter::getAdapter | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 21:18, 24 March 2017
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JAdapter::getAdapter[edit]
Description[edit]
Return an adapter.
public function getAdapter (
$name
$options=Array
)
Parameter | Type | Default | Description |
---|---|---|---|
$name | string | Name of adapter to return | |
$options | array | Array() | Adapter options |
- Returns object Adapter of type 'name' or false
- Defined on line 131 of libraries/joomla/base/adapter.php
- Since
See also[edit]
- JAdapter::getAdapter source code on BitBucket
- Class JAdapter
- Subpackage Base
- Other versions of JAdapter::getAdapter
User contributed notes[edit]
Code Examples[edit]