Class JUpdateAdapter
UpdateAdapter class.
- JObject
- 
			 JAdapterInstance JAdapterInstance
- 
			 JUpdateAdapter JUpdateAdapter
Direct known subclasses
Package: Joomla\Platform\Updater
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 11.1
Located at joomla/updater/updateadapter.php
Methods summary
| 
				 protected 
				object
				
				 | |
| 
				 protected 
				object
				
				 | |
| 
				abstract public 
				array
				
				 | |
| 
				 protected 
				
				
				 | 
			#
			 toggleUpdateSite( integer $update_site_id, boolean $enabled = true )Toggles the enabled status of an update site. Update sites are disabled before getting the update information from their URL and enabled afterwards. If the URL fetch fails with a PHP fatal error (e.g. timeout) the faulty update site will remain disabled the next time we attempt to load the update information. | 
| 
				 protected 
				string
				
				 | 
			#
			 getUpdateSiteName( integer $updateSiteId )Get the name of an update site. This is used in logging. | 
| 
				 protected 
				boolean| | 
			#
			 getUpdateSiteResponse( array $options = array() )Try to get the raw HTTP response from the update site, hopefully containing the update XML. | 
Methods inherited from JAdapterInstance
Methods inherited from JObject
			__toString(), 
			def(), 
			get(), 
			getError(), 
			getErrors(), 
			getProperties(), 
			set(), 
			setError(), 
			setProperties()
		
Magic methods summary
Properties summary
| 
				protected  
				resource
			 | $xmlParser | 
				#
				 Resource handle for the XML Parser | 
| 
				protected  
				array
			 | $stack | 
				#
				 Element call stack | 
| 
				protected  
				string
			 | $updateSiteId | 
				#
				 ID of update site | 
| 
				protected  
				array
			 | $updatecols | 
				#
				 Columns in the extensions table to be updated | 
| 
				protected  
				boolean
			 | $appendExtension | 
				#
				 Should we try appending a .xml extension to the update site's URL? | 
| 
				protected  
				string
			 | $updateSiteName | 
				#
				 The name of the update site (used in logging) | 
| 
				protected  
				string
			 | $_url | 
				#
				 The update site URL from which we will get the update information | 
| 
				protected  
				integer
			 | $minimum_stability | 
				#
				 The minimum stability required for updates to be taken into account. The possible values are: 0 dev Development snapshots, nightly builds, pre-release versions and so on 1 alpha Alpha versions (work in progress, things are likely to be broken) 2 beta Beta versions (major functionality in place, show-stopper bugs are likely to be present) 3 rc Release Candidate versions (almost stable, minor bugs might be present) 4 stable Stable versions (production quality code) | 
