JInstallerFile: Difference between revisions
From Joomla! Documentation
New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JInstallerFile}}
===Define... |
m preparing for archive only |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/installer/adapters/file.php | libraries/joomla/installer/adapters/file.php | ||
| Line 32: | Line 27: | ||
|function used to populate files and folder list | |function used to populate files and folder list | ||
|} | |} | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.installer.adapters.file' );</source> | <source lang="php">jimport( 'joomla.installer.adapters.file' );</source> | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JInstallerFile | category=JInstallerFile | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 01:49, 25 March 2017
Defined in
libraries/joomla/installer/adapters/file.php
Methods
| Method name | Description |
|---|---|
| loadLanguage | Custom loadLanguage method |
| install | Custom install method |
| update | Custom update method public boolean True on success
1.5 |
| uninstall | Custom uninstall method |
| extensionExistsInSystem | function used to check if extension is already installed |
| populateFilesAndFolderList | function used to populate files and folder list |
Importing
jimport( 'joomla.installer.adapters.file' );
Examples
Code Examples