API17

JAdapter: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
<span class="editsection" style="font-size:76%;">
=={{JVer|11.1}} JAdapter==
<nowiki>[</nowiki>[[Description:JAdapter|Edit Descripton]]<nowiki>]</nowiki>
===Description===
</span>
 
{{Description:JAdapter}}
 
===Defined in===
libraries/joomla/base/adapter.php
===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
|-
|-
|[[JAdapter::__construct/11.1|__construct]]
|public
|[[API17:JAdapter::__construct|__construct]]
|Constructor.  
|Constructor.  
|-
|-
|[[JAdapter::getAdapter/11.1|getAdapter]]
|public
|[[API17:JAdapter::getAdapter|getAdapter]]
|Return an adapter.  
|Return an adapter.  
|-
|-
|[[JAdapter::getDBO/11.1|getDBO]]
|public
|[[API17:JAdapter::getDBO|getDBO]]
|Get the database connector object.  
|Get the database connector object.  
|-
|-
|[[JAdapter::loadAllAdapters/11.1|loadAllAdapters]]
|public
|[[API17:JAdapter::loadAllAdapters|loadAllAdapters]]
|Loads all adapters.  
|Loads all adapters.  
|-
|-
|[[JAdapter::setAdapter/11.1|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===
* [[JAdapter|Other versions of this class]]
* {{JVer|11.1}} '''JAdapter source code''' on [[jplatform:base/adapter.php|BitBucket]]
{{SeeAlso:JAdapter}}
* {{JVer|11.1}} Subpackage [[API17:Subpackage Base|Base]]
<span class="editsection" style="font-size:76%;">
* [[API17:JAdapter|Other versions of JAdapter]]
<nowiki>[</nowiki>[[SeeAlso:JAdapter|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
===Examples===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JAdapter
category=JAdapter
category=CodeExample
namespace=CodeExample
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 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:18, 25 March 2017

Joomla 11.1 JAdapter

Description

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


User contributed notes

Code Examples