english/libraries/joomla/installer/adapters/module.php
/**
	 * Refreshes the extension table cache
	 * @return  boolean result of operation, true if updated, false on failure
	 * @since   11.1
	 */
Refreshes the extension table cache
@return  boolean result of operation, true if updated, false on failure
@since   11.1
Refreshes the extension table cache @return boolean result of operation true if updated false on failure @since 11 . 1
public function refreshManifestCache()
	{
		$client = JApplicationHelper::getClientInfo($this->parent->extension->client_id);
		$manifestPath = $client->path . '/modules/' . $this->parent->extension->element . '/' . $this->parent->extension->element . '.xml';
		$this->parent->manifest = $this->parent->isManifest($manifestPath);
		$this->parent->setPath('manifest', $manifestPath);
		$manifest_details = JApplicationHelper::parseXMLInstallFile($this->parent->getPath('manifest'));
		$this->parent->extension->manifest_cache = json_encode($manifest_details);
		$this->parent->extension->name = $manifest_details['name'];
		if ($this->parent->extension->store()) {
			return true;
		}
		else {
			JError::raiseWarning(101, JText::_('JLIB_INSTALLER_ERROR_MOD_REFRESH_MANIFEST_CACHE'));
			return false;
		}
	}
public function refreshManifestCache ( ) { $ client = JApplicationHelper :: getClientInfo ( $ this -> parent -> extension -> client_id ) ; $ manifestPath = $ client -> path . '/modules/' . $ this -> parent -> extension -> element . '/' . $ this -> parent -> extension -> element . '.xml' ; $ this -> parent -> manifest = $ this -> parent -> isManifest ( $ manifestPath ) ; $ this -> parent -> setPath ( 'manifest' , $ manifestPath ) ; $ manifest_details = JApplicationHelper :: parseXMLInstallFile ( $ this -> parent -> getPath ( 'manifest' ) ) ; $ this -> parent -> extension -> manifest_cache = json_encode ( $ manifest_details ) ; $ this -> parent -> extension -> name = $ manifest_details [ 'name' ] ; if ( $ this -> parent -> extension -> store ( ) ) { return true ; } else { JError :: raiseWarning ( 101 , JText :: _ ( 'JLIB_INSTALLER_ERROR_MOD_REFRESH_MANIFEST_CACHE' ) ) ; return false ; } }
Refreshes the extension table cache
 @return  boolean result of operation, true if updated, false on failure
 @since   11.1
Refreshes the extension table cache @return boolean result of operation true if updated false on failure @since 11 . 1