API17:JUpdater
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
m (→User contributed notes: bad link repair) |
||
| (2 intermediate revisions by one user not shown) | |||
| 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|Other versions of | + | * {{JVer|11.1}} '''JUpdater source code''' on [[jplatform:updater/updater.php|BitBucket]] |
| + | * {{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 49: | 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 JClasses]][[Category:Platform 11.1]][[Category:JUpdater]]</noinclude> |
Revision as of 14:06, 29 August 2012
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.
JUpdater
Description
Description:JUpdater [Edit Descripton]
Methods
| 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
jimport( 'joomla.updater.updater' );
See also
-
JUpdater source code on BitBucket
-
Subpackage Updater
- Other versions of JUpdater
SeeAlso:JUpdater [Edit See Also]
User contributed notes
<CodeExamplesForm />
