Difference between revisions of "JAdapter"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (preparing for archive only) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | =={{JVer|11.1}} JAdapter== | |
− | + | ===Description=== | |
− | + | ||
− | {{ | + | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | === | ||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
− | |[[JAdapter::__construct | + | |public |
+ | |[[API17:JAdapter::__construct|__construct]] | ||
|Constructor. | |Constructor. | ||
|- | |- | ||
− | |[[JAdapter::getAdapter | + | |public |
+ | |[[API17:JAdapter::getAdapter|getAdapter]] | ||
|Return an adapter. | |Return an adapter. | ||
|- | |- | ||
− | |[[JAdapter::getDBO | + | |public |
+ | |[[API17:JAdapter::getDBO|getDBO]] | ||
|Get the database connector object. | |Get the database connector object. | ||
|- | |- | ||
− | |[[JAdapter::loadAllAdapters | + | |public |
+ | |[[API17:JAdapter::loadAllAdapters|loadAllAdapters]] | ||
|Loads all adapters. | |Loads all adapters. | ||
|- | |- | ||
− | |[[JAdapter::setAdapter | + | |public |
+ | |[[API17:JAdapter::setAdapter|setAdapter]] | ||
|Set an adapter by name. | |Set an adapter by name. | ||
|- | |- | ||
|} | |} | ||
+ | * '''Defined in''' libraries/joomla/base/adapter.php | ||
+ | * '''Extends''' [[API17:JObject|JObject]] | ||
+ | * '''Extended by''' | ||
+ | ** [[API17:JInstaller|JInstaller]] | ||
+ | ** [[API17:JUpdater|JUpdater]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.base.adapter' );</source> | <source lang="php">jimport( 'joomla.base.adapter' );</source> | ||
===See also=== | ===See also=== | ||
− | * [[ | + | * {{JVer|11.1}} '''JAdapter source code''' on [[jplatform:base/adapter.php|BitBucket]] |
− | {{ | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Base|Base]] |
− | + | * [[API17:JAdapter|Other versions of JAdapter]] | |
− | + | ||
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JAdapter | category=JAdapter | ||
− | + | namespace=CodeExample | |
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 20: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[edit]
Description[edit]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Constructor. |
public | getAdapter | Return an adapter. |
public | getDBO | Get the database connector object. |
public | loadAllAdapters | Loads all adapters. |
public | setAdapter | Set an adapter by name. |
- Defined in libraries/joomla/base/adapter.php
- Extends JObject
- Extended by
Importing[edit]
jimport( 'joomla.base.adapter' );
See also[edit]
JAdapter source code on BitBucket
Subpackage Base
- Other versions of JAdapter
User contributed notes[edit]
Code Examples[edit]