Difference between revisions of "JAdapter"
From Joomla! Documentation
m (→User contributed notes: moving preparation) |
m (moving preparation) |
||
Line 14: | Line 14: | ||
|- | |- | ||
|public | |public | ||
− | |[[JAdapter::__construct | + | |[[API17:JAdapter::__construct|__construct]] |
|Constructor. | |Constructor. | ||
|- | |- | ||
|public | |public | ||
− | |[[JAdapter::getAdapter | + | |[[API17:JAdapter::getAdapter|getAdapter]] |
|Return an adapter. | |Return an adapter. | ||
|- | |- | ||
|public | |public | ||
− | |[[JAdapter::getDBO | + | |[[API17:JAdapter::getDBO|getDBO]] |
|Get the database connector object. | |Get the database connector object. | ||
|- | |- | ||
|public | |public | ||
− | |[[JAdapter::loadAllAdapters | + | |[[API17:JAdapter::loadAllAdapters|loadAllAdapters]] |
|Loads all adapters. | |Loads all adapters. | ||
|- | |- | ||
|public | |public | ||
− | |[[JAdapter::setAdapter | + | |[[API17:JAdapter::setAdapter|setAdapter]] |
|Set an adapter by name. | |Set an adapter by name. | ||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/base/adapter.php | * '''Defined in''' libraries/joomla/base/adapter.php | ||
− | * '''Extends''' [[JObject | + | * '''Extends''' [[API17:JObject|JObject]] |
* '''Extended by''' | * '''Extended by''' | ||
− | ** [[JInstaller | + | ** [[API17:JInstaller|JInstaller]] |
− | ** [[JUpdater | + | ** [[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}} '''JAdapter source code''' on [[jplatform:base/adapter.php|BitBucket]] | ||
− | * {{JVer|11.1}} Subpackage [[Subpackage Base | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Base|Base]] |
− | * [[JAdapter|Other versions of JAdapter]] | + | * [[API17:JAdapter|Other versions of JAdapter]] |
{{SeeAlso:JAdapter}} | {{SeeAlso:JAdapter}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> |
Revision as of 19:37, 11 May 2013
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]
Template:Description:JAdapter [Edit Descripton]
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
Template:SeeAlso:JAdapter [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />