Site logo file
API
Search
Phoca.cz Main Site
Phoca Cart
Phoca Cart Demo
Search
Search
Advanced Search
Projects
Joomla
Phoca Cart
Phoca Gallery
Phoca Download
Classes
AbstractAES
AbstractEvent
AbstractEvent
AbstractEvent
AbstractEvent
AbstractGroupButton
AbstractImmutableEvent
AbstractMenu
AbstractModuleDispatcher
AbstractRenderer
AbstractView
Access
Access
AccessiblemediaField
AccesslevelField
ActionButton
ActionsDropdown
Adapter
AdapterInstance
AddUserCommand
AddUserToGroupCommand
AdminController
AdministratorApplication
AdministratorMenu
AdministratorMenuItem
AdministratorRouter
AdminLanguage
AdminModel
Aes
AesInterface
AfterBindEvent
AfterCheckinEvent
AfterCheckoutEvent
AfterDeleteEvent
AfterExtensionBootEvent
AfterHitEvent
AfterLoadEvent
AfterMoveEvent
AfterPublishEvent
AfterReorderEvent
AfterResetEvent
AfterStoreEvent
AliastagField
ApcuStorage
ApiApplication
ApiController
ApiDispatcher
ApiMVCFactory
ApiRouter
ApiRouter
Application
ApplicationHelper
Argon2idHandler
Argon2iHandler
Asset
AssociationExtensionHelper
AssociationExtensionInterface
Associations
AssociationServiceInterface
AssociationServiceTrait
AtomParser
AtomRenderer
Authentication
Authentication
AuthenticationFailed
AuthenticationFailedExceptionHandler
AuthenticationHelper
AuthenticationResponse
AuthorField
Backgroundfill
Base32
BaseApplication
BaseController
BaseDatabaseModel
BaseLayout
BaseModel
BasicButton
BCryptHandler
BeforeBatchEvent
BeforeBindEvent
BeforeCheckinEvent
BeforeCheckoutEvent
BeforeDeleteEvent
BeforeExtensionBootEvent
BeforeHitEvent
BeforeLoadEvent
BeforeMoveEvent
BeforePublishEvent
BeforeReorderEvent
BeforeResetEvent
BeforeStoreEvent
Behavior
BooleanRule
BootableExtensionInterface
Bootstrap
Brightness
Browser
BufferStreamHandler
Cache
CacheConnectingException
CacheController
CacheController
CacheControllerFactory
CacheControllerFactoryInterface
CacheExceptionInterface
CachehandlerField
CacheStorage
CacheStorageHelper
CachingLanguageFactory
CalendarField
CalendarRule
CallbackController
CallbackLogger
Captcha
CaptchaField
CaptchaRule
Categories
CategoriesView
Category
Category
CategoryFactory
CategoryFactory
CategoryFactoryInterface
CategoryFeedView
CategoryField
CategoryInterface
CategoryNode
CategoryServiceInterface
CategoryServiceTrait
CategoryView
ChainedHandler
ChangeItem
Changelog
ChangeSet
ChangeUserPasswordCommand
CheckboxesField
CheckboxField
CheckEvent
CheckIfRehashNeededHandlerInterface
CheckinCheckout
CheckinCheckoutExceptionHandler
CheckJoomlaUpdatesCommand
CheckUpdatesCommand
ChromestyleField
ClassLoader
CleanCacheCommand
Cli
CliApplication
ClientHelper
CliInput
CliOutput
CliRenderer
CMSApplication
CMSApplicationInterface
CMSHelper
CMSObject
CMSPlugin
CMSWebApplicationInterface
CollectionAdapter
ColorField
ColorProcessor
ColorRule
ColorStyle
ComboField
Component
ComponentAdapter
ComponentDispatcher
ComponentDispatcherFactory
ComponentDispatcherFactory
ComponentDispatcherFactoryInterface
ComponentHelper
ComponentInterface
ComponentlayoutField
ComponentRecord
ComponentRenderer
ComponentsField
Config
ConfirmButton
Console
ConsoleApplication
ContainerAwareToolbarFactory
Content
Content
ContentHelper
ContentHistory
ContenthistoryField
ContentLanguage
ContentlanguageField
ContentType
ContenttypeField
Contrast
ControllerInterface
Cookie
CoreAssetItem
CoreButtonsTrait
CoreContent
Crypt
CryptoCipher
CssIdentifierRule
CssIdentifierSubstringRule
CurlTransport
CustomButton
DaemonApplication
Database
DatabaseAwareTrait
DatabaseconnectionField
DatabaseLogger
DatabaseModelInterface
Date
Date
Debug
DelegatingPsrLogger
DeleteUserCommand
Dispatcher
Dispatcher
DispatcherInterface
DisplayEvent
Document
Document
DocumentRenderer
DownloadSource
DraggableList
Dropdown
DropdownButton
DummyPlugin
EchoLogger
Edgedetect
Editor
EditorField
Email
EmailField
EmailRule
Emboss
EqualsRule
ErrorDocument
ErrorEvent
EventAware
EventAwareInterface
ExceptionHandler
ExistsRule
Extension
ExtensionAdapter
ExtensionDiscoverCommand
ExtensionDiscoverInstallCommand
ExtensionDiscoverListCommand
ExtensionHelper
ExtensionInstallCommand
ExtensionManagerInterface
ExtensionManagerTrait
ExtensionNamespaceMapper
ExtensionRemoveCommand
ExtensionsListCommand
Factory
Factory
FactoryInterface
FeaturedButton
Feed
FeedDocument
FeedEnclosure
FeedEntry
FeedFactory
FeedImage
FeedItem
FeedLink
FeedParser
FeedPerson
FeedRenderer
FieldsServiceInterface
File
FileAdapter
FileField
FileLayout
FilelistField
FilePathRule
Files
FileStorage
FilesystemHelper
FinderIndexCommand
Folder
FolderlistField
FolderPathExistsRule
Form
Form
Form
FormattedtextLogger
FormBehavior
FormBehaviorTrait
FormController
FormFactory
FormFactoryAwareInterface
FormFactoryAwareTrait
FormFactoryInterface
FormField
FormFilterInterface
FormHelper
FormModel
FormModelInterface
FormRule
FormValidateAssetItem
FormView
FrontendlanguageField
FtpClient
GenericDataException
GenericEvent
GetConfigurationCommand
Grayscale
Grid
GroupedlistField
HeadertagField
HeadRenderer
Help
HelpButton
HelperFactory
HelperFactory
HelperFactoryInterface
HiddenField
HtmlDocument
HTMLHelper
HTMLRegistry
HTMLRegistryAwareTrait
HtmlRenderer
HtmlView
Http
HttpBridgePostRequestMethod
HttpFactory
Icons
IdentityAware
Image
ImageDocument
ImageFilter
ImagelistField
ImmutableNodeInterface
ImmutableNodeTrait
InlinehelpButton
InMemoryLogger
Input
InputFilter
Installer
InstallerAdapter
InstallerExtension
InstallerHelper
InstallerScript
IntarrayFilter
IntegerField
InvalidActionException
InvalidParameterExceptionHandler
InvalidRouteExceptionHandler
ItemModel
ItemModelInterface
ItunesRssParser
JGrid
JoomlaSerializer
JoomlaStorage
Jquery
Json
JsonapiDocument
JsonapiRenderer
JsonApiView
JsonDocument
JsonRenderer
JsonResponse
JsonView
KeepaliveAssetItem
LangActiveAssetItem
Language
Language
Language
LanguageAdapter
LanguageFactory
LanguageFactoryInterface
LanguageField
LanguageHelper
LastvisitdaterangeField
LayoutHelper
LayoutInterface
LegacyComponent
LegacyComponentDispatcher
LegacyFactory
LegacyModelLoaderTrait
LibraryAdapter
LibraryHelper
LibraryManifest
LimitboxField
LinkButton
Links
ListField
ListHelper
ListModel
ListModelInterface
ListUserCommand
ListView
Log
LogEntry
Logger
Logger
LoggerRegistry
Mail
MailDisabledException
MailHelper
MailTemplate
Manifest
Mcrypt
MD5Handler
MediaField
MediaHelper
MediaRssParser
MemcachedStorage
Menu
Menu
Menu
MenuFactory
MenuFactoryInterface
MenuField
MenuItem
MenuitemField
MenuRules
MenuType
MessagequeueLogger
MessageRenderer
MetadataManager
MetadataManagerListener
MetasRenderer
MeterField
Microdata
MissingComponentException
ModelInterface
Module
Module
Module
ModuleAdapter
ModuleDispatcher
ModuleDispatcherFactory
ModuleDispatcherFactory
ModuleDispatcherFactoryInterface
ModuleHelper
ModuleInterface
ModulelayoutField
ModuleLayoutRule
ModuleorderField
ModulepositionField
ModuleRenderer
ModulesRenderer
ModuletagField
Multilanguage
MVCComponent
MVCFactory
MVCFactory
MVCFactoryAwareTrait
MVCFactoryInterface
MVCFactoryServiceInterface
MVCFactoryServiceTrait
MysqlChangeItem
NamespaceParserInterface
Negate
Nested
NodeInterface
NodeTrait
NomenuRules
NotAcceptable
NotAcceptableExceptionHandler
NotAllowed
NotAllowedExceptionHandler
NoteField
NotequalsRule
Number
NumberField
NumberRule
ObjectCreateEvent
OnGetApiAttributes
OnGetApiFields
OnGetApiRelation
OpensearchDocument
OpensearchImage
OpensearchUrl
OpenSSL
OptionsRule
OrderingField
OutputController
OutputFilter
PackageAdapter
PackageManifest
PageController
Pagination
PaginationObject
PasswordField
PasswordRule
Patcher
Path
Pathway
Pathway
PHPassHandler
PluginAdapter
PluginHelper
PluginInterface
PluginsField
PluginstatusField
PopupButton
PostgresqlChangeItem
PredefinedlistField
PreloadManager
PreloadManagerInterface
ProcessorInterface
Profiler
ProviderAwareAuthenticationPluginInterface
PublishedButton
PunycodeHelper
RadiobasicField
RadioField
Randval
RandValInterface
RangeField
RawDocument
RawFilter
RedirectStatusField
RedisStorage
RegistrationdaterangeField
Registry
RemoveOldFilesCommand
RemoveUserFromGroupCommand
RendererInterface
RendererInterface
ResourceNotFound
ResourceNotFoundExceptionHandler
Response
Route
RouteHelper
RouteNotFoundException
Router
RouterBase
RouterFactory
RouterFactory
RouterFactoryInterface
RouterInterface
RouterLegacy
RouterServiceInterface
RouterServiceTrait
RouterView
RouterViewConfiguration
RssParser
RssRenderer
Rule
Rules
RulesField
RulesFilter
RulesInterface
RulesRule
SafehtmlFilter
Save
SaveExceptionHandler
ScriptsRenderer
SearchTools
SectionNotFoundException
Select
SendEmail
SendEmailExceptionHandler
SeparatorButton
Session
Session
SessionFactory
SessionGcCommand
SessionhandlerField
SessionManager
SessionMetadataGcCommand
SetConfigurationCommand
SetNewTagsEvent
Sidebar
SiteApplication
SiteDownCommand
SiteMenu
SitePathway
SiteRouter
SiteUpCommand
Sketchy
Smooth
SocketTransport
SodiumCipher
SortableList
SpacerField
SqlField
SqlsrvChangeItem
StandardButton
StandardRules
StateBehaviorTrait
StatefulModelInterface
StatusField
Stdout
Stream
StreamString
StreamTransport
StringController
StringHelper
StylesRenderer
SubformField
SubformRule
SyslogLogger
Table
TableInterface
Tag
TagApiSerializerTrait
TagField
TaggableTableInterface
TaggableTableTrait
TagServiceInterface
TagServiceTrait
TagsHelper
TasksListCommand
TasksRunCommand
TasksStateCommand
Telephone
TelephoneField
TelFilter
TelRule
TemplateAdapter
TemplatestyleField
Text
TextareaField
TextField
TimeField
TimeRule
TimezoneField
Toolbar
Toolbar
ToolbarButton
ToolbarFactoryInterface
ToolbarHelper
Totp
TransitionButton
TransitionField
Transliterate
TransportInterface
Ucm
UCM
UCMBase
UCMContent
UCMType
UiTab
UnknownAssetException
UnparsableImageException
UnsatisfiedDependencyException
UnsetFilter
UnsupportedCacheException
UnsupportedStorageException
Update
Update
UpdateAdapter
UpdateCoreCommand
Updater
UpdateSite
Uri
UrlField
UrlFilter
UrlRule
User
User
User
User
UseractiveField
UserFactory
UserFactoryInterface
UserField
Usergroup
UsergrouplistField
UserGroupsHelper
UserHelper
UserIdRule
UsernameRule
UserstateField
Utility
Version
VersionableControllerTrait
VersionableModelTrait
VersionableTableInterface
Versioning
ViewController
ViewInterface
ViewLevel
W3cLogger
WebApplication
WebAssetAttachBehaviorInterface
WebAssetExceptionInterface
WebAssetItem
WebAssetItemInterface
WebAssetManager
WebAssetManagerInterface
WebAssetRegistry
WebAssetRegistry
WebAssetRegistryAssetChanged
WebAssetRegistryInterface
WincacheStorage
Workflow
WorkflowBehaviorTrait
WorkflowComponentSectionsField
WorkflowconditionField
WorkflowFunctionalityUsedEvent
WorkflowModelInterface
WorkflowPluginTrait
WorkflowServiceInterface
WorkflowServiceTrait
WorkflowStage
WorkflowstageField
WorkflowTransitionEvent
WritableContainerLoader
WritableLoaderInterface
Xml
XmlDocument
XmlRenderer
Methods
__construct
getInstance
isOverwrite
setOverwrite
getRedirectUrl
setRedirectUrl
isPackageUninstall
setPackageUninstall
isUpgrade
setUpgrade
getManifest
getPath
setPath
pushStep
abort
install
discover_install
discover
update
uninstall
refreshManifestCache
setupInstall
parseQueries
parseSQLFiles
setSchemaVersion
parseSchemaUpdates
parseFiles
parseLanguages
parseMedia
getParams
copyFiles
removeFiles
copyManifest
findManifest
isManifest
generateManifestCache
cleanDiscoveredExtension
findDeletedFiles
loadMD5Sum
parseXMLInstallFile
getAdapters
loadAdapter
You are here:
Home
Joomla
Installer
⇦
Back to Joomla project (class list)
Class Installer - list of methods
Joomla base installer class
Extends
Adapter
Package:
Joomla\CMS\Installer
Copyright:
(C) 2005 Open Source Matters, Inc.
License:
GNU General Public License version 2 or later; see LICENSE.txt
Located at:
Joomla/Installer/Installer.php
Project:
Joomla
Method Summary
public
__construct
(mixed
$basepath
=
__DIR__
, mixed
$classprefix
=
'\\Joomla\\CMS\\Installer\\Adapter'
, mixed
$adapterfolder
=
'Adapter'
)
Constructor
Parameters
string
$basepath
Base Path of the adapters
string
$classprefix
Class prefix of adapters
string
$adapterfolder
Name of folder to append to base path
Since
3.1
Show source code of this method:
__construct Source Code
public static \Joomla\CMS\Installer\Installer
getInstance
(mixed
$basepath
=
__DIR__
, mixed
$classprefix
=
'\\Joomla\\CMS\\Installer\\Adapter'
, mixed
$adapterfolder
=
'Adapter'
)
Returns the global Installer object, only creating it if it doesn't already exist.
Parameters
string
$basepath
Base Path of the adapters
string
$classprefix
Class prefix of adapters
string
$adapterfolder
Name of folder to append to base path
Returns
\Joomla\CMS\Installer\Installer An installer object
Since
3.1
Show source code of this method:
getInstance Source Code
public bool
isOverwrite
()
Get the allow overwrite switch
Returns
bool
Allow overwrite switch
Since
3.1
Show source code of this method:
isOverwrite Source Code
public bool
setOverwrite
(mixed
$state
=
false
)
Set the allow overwrite switch
Parameters
bool
$state
Overwrite switch state
Returns
bool
True it state is set, false if it is not
Since
3.1
Show source code of this method:
setOverwrite Source Code
public string
getRedirectUrl
()
Get the redirect location
Returns
string
Redirect location (or null)
Since
3.1
Show source code of this method:
getRedirectUrl Source Code
public void
setRedirectUrl
(mixed
$newurl
)
Set the redirect location
Parameters
string
$newurl
New redirect location
Returns
void
Since
3.1
Show source code of this method:
setRedirectUrl Source Code
public bool
isPackageUninstall
()
Get whether this installer is uninstalling extensions which are part of a package
Returns
bool
Since
3.7.0
Show source code of this method:
isPackageUninstall Source Code
public void
setPackageUninstall
(mixed
$uninstall
)
Set whether this installer is uninstalling extensions which are part of a package
Parameters
bool
$uninstall
True if a package triggered the uninstall, false otherwise
Returns
void
Since
3.7.0
Show source code of this method:
setPackageUninstall Source Code
public bool
isUpgrade
()
Get the upgrade switch
Returns
bool
Since
3.1
Show source code of this method:
isUpgrade Source Code
public bool
setUpgrade
(mixed
$state
=
false
)
Set the upgrade switch
Parameters
bool
$state
Upgrade switch state
Returns
bool
True if upgrade, false otherwise
Since
3.1
Show source code of this method:
setUpgrade Source Code
public \SimpleXMLElement
getManifest
()
Get the installation manifest object
Returns
\SimpleXMLElement Manifest object
Since
3.1
Show source code of this method:
getManifest Source Code
public string
getPath
(mixed
$name
, mixed
$default
=
null
)
Get an installer path by name
Parameters
string
$name
Path name
string
$default
Default value
Returns
string
Path
Since
3.1
Show source code of this method:
getPath Source Code
public void
setPath
(mixed
$name
, mixed
$value
)
Sets an installer path by name
Parameters
string
$name
Path name
string
$value
Path
Returns
void
Since
3.1
Show source code of this method:
setPath Source Code
public void
pushStep
(mixed
$step
)
Pushes a step onto the installer stack for rolling back steps
Parameters
array
$step
Installer step
Returns
void
Since
3.1
Show source code of this method:
pushStep Source Code
public bool
abort
(mixed
$msg
=
null
, mixed
$type
=
null
)
Installation abort method
Parameters
string
$msg
Abort message from the installer
string
$type
Package type if defined
Returns
bool
True if successful
Since
3.1
Show source code of this method:
abort Source Code
public bool
install
(mixed
$path
=
null
)
Package installation method
Parameters
string
$path
Path to package source folder
Returns
bool
True if successful
Since
3.1
Show source code of this method:
install Source Code
public bool
discover_install
(mixed
$eid
=
null
)
Discovered package installation method
Parameters
int
$eid
Extension ID
Returns
bool
True if successful
Since
3.1
Show source code of this method:
discover_install Source Code
public \Joomla\CMS\Installer\InstallerExtension[]
discover
()
Extension discover method
Returns
\Joomla\CMS\Installer\InstallerExtension[]
Since
3.1
Show source code of this method:
discover Source Code
public bool
update
(mixed
$path
=
null
)
Package update method
Parameters
string
$path
Path to package source folder
Returns
bool
True if successful
Since
3.1
Show source code of this method:
update Source Code
public bool
uninstall
(mixed
$type
, mixed
$identifier
)
Package uninstallation method
Parameters
string
$type
Package type
mixed
$identifier
Package identifier for adapter
Returns
bool
True if successful
Since
3.1
Show source code of this method:
uninstall Source Code
public bool
refreshManifestCache
(mixed
$eid
)
Refreshes the manifest cache stored in #__extensions
Parameters
int
$eid
Extension ID
Returns
bool
Since
3.1
Show source code of this method:
refreshManifestCache Source Code
public bool|\Joomla\CMS\Installer\InstallerAdapter
setupInstall
(mixed
$route
=
'install'
, mixed
$returnAdapter
=
false
)
Prepare for installation: this method sets the installation directory, finds and checks the installation file and verifies the installation type.
Parameters
string
$route
The install route being followed
bool
$returnAdapter
Flag to return the instantiated adapter
Returns
bool
|\Joomla\CMS\Installer\InstallerAdapter InstallerAdapter object if explicitly requested otherwise boolean
Since
3.1
Show source code of this method:
setupInstall Source Code
public mixed
parseQueries
(\SimpleXMLElement
$element
)
Backward compatible method to parse through a queries element of the installation manifest file and take appropriate action.
Parameters
\SimpleXMLElement
$element
The XML node to process
Returns
mixed
Number of queries processed or False on error
Since
3.1
Show source code of this method:
parseQueries Source Code
public mixed
parseSQLFiles
(mixed
$element
)
Method to extract the name of a discreet installation sql file from the installation manifest file.
Parameters
object
$element
The XML node to process
Returns
mixed
Number of queries processed or False on error
Since
3.1
Show source code of this method:
parseSQLFiles Source Code
public void
setSchemaVersion
(\SimpleXMLElement
$schema
, mixed
$eid
)
Set the schema version for an extension by looking at its latest update
Parameters
\SimpleXMLElement
$schema
Schema Tag
int
$eid
Extension ID
Returns
void
Since
3.1
Show source code of this method:
setSchemaVersion Source Code
public bool
parseSchemaUpdates
(\SimpleXMLElement
$schema
, mixed
$eid
)
Method to process the updates for an item
Parameters
\SimpleXMLElement
$schema
The XML node to process
int
$eid
Extension Identifier
Returns
bool
Result of the operations
Since
3.1
Show source code of this method:
parseSchemaUpdates Source Code
public bool
parseFiles
(\SimpleXMLElement
$element
, mixed
$cid
=
0
, mixed
$oldFiles
=
null
, mixed
$oldMD5
=
null
)
Method to parse through a files element of the installation manifest and take appropriate action.
Parameters
\SimpleXMLElement
$element
The XML node to process
int
$cid
Application ID of application to install to
array
$oldFiles
List of old files (SimpleXMLElement's)
array
$oldMD5
List of old MD5 sums (indexed by filename with value as MD5)
Returns
bool
True on success
Since
3.1
Show source code of this method:
parseFiles Source Code
public bool
parseLanguages
(\SimpleXMLElement
$element
, mixed
$cid
=
0
)
Method to parse through a languages element of the installation manifest and take appropriate action.
Parameters
\SimpleXMLElement
$element
The XML node to process
int
$cid
Application ID of application to install to
Returns
bool
True on success
Since
3.1
Show source code of this method:
parseLanguages Source Code
public bool
parseMedia
(\SimpleXMLElement
$element
, mixed
$cid
=
0
)
Method to parse through a media element of the installation manifest and take appropriate action.
Parameters
\SimpleXMLElement
$element
The XML node to process
int
$cid
Application ID of application to install to
Returns
bool
True on success
Since
3.1
Show source code of this method:
parseMedia Source Code
public string
getParams
()
Method to parse the parameters of an extension, build the JSON string for its default parameters, and return the JSON string.
Returns
string
JSON string of parameter values
Since
3.1
-
This method must always return a JSON compliant
string
Show source code of this method:
getParams Source Code
public bool
copyFiles
(mixed
$files
, mixed
$overwrite
=
null
)
Copyfiles
Parameters
array
$files
Array with filenames
bool
$overwrite
True if existing files can be replaced
Returns
bool
True on success
Since
3.1
Show source code of this method:
copyFiles Source Code
public bool
removeFiles
(mixed
$element
, mixed
$cid
=
0
)
Method to parse through a files element of the installation manifest and remove the files that were installed
Parameters
object
$element
The XML node to process
int
$cid
Application ID of application to remove from
Returns
bool
True on success
Since
3.1
Show source code of this method:
removeFiles Source Code
public bool
copyManifest
(mixed
$cid
=
1
)
Copies the installation manifest file to the extension folder in the given client
Parameters
int
$cid
Where to copy the installfile [optional: defaults to 1 (admin)]
Returns
bool
True on success, False on error
Since
3.1
Show source code of this method:
copyManifest Source Code
public bool
findManifest
()
Tries to find the package manifest file
Returns
bool
True on success, False on error
Since
3.1
Show source code of this method:
findManifest Source Code
public \SimpleXMLElement|null
isManifest
(mixed
$file
)
Is the XML file a valid Joomla installation manifest file.
Parameters
string
$file
An xmlfile path to check
Returns
\SimpleXMLElement|null A \SimpleXMLElement, or null if the file failed to parse
Since
3.1
Show source code of this method:
isManifest Source Code
public string
generateManifestCache
()
Generates a manifest cache
Returns
string
serialised manifest data
Since
3.1
Show source code of this method:
generateManifestCache Source Code
public object
cleanDiscoveredExtension
(mixed
$type
, mixed
$element
, mixed
$folder
=
''
, mixed
$client
=
0
)
Cleans up discovered extensions if they're being installed some other way
Parameters
string
$type
The type of extension (component, etc)
string
$element
Unique element identifier (e.g. com_content)
string
$folder
The folder of the extension (plugins; e.g. system)
int
$client
The client application (administrator or site)
Returns
object Result of query
Since
3.1
Show source code of this method:
cleanDiscoveredExtension Source Code
public array
findDeletedFiles
(mixed
$oldFiles
, mixed
$newFiles
)
Compares two "files" entries to find deleted files/folders
Parameters
array
$oldFiles
An array of \SimpleXMLElement objects that are the old files
array
$newFiles
An array of \SimpleXMLElement objects that are the new files
Returns
array
An array with the delete files and folders in findDeletedFiles[files] and findDeletedFiles[folders] respectively
Since
3.1
Show source code of this method:
findDeletedFiles Source Code
public array
loadMD5Sum
(mixed
$filename
)
Loads an MD5SUMS file into an associative array
Parameters
string
$filename
Filename to load
Returns
array
Associative array with filenames as the index and the MD5 as the value
Since
3.1
Show source code of this method:
loadMD5Sum Source Code
public static array
parseXMLInstallFile
(mixed
$path
)
Parse a XML install manifest file.
Parameters
string
$path
Full path to XML file.
Returns
array
XML metadata.
Since
3.0.0
Show source code of this method:
parseXMLInstallFile Source Code
public string[]
getAdapters
(mixed
$options
=
array()
, array
$custom
=
array()
)
Gets a list of available install adapters.
Parameters
array
$options
An array of options to inject
int
o the adapter
array
$custom
Array of custom install adapters
Returns
string
[] An
array
of the class names of available install adapters.
Since
3.4
Show source code of this method:
getAdapters Source Code
public \Joomla\CMS\Installer\InstallerAdapter
loadAdapter
(mixed
$adapter
, mixed
$options
=
array()
)
Method to load an adapter instance
Parameters
string
$adapter
Adapter name
array
$options
Adapter options
Returns
\Joomla\CMS\Installer\InstallerAdapter
Since
3.4
-
\InvalidArgumentException
Show source code of this method:
loadAdapter Source Code
Properties Summary
protected
array
$paths
Array of paths needed by the installer
Since
3.1
protected
bool
$upgrade
True if package is an upgrade
Since
3.1
public object
$manifestClass
The manifest trigger class
Since
3.1
protected
bool
$overwrite
True if existing files can be overwritten
Since
3.0.0
protected
array
$stepStack
Stack of installation steps - Used for installation rollback
Since
3.1
public \Joomla\CMS\Table\Extension
$extension
Extension Table Entry
Since
3.1
public
string
$message
The output from the install/uninstall scripts
Since
3.1
public object
$manifest
The installation manifest XML object
Since
3.1
protected
string
$extension_message
The extension message that appears
Since
3.1
protected
string
$redirect_url
The redirect URL if this extension (can be null if no redirect)
Since
3.1
protected
bool
$packageUninstall
Flag if the uninstall process was triggered by uninstalling a package
Since
3.7.0
public
string
$extraQuery
Backup extra_query during update_sites rebuild
Since
3.9.26
protected static \Joomla\CMS\Installer\Installer[]
$instances
JInstaller instances container.
Since
3.4
Tags Summary
Since
3.1