API16:JInstaller/discover
From Joomla! Documentation
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.
Contents |
Description
Extension discover method Asks each adapter to find extensions
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
discover()
Returns
Array
Defined in
libraries/joomla/installer/installer.php
Importing
jimport( 'joomla.installer.installer' );
Source Body
function discover() { $this->loadAllAdapters(); $results = Array(); foreach ($this->_adapters as $adapter) { // Joomla! 1.5 installation adapter legacy support if (method_exists($adapter,'discover')) { $tmp = $adapter->discover(); // if its an array and has entries if (is_array($tmp) && count($tmp)) { // merge it into the system $results = array_merge($results, $tmp); } } } return $results; }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
