english/administrator/components/com_installer/models/manage.php
/**
	 * Refreshes the cached manifest information for an extension.
	 *
	 * @param	int		extension identifier (key in #__extensions)
	 * @return	boolean	result of refresh
	 * @since	1.6
	 */
Refreshes the cached manifest information for an extension.
@param       int             extension identifier (key in #__extensions)
@return      boolean result of refresh
@since       1.6
Refreshes the cached manifest information for an extension . @param int extension identifier ( key in #__extensions ) @return boolean result of refresh @since 1 . 6
function refresh($eid)
	{
		if (!is_array($eid)) {
			$eid = array($eid => 0);
		}
		$db = JFactory::getDBO();
		jimport('joomla.installer.installer');
		$installer = JInstaller::getInstance();
		$row = JTable::getInstance('extension');
		$result = 0;
		foreach($eid as $id) {
			$result|= $installer->refreshManifestCache($id);
		}
		return $result;
	}
function refresh ( $ eid ) { if ( ! is_array ( $ eid ) ) { $ eid = array ( $ eid => 0 ) ; } $ db = JFactory :: getDBO ( ) ; jimport ( 'joomla.installer.installer' ) ; $ installer = JInstaller :: getInstance ( ) ; $ row = JTable :: getInstance ( 'extension' ) ; $ result = 0 ; foreach ( $ eid as $ id ) { $ result |= $ installer -> refreshManifestCache ( $ id ) ; } return $ result ; }
Refreshes the cached manifest information for an extension.
Refreshes the cached manifest information for an extension .
// Get a database connector // Get an installer object for the extension type // Uninstall the chosen extensions