Difference between revisions of "JUpdater"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | =={{JVer|11.1}} JUpdater== | ||
+ | ===Description=== | ||
+ | {{Description:JUpdater}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JUpdater|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JUpdater|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
+ | |public | ||
|[[JUpdater::__construct/11.1|__construct]] | |[[JUpdater::__construct/11.1|__construct]] | ||
|Constructor. | |Constructor. | ||
|- | |- | ||
+ | |public | ||
|[[JUpdater::arrayUnique/11.1|arrayUnique]] | |[[JUpdater::arrayUnique/11.1|arrayUnique]] | ||
− | |Multidimensional array safe unique test Borrowed from PHP.net | + | |Multidimensional array safe unique test Borrowed from PHP.net. |
|- | |- | ||
+ | |public | ||
|[[JUpdater::findUpdates/11.1|findUpdates]] | |[[JUpdater::findUpdates/11.1|findUpdates]] | ||
|Finds an update for an extension. | |Finds an update for an extension. | ||
|- | |- | ||
+ | |public | ||
|[[JUpdater::update/11.1|update]] | |[[JUpdater::update/11.1|update]] | ||
| | | | ||
|- | |- | ||
+ | |public | ||
|[[JUpdater::getInstance/11.1|getInstance]] | |[[JUpdater::getInstance/11.1|getInstance]] | ||
|Returns a reference to the global Installer object, only creating it if it doesn't already exist. | |Returns a reference to the global Installer object, only creating it if it doesn't already exist. | ||
|- | |- | ||
|} | |} | ||
+ | * '''Defined in''' libraries/joomla/updater/updater.php | ||
+ | * '''Extends''' [[JAdapter/11.1|JAdapter]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.updater.updater' );</source> | <source lang="php">jimport( 'joomla.updater.updater' );</source> | ||
===See also=== | ===See also=== | ||
− | * JUpdater source code | + | * {{JVer|11.1}} '''JUpdater source code''' on [[jplatform:updater/updater.php|BitBucket]] |
− | * [[JUpdater|Other versions of | + | * {{JVer|11.1}} Subpackage [[Subpackage Updater/11.1|Updater]] |
+ | * [[JUpdater|Other versions of JUpdater]] | ||
{{SeeAlso:JUpdater}} | {{SeeAlso:JUpdater}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JUpdater|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JUpdater|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 51: | Line 54: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JUpdater]]</noinclude> | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JUpdater]]</noinclude> |
Revision as of 18:10, 27 April 2011
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.
JUpdater[edit]
Description[edit]
Template:Description:JUpdater [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Constructor. |
public | arrayUnique | Multidimensional array safe unique test Borrowed from PHP.net. |
public | findUpdates | Finds an update for an extension. |
public | update | |
public | getInstance | Returns a reference to the global Installer object, only creating it if it doesn't already exist. |
- Defined in libraries/joomla/updater/updater.php
- Extends JAdapter
Importing[edit]
jimport( 'joomla.updater.updater' );
See also[edit]
- JUpdater source code on BitBucket
- Subpackage Updater
- Other versions of JUpdater
Template:SeeAlso:JUpdater [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />