Actions

API17

Difference between revisions of "JAdapter"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|11.1}} JAdapter==
 +
===Description===
 +
{{Description:JAdapter}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JAdapter|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JAdapter|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JAdapter}}
 
===Defined in===
 
libraries/joomla/base/adapter.php
 
* see source code in [[jplatform:base/adapter.php|BitBucket]]
 
===Subpackage===
 
[[Subpackage Base/11.1|Base]]
 
===Extends===
 
[[JObject/11.1|JObject]]
 
===Extended by===
 
* [[JInstaller/11.1|JInstaller]]
 
* [[JUpdater/11.1|JUpdater]]
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
 +
|public
 
|[[JAdapter::__construct/11.1|__construct]]
 
|[[JAdapter::__construct/11.1|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
 +
|public
 
|[[JAdapter::getAdapter/11.1|getAdapter]]
 
|[[JAdapter::getAdapter/11.1|getAdapter]]
 
|Return an adapter.  
 
|Return an adapter.  
 
|-
 
|-
 +
|public
 
|[[JAdapter::getDBO/11.1|getDBO]]
 
|[[JAdapter::getDBO/11.1|getDBO]]
 
|Get the database connector object.  
 
|Get the database connector object.  
 
|-
 
|-
 +
|public
 
|[[JAdapter::loadAllAdapters/11.1|loadAllAdapters]]
 
|[[JAdapter::loadAllAdapters/11.1|loadAllAdapters]]
 
|Loads all adapters.  
 
|Loads all adapters.  
 
|-
 
|-
 +
|public
 
|[[JAdapter::setAdapter/11.1|setAdapter]]
 
|[[JAdapter::setAdapter/11.1|setAdapter]]
 
|Set an adapter by name.  
 
|Set an adapter by name.  
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/base/adapter.php
 +
* '''Extends''' [[JObject/11.1|JObject]]
 +
* '''Extended by'''
 +
** [[JInstaller/11.1|JInstaller]]
 +
** [[JUpdater/11.1|JUpdater]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.base.adapter' );</source>
 
<source lang="php">jimport( 'joomla.base.adapter' );</source>
 
===See also===
 
===See also===
* JAdapter source code in [[jplatform:base/adapter.php|BitBucket]]
+
* {{JVer|11.1}} '''JAdapter source code''' on [[jplatform:base/adapter.php|BitBucket]]
* [[JAdapter|Other versions of this class]]
+
* {{JVer|11.1}} Subpackage [[Subpackage Base/11.1|Base]]
 +
* [[JAdapter|Other versions of JAdapter]]
 
{{SeeAlso:JAdapter}}
 
{{SeeAlso:JAdapter}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JAdapter|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JAdapter|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 57:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JAdapter]]</noinclude>
 
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JAdapter]]</noinclude>

Revision as of 17:55, 27 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

Description

Description:JAdapter [Edit Descripton]

Methods

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.

Importing

jimport( 'joomla.base.adapter' );

See also

SeeAlso:JAdapter [Edit See Also]

User contributed notes

<CodeExamplesForm />