API16

JInstallerFile: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
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:
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JInstallerFile|Edit Descripton]]<nowiki>]</nowiki>
</span>
{{Description:JInstallerFile}}
===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>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JInstallerFile|Edit See Also]]<nowiki>]</nowiki>
 
</span>
{{SeeAlso:JInstallerFile}}


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=JInstallerFile
  category=JInstallerFile
  category=CodeExample
  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