Drush: commands/pm/release_info/updatexml.inc File Reference

  1. 7.x doxygen/html/updatexml_8inc.html
  2. master doxygen/html/updatexml_8inc.html
updatexml.inc File Reference

Go to the source code of this file.

Functions

 release_info_fetch (&$request, $restrict_to= '', $select= 'never', $all=FALSE)
 release_info_get_releases ($requests)
 release_info_check_project ($request, $type=NULL)
 release_info_print_releasenotes ($requests, $print_status=TRUE, $tmpfile=NULL)
 _release_info_compare_date ($a, $b)
 release_info_filter_releases ($releases, $all=FALSE, $restrict_to= '', $show_all_until_installed=TRUE)
 updatexml_parse_release ($request, $xml, $restrict_to= '')
 updatexml_specific_release_version ($request, $xml)
 updatexml_dev_release ($request, $xml)
 updatexml_most_appropriate_release ($request, $xml)
 updatexml_best_release_found ($releases)
 updatexml_get_url ($request)
 updatexml_get_release_history_xml ($request)
 updatexml_get_releases_from_xml ($xml, $project)
 updatexml_determine_project_type ($xml)

Variables

const RELEASE_INFO_DEFAULT_URL = 'http://updates.drupal.org/release-history'

Detailed Description

Drush release info engine for update.drupal.org and compatible services.

This engine does connect directly to the update service. It doesn't depend on a bootstraped site.

Definition in file updatexml.inc.

Function Documentation

_release_info_compare_date (   $a,
  $b 
)

Helper function for release_info_filter_releases().

Definition at line 243 of file updatexml.inc.

release_info_check_project (   $request,
  $type = NULL 
)

Check if a project is available in a update service.

Optionally check for consistency by comparing given project type and the type obtained from the update service.

Definition at line 127 of file updatexml.inc.

References updatexml_determine_project_type(), and updatexml_get_release_history_xml().

Referenced by _drush_make_generate_projects(), drush_pm_find_project_from_extension(), and make_prepare_projects().

Here is the call graph for this function:

Here is the caller graph for this function:

release_info_fetch ( $request,
  $restrict_to = '',
  $select = 'never',
  $all = FALSE 
)

Obtain the most appropiate release for the requested project.

Parameters
Array&$requestA project request as returned by pm_parse_project_version(). The array will be expanded with the project type.
String$restrict_toOne of: 'dev': Forces choosing a -dev release. 'version': Forces choosing a point release. '': No restriction. Default is ''.
String$selectStrategy for selecting a release, should be one of:
  • auto: Try to select the latest release, if none found allow the user to choose.
  • always: Force the user to choose a release.
  • never: Try to select the latest release, if none found then fail.
  • ignore: Ignore and return NULL. If no supported release is found, allow to ask the user to choose one.
Boolean$allIn case $select = TRUE this indicates that all available releases will be offered the user to choose.
Returns
The selected release xml object.

Definition at line 41 of file updatexml.inc.

References drush_choice(), drush_log(), drush_set_error(), drush_user_abort(), dt(), release_info_filter_releases(), updatexml_determine_project_type(), updatexml_dev_release(), updatexml_get_release_history_xml(), updatexml_get_releases_from_xml(), updatexml_most_appropriate_release(), and updatexml_specific_release_version().

Referenced by drush_pm_download(), and make_prepare_projects().

Here is the call graph for this function:

Here is the caller graph for this function:

release_info_filter_releases (   $releases,
  $all = FALSE,
  $restrict_to = '',
  $show_all_until_installed = TRUE 
)

Filter a list of releases.

Parameters
$releasesArray of release information
$allShow all releases. If FALSE, shows only the first release that is Recommended or Supported or Security or Installed.
String$restrict_toIf set to 'dev', show only development release.
$show_all_until_installedIf TRUE, then all releases will be shown until the INSTALLED release is found, at which point the algorithm will stop.

Definition at line 267 of file updatexml.inc.

Referenced by drush_pm_releases(), and release_info_fetch().

Here is the caller graph for this function:

release_info_get_releases (   $requests)

Obtain releases info for given requests and fill in status information.

Parameters
$requestsAn array of project names optionally with a version.

Definition at line 105 of file updatexml.inc.

References updatexml_get_release_history_xml(), and updatexml_get_releases_from_xml().

Referenced by drush_pm_releases(), and release_info_print_releasenotes().

Here is the call graph for this function:

Here is the caller graph for this function:

release_info_print_releasenotes (   $requests,
  $print_status = TRUE,
  $tmpfile = NULL 
)

Prints release notes for given projects.

Parameters
$requestsAn array of drupal.org project names optionally with a version.
$print_statusBoolean. Used by pm-download to not print a informative note.
$tmpfileIf provided, a file that contains contents to show before the release notes.

Definition at line 154 of file updatexml.inc.

References drush_download_file(), drush_drupal_major_version(), drush_get_option(), drush_html_to_text(), drush_log(), drush_print_file(), drush_tempnam(), dt(), and release_info_get_releases().

Referenced by _pm_update_core(), drush_pm_download(), drush_pm_releasenotes(), and pm_update_packages().

Here is the call graph for this function:

Here is the caller graph for this function:

updatexml_best_release_found (   $releases)

Given a list of candidate releases, return the best one. This will be the first stable release if there are stable releases; otherwise, it will be any available release.

Definition at line 436 of file updatexml.inc.

Referenced by updatexml_dev_release(), updatexml_most_appropriate_release(), and updatexml_specific_release_version().

Here is the caller graph for this function:

updatexml_determine_project_type (   $xml)

Determine a project type from its update service xml.

Definition at line 586 of file updatexml.inc.

Referenced by release_info_check_project(), and release_info_fetch().

Here is the caller graph for this function:

updatexml_dev_release (   $request,
  $xml 
)

Pick the first dev release from XML list.

Parameters
array$requestAn array with project and version strings as returned by pm_parse_project_version().
resource$xmlA handle to the XML document.
Returns
array - The selected release xml object. FALSE - No dev releases were found.

Definition at line 396 of file updatexml.inc.

References updatexml_best_release_found().

Referenced by release_info_fetch(), and updatexml_parse_release().

Here is the call graph for this function:

Here is the caller graph for this function:

updatexml_get_release_history_xml (   $request)

Download the release history xml for the specified request.

Definition at line 467 of file updatexml.inc.

References drush_download_file(), drush_get_option(), drush_log(), drush_set_error(), drush_tempnam(), and dt().

Referenced by release_info_check_project(), release_info_fetch(), and release_info_get_releases().

Here is the call graph for this function:

Here is the caller graph for this function:

updatexml_get_releases_from_xml (   $xml,
  $project 
)

Obtain releases for a project's xml as returned by the update service.

Definition at line 496 of file updatexml.inc.

References DRUSH_BOOTSTRAP_DRUPAL_FULL, drush_get_context(), drush_get_projects(), and dt().

Referenced by release_info_fetch(), and release_info_get_releases().

Here is the call graph for this function:

Here is the caller graph for this function:

updatexml_most_appropriate_release (   $request,
  $xml 
)

Pick most appropriate release from XML list.

Parameters
array$requestAn array with project and version strings as returned by pm_parse_project_version().
resource$xmlA handle to the XML document.
Returns
array - The selected release xml object. FALSE - No releases were found.

Definition at line 416 of file updatexml.inc.

References updatexml_best_release_found().

Referenced by release_info_fetch(), and updatexml_parse_release().

Here is the call graph for this function:

Here is the caller graph for this function:

updatexml_parse_release (   $request,
  $xml,
  $restrict_to = '' 
)

No longer used by Drush core. Called by tests in releaseInfoTest.php. See equivalent logic in release_info_fetch.

Definition at line 328 of file updatexml.inc.

References updatexml_dev_release(), updatexml_most_appropriate_release(), and updatexml_specific_release_version().

Referenced by Unish\releaseInfoCase\testReleaseXML().

Here is the call graph for this function:

Here is the caller graph for this function:

updatexml_specific_release_version (   $request,
  $xml 
)

Pick a specific version from XML list.

Parameters
array$requestAn array with project and version strings as returned by pm_parse_project_version().
resource$xmlA handle to the XML document.
String$restrict_toOne of: 'dev': Forces a -dev release. 'version': Forces a point release. '': No restriction (auto-selects latest recommended or supported release if requested release is not found). Default is ''.
Returns
array - The selected release xml object. Empty if user did not specify a specific release. FALSE - The specified version could not be found.

Definition at line 359 of file updatexml.inc.

References updatexml_best_release_found().

Referenced by release_info_fetch(), and updatexml_parse_release().

Here is the call graph for this function:

Here is the caller graph for this function:

File

doxygen/html/updatexml_8inc.html
View source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Drush: commands/pm/release_info/updatexml.inc File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Drush
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_afac61274991793aa7e9133a8f4f291e.html">commands</a></li><li class="navelem"><a class="el" href="dir_15591510fc66414792ea8adada328324.html">pm</a></li><li class="navelem"><a class="el" href="dir_85ba0a2264122952f251df2e94992348.html">release_info</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">updatexml.inc File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="updatexml_8inc_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a7fe4c8cdddd122b232c8daf5484444f9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="updatexml_8inc.html#a7fe4c8cdddd122b232c8daf5484444f9">release_info_fetch</a> (&amp;$request, $restrict_to= '', $select= 'never', $all=FALSE)</td></tr>
<tr class="memitem:a40d4c136aadd10580d665514073a3c0b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="updatexml_8inc.html#a40d4c136aadd10580d665514073a3c0b">release_info_get_releases</a> ($requests)</td></tr>
<tr class="memitem:a1273e7da7133ada1987f4dde8859aad1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="updatexml_8inc.html#a1273e7da7133ada1987f4dde8859aad1">release_info_check_project</a> ($request, $type=NULL)</td></tr>
<tr class="memitem:a4c90192cc502c7c05a5b4554c7d50258"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="updatexml_8inc.html#a4c90192cc502c7c05a5b4554c7d50258">release_info_print_releasenotes</a> ($requests, $print_status=TRUE, $tmpfile=NULL)</td></tr>
<tr class="memitem:a915a7987817963f4faf46727136b5013"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="updatexml_8inc.html#a915a7987817963f4faf46727136b5013">_release_info_compare_date</a> ($a, $b)</td></tr>
<tr class="memitem:a6850a54b3ea4ca22b4e64b14851712bc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="updatexml_8inc.html#a6850a54b3ea4ca22b4e64b14851712bc">release_info_filter_releases</a> ($releases, $all=FALSE, $restrict_to= '', $show_all_until_installed=TRUE)</td></tr>
<tr class="memitem:aa9851a9fc6d5b1fe85341357d059321a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="updatexml_8inc.html#aa9851a9fc6d5b1fe85341357d059321a">updatexml_parse_release</a> ($request, $xml, $restrict_to= '')</td></tr>
<tr class="memitem:ad751aa32c24838c1055d7bfcdf119bb4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="updatexml_8inc.html#ad751aa32c24838c1055d7bfcdf119bb4">updatexml_specific_release_version</a> ($request, $xml)</td></tr>
<tr class="memitem:a1e73b712ba22db38fb129740f4293914"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="updatexml_8inc.html#a1e73b712ba22db38fb129740f4293914">updatexml_dev_release</a> ($request, $xml)</td></tr>
<tr class="memitem:a356068cfa3be6860ce7553c681888d58"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="updatexml_8inc.html#a356068cfa3be6860ce7553c681888d58">updatexml_most_appropriate_release</a> ($request, $xml)</td></tr>
<tr class="memitem:a6622ddef8e364513df626b131b8f6bfc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="updatexml_8inc.html#a6622ddef8e364513df626b131b8f6bfc">updatexml_best_release_found</a> ($releases)</td></tr>
<tr class="memitem:a991aa87c58565aa09c66aadf578f2241"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a991aa87c58565aa09c66aadf578f2241"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>updatexml_get_url</b> ($request)</td></tr>
<tr class="memitem:a2131dceb4ad05da633f876f3feaa6064"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="updatexml_8inc.html#a2131dceb4ad05da633f876f3feaa6064">updatexml_get_release_history_xml</a> ($request)</td></tr>
<tr class="memitem:a77d3e30a6d929bcfcbddaf167177dfab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="updatexml_8inc.html#a77d3e30a6d929bcfcbddaf167177dfab">updatexml_get_releases_from_xml</a> ($xml, $project)</td></tr>
<tr class="memitem:ae556ea1b63e6891e533346ac95941058"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="updatexml_8inc.html#ae556ea1b63e6891e533346ac95941058">updatexml_determine_project_type</a> ($xml)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ad69acfa69562b0d562e54e9942c6b931"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad69acfa69562b0d562e54e9942c6b931"></a>
const&#160;</td><td class="memItemRight" valign="bottom"><b>RELEASE_INFO_DEFAULT_URL</b> = 'http://updates.drupal.org/release-history'</td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Drush release info engine for update.drupal.org and compatible services.</p>
<p>This engine does connect directly to the update service. It doesn't depend on a bootstraped site. </p>

<p>Definition in file <a class="el" href="updatexml_8inc_source.html">updatexml.inc</a>.</p>
</div><h2>Function Documentation</h2>
<a class="anchor" id="a915a7987817963f4faf46727136b5013"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_release_info_compare_date </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Helper function for <a class="el" href="updatexml_8inc.html#a6850a54b3ea4ca22b4e64b14851712bc">release_info_filter_releases()</a>. </p>

<p>Definition at line <a class="el" href="updatexml_8inc_source.html#l00243">243</a> of file <a class="el" href="updatexml_8inc_source.html">updatexml.inc</a>.</p>

</div>
</div>
<a class="anchor" id="a1273e7da7133ada1987f4dde8859aad1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">release_info_check_project </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$request</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$type</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Check if a project is available in a update service.</p>
<p>Optionally check for consistency by comparing given project type and the type obtained from the update service. </p>

<p>Definition at line <a class="el" href="updatexml_8inc_source.html#l00127">127</a> of file <a class="el" href="updatexml_8inc_source.html">updatexml.inc</a>.</p>

<p>References <a class="el" href="updatexml_8inc_source.html#l00586">updatexml_determine_project_type()</a>, and <a class="el" href="updatexml_8inc_source.html#l00467">updatexml_get_release_history_xml()</a>.</p>

<p>Referenced by <a class="el" href="generate_8make_8inc_source.html#l00043">_drush_make_generate_projects()</a>, <a class="el" href="pm_8drush_8inc_source.html#l00824">drush_pm_find_project_from_extension()</a>, and <a class="el" href="make_8drush_8inc_source.html#l00283">make_prepare_projects()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a1273e7da7133ada1987f4dde8859aad1_cgraph.png" border="0" usemap="#updatexml_8inc_a1273e7da7133ada1987f4dde8859aad1_cgraph" alt=""/></div>
<map name="updatexml_8inc_a1273e7da7133ada1987f4dde8859aad1_cgraph" id="updatexml_8inc_a1273e7da7133ada1987f4dde8859aad1_cgraph">
<area shape="rect" id="node3" href="updatexml_8inc.html#ae556ea1b63e6891e533346ac95941058" title="updatexml_determine\l_project_type" alt="" coords="195,187,341,234"/><area shape="rect" id="node5" href="updatexml_8inc.html#a2131dceb4ad05da633f876f3feaa6064" title="updatexml_get_release\l_history_xml" alt="" coords="191,257,345,303"/><area shape="rect" id="node7" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="1709,544,1787,573"/><area shape="rect" id="node14" href="drush_8inc.html#a9cce12bffedae74c4a45174c59c79311" title="drush_download_file" alt="" coords="396,439,535,468"/><area shape="rect" id="node18" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="1688,1317,1808,1347"/><area shape="rect" id="node44" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="1475,827,1587,856"/><area shape="rect" id="node51" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1512,271,1549,300"/><area shape="rect" id="node96" href="group__filesystemfunctions.html#ga01729c5c432a2f30974966d888146d09" title="drush_tempnam" alt="" coords="831,308,945,337"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="2127,923,2255,952"/><area shape="rect" id="node11" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1889,839,2044,868"/><area shape="rect" id="node16" href="drush_8inc.html#a5d3c123a1d8fa15642f08ff635dbe2a1" title="_drush_is_url" alt="" coords="624,412,723,441"/><area shape="rect" id="node25" href="drush_8inc.html#a6b7589c9e3cd3f683c0ef137e1c30f49" title="drush_download_file_name" alt="" coords="584,697,763,727"/><area shape="rect" id="node62" href="group__filesystemfunctions.html#ga7557e035207db8d2dbe475e6a52c579c" title="drush_register_file\l_for_deletion" alt="" coords="1241,169,1369,215"/><area shape="rect" id="node73" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="600,465,747,495"/><area shape="rect" id="node20" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="1903,1316,2031,1345"/><area shape="rect" id="node23" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="1892,1369,2041,1399"/><area shape="rect" id="node27" href="includes_2environment_8inc.html#a92afdf9afda25ac6d226ba45f6f1fbe0" title="drush_directory_cache" alt="" coords="812,748,964,777"/><area shape="rect" id="node29" href="group__errorhandling.html#ga7bc0a52d28467940b2bb9588a660ed8f" title="drush_clear_error" alt="" coords="1024,956,1147,985"/><area shape="rect" id="node34" href="group__filesystemfunctions.html#gad1036a8fb12d105b55de87b4f3fe8002" title="drush_find_tmp" alt="" coords="1031,608,1140,637"/><area shape="rect" id="node42" href="group__filesystemfunctions.html#ga6027285d97028ad3299d3aa262be8c2f" title="drush_mkdir" alt="" coords="1259,647,1352,676"/><area shape="rect" id="node64" href="includes_2environment_8inc.html#a25a1b7c8414b818e263d31ff06363772" title="drush_get_username" alt="" coords="1015,852,1156,881"/><area shape="rect" id="node67" href="includes_2environment_8inc.html#afae6d4a5a12623e5502ca262346c799b" title="drush_server_home" alt="" coords="1017,799,1153,828"/><area shape="rect" id="node31" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="1467,1007,1595,1036"/><area shape="rect" id="node36" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="1467,600,1595,629"/><area shape="rect" id="node38" href="includes_2environment_8inc.html#a339c57f584d4f3d910d8c36763d054c2" title="drush_cwd" alt="" coords="1263,1007,1348,1036"/><area shape="rect" id="node47" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="1657,787,1839,816"/><area shape="rect" id="node53" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1681,254,1815,301"/><area shape="rect" id="node55" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1895,267,2039,296"/><area shape="rect" id="node58" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="2093,267,2288,296"/><area shape="rect" id="node75" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556" title="drush_shell_exec" alt="" coords="827,853,949,883"/><area shape="rect" id="node100" href="group__filesystemfunctions.html#ga0d795889ef507c45abb793b8685b36d0" title="drush_file_not_empty" alt="" coords="815,492,961,521"/><area shape="rect" id="node102" href="group__filesystemfunctions.html#gaac7379e8cfa2163a874542fc021bf521" title="drush_move_dir" alt="" coords="831,439,945,468"/><area shape="rect" id="node77" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2" title="_drush_shell_exec" alt="" coords="1020,1137,1151,1167"/><area shape="rect" id="node79" href="group__commandwrappers.html#gafc52f7e769d935b4d2462467cdf8d5ee" title="drush_escapeshellarg" alt="" coords="1232,700,1379,729"/><area shape="rect" id="node87" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="1488,1265,1573,1295"/><area shape="rect" id="node90" href="group__commandwrappers.html#ga3a1bb3ae751f14749ce1dbe4ec9c3288" title="drush_shell_proc_open" alt="" coords="1228,1215,1383,1244"/><area shape="rect" id="node94" href="group__commandwrappers.html#gac21dc9409bff5197d255978c3cf6e761" title="_drush_shell_exec_output_set" alt="" coords="1207,1111,1404,1140"/><area shape="rect" id="node82" href="group__commandwrappers.html#gac60b4740ceccf95b8e60d1896d93d2ab" title="_drush_escapeshellarg\l_windows" alt="" coords="1453,659,1608,706"/><area shape="rect" id="node84" href="group__commandwrappers.html#ga561ce790cc15caa5e1f0bfebc2546529" title="_drush_escapeshellarg\l_linux" alt="" coords="1453,729,1608,775"/><area shape="rect" id="node104" href="drush_8inc.html#a903c36790dbe5525fe9369c8476780af" title="drush_op" alt="" coords="1268,441,1343,471"/><area shape="rect" id="node113" href="group__filesystemfunctions.html#ga1d86ac8e2e56a75acb0abcdc8e0dcf09" title="drush_copy_dir" alt="" coords="1031,491,1140,520"/><area shape="rect" id="node109" href="drush_8inc.html#a2dd83647cc42a2dfcde54dc38f54827d" title="drush_call_user_func\l_array" alt="" coords="1459,374,1603,421"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a1273e7da7133ada1987f4dde8859aad1_icgraph.png" border="0" usemap="#updatexml_8inc_a1273e7da7133ada1987f4dde8859aad1_icgraph" alt=""/></div>
<map name="updatexml_8inc_a1273e7da7133ada1987f4dde8859aad1_icgraph" id="updatexml_8inc_a1273e7da7133ada1987f4dde8859aad1_icgraph">
<area shape="rect" id="node3" href="generate_8make_8inc.html#aa4ffaa2643ef640c4768f3635bba29a1" title="_drush_make_generate\l_projects" alt="" coords="189,5,347,51"/><area shape="rect" id="node7" href="pm_8drush_8inc.html#a9ac55f981042516472e063eef9d51b0c" title="drush_pm_find_project\l_from_extension" alt="" coords="192,74,344,121"/><area shape="rect" id="node11" href="make_8drush_8inc.html#ac8b7447fddc5e9edc48acd98aa680fe5" title="make_prepare_projects" alt="" coords="189,144,347,173"/><area shape="rect" id="node5" href="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="408,13,557,43"/><area shape="rect" id="node9" href="pm_8drush_8inc.html#af9a0b321cd245d1e1f3424ae5c9acde9" title="drush_pm_enable_validate" alt="" coords="395,83,571,112"/><area shape="rect" id="node13" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="411,135,555,182"/><area shape="rect" id="node17" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="429,205,536,235"/><area shape="rect" id="node15" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="661,148,755,177"/><area shape="rect" id="node20" href="classDrushMakeProject.html#a14e2e297d82eea0e5bd316255d092da8" title="DrushMakeProject\\recurse" alt="" coords="620,205,796,235"/><area shape="rect" id="node22" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="847,205,1012,235"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a7fe4c8cdddd122b232c8daf5484444f9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">release_info_fetch </td>
          <td>(</td>
          <td class="paramtype">&amp;&#160;</td>
          <td class="paramname"><em>$request</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$restrict_to</em> = <code>''</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$select</em> = <code>'never'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$all</em> = <code>FALSE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Obtain the most appropiate release for the requested project.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">Array</td><td class="paramname">&amp;$request</td><td>A project request as returned by <a class="el" href="pm_8drush_8inc.html#a66b0def0d14711d5c10884363c8ae1b5">pm_parse_project_version()</a>. The array will be expanded with the project type. </td></tr>
    <tr><td class="paramtype">String</td><td class="paramname">$restrict_to</td><td>One of: 'dev': Forces choosing a -dev release. 'version': Forces choosing a point release. '': No restriction. Default is ''. </td></tr>
    <tr><td class="paramtype">String</td><td class="paramname">$select</td><td>Strategy for selecting a release, should be one of:<ul>
<li>auto: Try to select the latest release, if none found allow the user to choose.</li>
<li>always: Force the user to choose a release.</li>
<li>never: Try to select the latest release, if none found then fail.</li>
<li>ignore: Ignore and return NULL. If no supported release is found, allow to ask the user to choose one. </li>
</ul>
</td></tr>
    <tr><td class="paramtype">Boolean</td><td class="paramname">$all</td><td>In case $select = TRUE this indicates that all available releases will be offered the user to choose.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The selected release xml object. </dd></dl>

<p>Definition at line <a class="el" href="updatexml_8inc_source.html#l00041">41</a> of file <a class="el" href="updatexml_8inc_source.html">updatexml.inc</a>.</p>

<p>References <a class="el" href="drush_8inc_source.html#l00429">drush_choice()</a>, <a class="el" href="drush_8inc_source.html#l01413">drush_log()</a>, <a class="el" href="drush_8inc_source.html#l01723">drush_set_error()</a>, <a class="el" href="drush_8inc_source.html#l01797">drush_user_abort()</a>, <a class="el" href="output_8inc_source.html#l00145">dt()</a>, <a class="el" href="updatexml_8inc_source.html#l00267">release_info_filter_releases()</a>, <a class="el" href="updatexml_8inc_source.html#l00586">updatexml_determine_project_type()</a>, <a class="el" href="updatexml_8inc_source.html#l00396">updatexml_dev_release()</a>, <a class="el" href="updatexml_8inc_source.html#l00467">updatexml_get_release_history_xml()</a>, <a class="el" href="updatexml_8inc_source.html#l00496">updatexml_get_releases_from_xml()</a>, <a class="el" href="updatexml_8inc_source.html#l00416">updatexml_most_appropriate_release()</a>, and <a class="el" href="updatexml_8inc_source.html#l00359">updatexml_specific_release_version()</a>.</p>

<p>Referenced by <a class="el" href="download_8pm_8inc_source.html#l00082">drush_pm_download()</a>, and <a class="el" href="make_8drush_8inc_source.html#l00283">make_prepare_projects()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a7fe4c8cdddd122b232c8daf5484444f9_cgraph.png" border="0" usemap="#updatexml_8inc_a7fe4c8cdddd122b232c8daf5484444f9_cgraph" alt=""/></div>
<map name="updatexml_8inc_a7fe4c8cdddd122b232c8daf5484444f9_cgraph" id="updatexml_8inc_a7fe4c8cdddd122b232c8daf5484444f9_cgraph">
<area shape="rect" id="node3" href="group__userinput.html#ga7e823bcd58051b17e6e5601340f0c784" title="drush_choice" alt="" coords="1340,108,1439,137"/><area shape="rect" id="node15" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1585,1203,1623,1232"/><area shape="rect" id="node32" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="1771,741,1848,771"/><area shape="rect" id="node38" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="1548,897,1660,927"/><area shape="rect" id="node45" href="group__errorhandling.html#ga366aaafdf8c774a58653c64a65b6d91c" title="drush_user_abort" alt="" coords="1328,413,1451,443"/><area shape="rect" id="node53" href="updatexml_8inc.html#a6850a54b3ea4ca22b4e64b14851712bc" title="release_info_filter\l_releases" alt="" coords="215,311,337,358"/><area shape="rect" id="node55" href="updatexml_8inc.html#ae556ea1b63e6891e533346ac95941058" title="updatexml_determine\l_project_type" alt="" coords="203,381,349,427"/><area shape="rect" id="node57" href="updatexml_8inc.html#a1e73b712ba22db38fb129740f4293914" title="updatexml_dev_release" alt="" coords="197,69,355,99"/><area shape="rect" id="node61" href="updatexml_8inc.html#a2131dceb4ad05da633f876f3feaa6064" title="updatexml_get_release\l_history_xml" alt="" coords="199,507,353,554"/><area shape="rect" id="node113" href="updatexml_8inc.html#a77d3e30a6d929bcfcbddaf167177dfab" title="updatexml_get_releases\l_from_xml" alt="" coords="637,1329,800,1375"/><area shape="rect" id="node146" href="updatexml_8inc.html#a356068cfa3be6860ce7553c681888d58" title="updatexml_most_appropriate\l_release" alt="" coords="181,122,371,169"/><area shape="rect" id="node149" href="updatexml_8inc.html#ad751aa32c24838c1055d7bfcdf119bb4" title="updatexml_specific\l_release_version" alt="" coords="209,191,343,238"/><area shape="rect" id="node5" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="1767,56,1852,85"/><area shape="rect" id="node7" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="1968,208,2088,237"/><area shape="rect" id="node11" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="2188,715,2316,744"/><area shape="rect" id="node24" href="group__outputfunctions.html#ga2dfb80176f98c67097334acfa98211cd" title="drush_print_table" alt="" coords="1544,5,1664,35"/><area shape="rect" id="node27" href="group__outputfunctions.html#ga03664ee5326159c3f8e6c97aa93c7981" title="drush_print_pipe" alt="" coords="1969,361,2087,391"/><area shape="rect" id="node9" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="2188,181,2316,211"/><area shape="rect" id="node13" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="2177,235,2327,264"/><area shape="rect" id="node17" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1743,1458,1876,1505"/><area shape="rect" id="node19" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1956,1467,2100,1496"/><area shape="rect" id="node22" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="2155,1467,2349,1496"/><area shape="rect" id="node35" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1951,792,2105,821"/><area shape="rect" id="node41" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="1719,795,1900,824"/><area shape="rect" id="node47" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="1540,413,1668,443"/><area shape="rect" id="node59" href="updatexml_8inc.html#a6622ddef8e364513df626b131b8f6bfc" title="updatexml_best_release\l_found" alt="" coords="419,122,581,169"/><area shape="rect" id="node64" href="drush_8inc.html#a9cce12bffedae74c4a45174c59c79311" title="drush_download_file" alt="" coords="431,644,569,673"/><area shape="rect" id="node98" href="group__filesystemfunctions.html#ga01729c5c432a2f30974966d888146d09" title="drush_tempnam" alt="" coords="876,636,991,665"/><area shape="rect" id="node66" href="drush_8inc.html#a5d3c123a1d8fa15642f08ff635dbe2a1" title="_drush_is_url" alt="" coords="669,733,768,763"/><area shape="rect" id="node69" href="drush_8inc.html#a6b7589c9e3cd3f683c0ef137e1c30f49" title="drush_download_file_name" alt="" coords="629,787,808,816"/><area shape="rect" id="node87" href="group__filesystemfunctions.html#ga7557e035207db8d2dbe475e6a52c579c" title="drush_register_file\l_for_deletion" alt="" coords="1325,567,1453,614"/><area shape="rect" id="node94" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="645,680,792,709"/><area shape="rect" id="node71" href="includes_2environment_8inc.html#a92afdf9afda25ac6d226ba45f6f1fbe0" title="drush_directory_cache" alt="" coords="857,796,1009,825"/><area shape="rect" id="node73" href="group__filesystemfunctions.html#gad1036a8fb12d105b55de87b4f3fe8002" title="drush_find_tmp" alt="" coords="1095,716,1204,745"/><area shape="rect" id="node81" href="group__filesystemfunctions.html#ga6027285d97028ad3299d3aa262be8c2f" title="drush_mkdir" alt="" coords="1343,795,1436,824"/><area shape="rect" id="node75" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="1325,637,1453,667"/><area shape="rect" id="node77" href="includes_2environment_8inc.html#a339c57f584d4f3d910d8c36763d054c2" title="drush_cwd" alt="" coords="1347,691,1432,720"/><area shape="rect" id="node96" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556" title="drush_shell_exec" alt="" coords="872,689,995,719"/><area shape="rect" id="node102" href="group__filesystemfunctions.html#ga0d795889ef507c45abb793b8685b36d0" title="drush_file_not_empty" alt="" coords="860,743,1007,772"/><area shape="rect" id="node104" href="group__filesystemfunctions.html#gaac7379e8cfa2163a874542fc021bf521" title="drush_move_dir" alt="" coords="1332,1101,1447,1131"/><area shape="rect" id="node116" href="group__extensions.html#gadf92772f6521fbc75a53ccec7e5e007e" title="drush_get_projects" alt="" coords="868,1461,999,1491"/><area shape="rect" id="node118" href="includes_2environment_8inc.html#a2f6ea049bc3f5361815aafe6f44a535d" title="drush_get_extensions" alt="" coords="1075,1568,1224,1597"/><area shape="rect" id="node120" href="engines_8inc.html#a91df31f18b0a1d05540ccaf85e6d9a88" title="drush_include_engine" alt="" coords="1316,1411,1463,1440"/><area shape="rect" id="node127" href="includes_2environment_8inc.html#a317a284967256e1c0452a13462388c21" title="drush_extension_get_name" alt="" coords="1059,1461,1240,1491"/><area shape="rect" id="node130" href="includes_2environment_8inc.html#a62a951f395505ed28ea3f0a5a108419c" title="drush_extension_get_path" alt="" coords="1063,1515,1236,1544"/><area shape="rect" id="node134" href="commands_2core_2drupal_2environment_8inc.html#a643d851fd8dc63ea2ce8cf67aa33098c" title="drush_module_exists" alt="" coords="1077,1723,1221,1752"/><area shape="rect" id="node138" href="includes_2environment_8inc.html#a5536e4ffcf1cdf1f176e15a3aed81af7" title="drush_extension_get_type" alt="" coords="1063,1357,1236,1387"/><area shape="rect" id="node141" href="group__extensions.html#ga1d2b7b533a453be8eac7d6fd78512ddb" title="_drush_pm_find_common_path" alt="" coords="1288,1307,1491,1336"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a7fe4c8cdddd122b232c8daf5484444f9_icgraph.png" border="0" usemap="#updatexml_8inc_a7fe4c8cdddd122b232c8daf5484444f9_icgraph" alt=""/></div>
<map name="updatexml_8inc_a7fe4c8cdddd122b232c8daf5484444f9_icgraph" id="updatexml_8inc_a7fe4c8cdddd122b232c8daf5484444f9_icgraph">
<area shape="rect" id="node3" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="189,5,331,35"/><area shape="rect" id="node5" href="make_8drush_8inc.html#ac8b7447fddc5e9edc48acd98aa680fe5" title="make_prepare_projects" alt="" coords="181,59,339,88"/><area shape="rect" id="node7" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="387,19,531,66"/><area shape="rect" id="node11" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="405,89,512,119"/><area shape="rect" id="node9" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="621,32,715,61"/><area shape="rect" id="node14" href="classDrushMakeProject.html#a14e2e297d82eea0e5bd316255d092da8" title="DrushMakeProject\\recurse" alt="" coords="580,89,756,119"/><area shape="rect" id="node16" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="807,89,972,119"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a6850a54b3ea4ca22b4e64b14851712bc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">release_info_filter_releases </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$releases</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$all</em> = <code>FALSE</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$restrict_to</em> = <code>''</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$show_all_until_installed</em> = <code>TRUE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Filter a list of releases.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype"></td><td class="paramname">$releases</td><td>Array of release information </td></tr>
    <tr><td class="paramtype"></td><td class="paramname">$all</td><td>Show all releases. If FALSE, shows only the first release that is Recommended or Supported or Security or Installed. </td></tr>
    <tr><td class="paramtype">String</td><td class="paramname">$restrict_to</td><td>If set to 'dev', show only development release. </td></tr>
    <tr><td class="paramtype"></td><td class="paramname">$show_all_until_installed</td><td>If TRUE, then all releases will be shown until the INSTALLED release is found, at which point the algorithm will stop. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="updatexml_8inc_source.html#l00267">267</a> of file <a class="el" href="updatexml_8inc_source.html">updatexml.inc</a>.</p>

<p>Referenced by <a class="el" href="pm_8drush_8inc_source.html#l01102">drush_pm_releases()</a>, and <a class="el" href="updatexml_8inc_source.html#l00041">release_info_fetch()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a6850a54b3ea4ca22b4e64b14851712bc_icgraph.png" border="0" usemap="#updatexml_8inc_a6850a54b3ea4ca22b4e64b14851712bc_icgraph" alt=""/></div>
<map name="updatexml_8inc_a6850a54b3ea4ca22b4e64b14851712bc_icgraph" id="updatexml_8inc_a6850a54b3ea4ca22b4e64b14851712bc_icgraph">
<area shape="rect" id="node3" href="pm_8drush_8inc.html#a6a5267ade011bc9e74e880668cff14af" title="drush_pm_releases" alt="" coords="180,5,313,35"/><area shape="rect" id="node5" href="updatexml_8inc.html#a7fe4c8cdddd122b232c8daf5484444f9" title="release_info_fetch" alt="" coords="183,59,311,88"/><area shape="rect" id="node7" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="371,32,512,61"/><area shape="rect" id="node9" href="make_8drush_8inc.html#ac8b7447fddc5e9edc48acd98aa680fe5" title="make_prepare_projects" alt="" coords="363,85,520,115"/><area shape="rect" id="node11" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="568,46,712,93"/><area shape="rect" id="node15" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="587,116,693,145"/><area shape="rect" id="node13" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="803,59,896,88"/><area shape="rect" id="node18" href="classDrushMakeProject.html#a14e2e297d82eea0e5bd316255d092da8" title="DrushMakeProject\\recurse" alt="" coords="761,116,937,145"/><area shape="rect" id="node20" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="988,116,1153,145"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a40d4c136aadd10580d665514073a3c0b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">release_info_get_releases </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$requests</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Obtain releases info for given requests and fill in status information.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$requests</td><td>An array of project names optionally with a version. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="updatexml_8inc_source.html#l00105">105</a> of file <a class="el" href="updatexml_8inc_source.html">updatexml.inc</a>.</p>

<p>References <a class="el" href="updatexml_8inc_source.html#l00467">updatexml_get_release_history_xml()</a>, and <a class="el" href="updatexml_8inc_source.html#l00496">updatexml_get_releases_from_xml()</a>.</p>

<p>Referenced by <a class="el" href="pm_8drush_8inc_source.html#l01102">drush_pm_releases()</a>, and <a class="el" href="updatexml_8inc_source.html#l00154">release_info_print_releasenotes()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a40d4c136aadd10580d665514073a3c0b_cgraph.png" border="0" usemap="#updatexml_8inc_a40d4c136aadd10580d665514073a3c0b_cgraph" alt=""/></div>
<map name="updatexml_8inc_a40d4c136aadd10580d665514073a3c0b_cgraph" id="updatexml_8inc_a40d4c136aadd10580d665514073a3c0b_cgraph">
<area shape="rect" id="node3" href="updatexml_8inc.html#a2131dceb4ad05da633f876f3feaa6064" title="updatexml_get_release\l_history_xml" alt="" coords="228,407,383,454"/><area shape="rect" id="node94" href="updatexml_8inc.html#a77d3e30a6d929bcfcbddaf167177dfab" title="updatexml_get_releases\l_from_xml" alt="" coords="432,1279,595,1326"/><area shape="rect" id="node5" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="1800,797,1877,827"/><area shape="rect" id="node12" href="drush_8inc.html#a9cce12bffedae74c4a45174c59c79311" title="drush_download_file" alt="" coords="444,416,583,445"/><area shape="rect" id="node16" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="672,109,792,139"/><area shape="rect" id="node38" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="1587,643,1699,672"/><area shape="rect" id="node45" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1624,1077,1661,1107"/><area shape="rect" id="node74" href="group__filesystemfunctions.html#ga01729c5c432a2f30974966d888146d09" title="drush_tempnam" alt="" coords="903,300,1017,329"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="2217,693,2345,723"/><area shape="rect" id="node9" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1980,745,2135,775"/><area shape="rect" id="node14" href="drush_8inc.html#a5d3c123a1d8fa15642f08ff635dbe2a1" title="_drush_is_url" alt="" coords="683,363,781,392"/><area shape="rect" id="node23" href="drush_8inc.html#a6b7589c9e3cd3f683c0ef137e1c30f49" title="drush_download_file_name" alt="" coords="643,541,821,571"/><area shape="rect" id="node56" href="group__filesystemfunctions.html#ga7557e035207db8d2dbe475e6a52c579c" title="drush_register_file\l_for_deletion" alt="" coords="1373,213,1501,259"/><area shape="rect" id="node67" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="659,416,805,445"/><area shape="rect" id="node18" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="896,109,1024,139"/><area shape="rect" id="node21" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="885,5,1035,35"/><area shape="rect" id="node25" href="includes_2environment_8inc.html#a92afdf9afda25ac6d226ba45f6f1fbe0" title="drush_directory_cache" alt="" coords="884,613,1036,643"/><area shape="rect" id="node27" href="group__errorhandling.html#ga7bc0a52d28467940b2bb9588a660ed8f" title="drush_clear_error" alt="" coords="1132,640,1255,669"/><area shape="rect" id="node29" href="group__filesystemfunctions.html#gad1036a8fb12d105b55de87b4f3fe8002" title="drush_find_tmp" alt="" coords="1139,407,1248,436"/><area shape="rect" id="node36" href="group__filesystemfunctions.html#ga6027285d97028ad3299d3aa262be8c2f" title="drush_mkdir" alt="" coords="1391,643,1484,672"/><area shape="rect" id="node58" href="includes_2environment_8inc.html#a25a1b7c8414b818e263d31ff06363772" title="drush_get_username" alt="" coords="1123,587,1264,616"/><area shape="rect" id="node61" href="includes_2environment_8inc.html#afae6d4a5a12623e5502ca262346c799b" title="drush_server_home" alt="" coords="1125,693,1261,723"/><area shape="rect" id="node31" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="1373,384,1501,413"/><area shape="rect" id="node33" href="includes_2environment_8inc.html#a339c57f584d4f3d910d8c36763d054c2" title="drush_cwd" alt="" coords="1600,435,1685,464"/><area shape="rect" id="node41" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="1748,641,1929,671"/><area shape="rect" id="node47" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1772,1474,1905,1521"/><area shape="rect" id="node49" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1985,1483,2129,1512"/><area shape="rect" id="node52" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="2184,1483,2379,1512"/><area shape="rect" id="node69" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556" title="drush_shell_exec" alt="" coords="899,360,1021,389"/><area shape="rect" id="node78" href="group__filesystemfunctions.html#ga0d795889ef507c45abb793b8685b36d0" title="drush_file_not_empty" alt="" coords="887,416,1033,445"/><area shape="rect" id="node80" href="group__filesystemfunctions.html#gaac7379e8cfa2163a874542fc021bf521" title="drush_move_dir" alt="" coords="1136,483,1251,512"/><area shape="rect" id="node71" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2" title="_drush_shell_exec" alt="" coords="1992,357,2123,387"/><area shape="rect" id="node82" href="drush_8inc.html#a903c36790dbe5525fe9369c8476780af" title="drush_op" alt="" coords="1400,589,1475,619"/><area shape="rect" id="node97" href="group__extensions.html#gadf92772f6521fbc75a53ccec7e5e007e" title="drush_get_projects" alt="" coords="667,1412,797,1441"/><area shape="rect" id="node99" href="includes_2environment_8inc.html#a2f6ea049bc3f5361815aafe6f44a535d" title="drush_get_extensions" alt="" coords="885,1571,1035,1600"/><area shape="rect" id="node105" href="engines_8inc.html#a91df31f18b0a1d05540ccaf85e6d9a88" title="drush_include_engine" alt="" coords="1120,1413,1267,1443"/><area shape="rect" id="node119" href="includes_2environment_8inc.html#a317a284967256e1c0452a13462388c21" title="drush_extension_get_name" alt="" coords="869,1307,1051,1336"/><area shape="rect" id="node124" href="includes_2environment_8inc.html#a62a951f395505ed28ea3f0a5a108419c" title="drush_extension_get_path" alt="" coords="873,1360,1047,1389"/><area shape="rect" id="node130" href="commands_2core_2drupal_2environment_8inc.html#a643d851fd8dc63ea2ce8cf67aa33098c" title="drush_module_exists" alt="" coords="888,1464,1032,1493"/><area shape="rect" id="node134" href="includes_2environment_8inc.html#a5536e4ffcf1cdf1f176e15a3aed81af7" title="drush_extension_get_type" alt="" coords="873,1517,1047,1547"/><area shape="rect" id="node139" href="group__extensions.html#ga1d2b7b533a453be8eac7d6fd78512ddb" title="_drush_pm_find_common_path" alt="" coords="1336,1307,1539,1336"/><area shape="rect" id="node101" href="commands_2core_2drupal_2environment_8inc.html#a7bab407b662383206abfd7d40e129e10" title="drush_get_modules" alt="" coords="1127,1621,1260,1651"/><area shape="rect" id="node103" href="commands_2core_2drupal_2environment_8inc.html#ad5a30ae04efcc0bd416f2c555bb7c144" title="drush_get_themes" alt="" coords="1129,1675,1257,1704"/><area shape="rect" id="node107" href="engines_8inc.html#ae94a82d80d5e90cb126de1f16a7f8fe4" title="drush_get_engines" alt="" coords="1372,949,1503,979"/><area shape="rect" id="node113" href="drush_8inc.html#a80ce43b30f833522f72180811dab5a3e" title="drush_include" alt="" coords="1592,1649,1693,1679"/><area shape="rect" id="node121" href="commands_2core_2drupal_2environment_8inc.html#a7fbf68cf166c5aa976911044a94a06af" title="_drush_extension_get_name" alt="" coords="1100,1307,1287,1336"/><area shape="rect" id="node126" href="commands_2core_2drupal_2environment_8inc.html#a3a2d23907fbfa722e287ccadd5fe49ae" title="_drush_extension_get_path" alt="" coords="1103,1360,1284,1389"/><area shape="rect" id="node136" href="commands_2core_2drupal_2environment_8inc.html#aa061a03714dfbab1c44fcef58b440de5" title="_drush_extension_get_type" alt="" coords="1103,1467,1284,1496"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a40d4c136aadd10580d665514073a3c0b_icgraph.png" border="0" usemap="#updatexml_8inc_a40d4c136aadd10580d665514073a3c0b_icgraph" alt=""/></div>
<map name="updatexml_8inc_a40d4c136aadd10580d665514073a3c0b_icgraph" id="updatexml_8inc_a40d4c136aadd10580d665514073a3c0b_icgraph">
<area shape="rect" id="node3" href="pm_8drush_8inc.html#a6a5267ade011bc9e74e880668cff14af" title="drush_pm_releases" alt="" coords="228,24,361,53"/><area shape="rect" id="node5" href="updatexml_8inc.html#a4c90192cc502c7c05a5b4554c7d50258" title="release_info_print\l_releasenotes" alt="" coords="233,77,356,123"/><area shape="rect" id="node7" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="420,5,561,35"/><area shape="rect" id="node9" href="pm_8drush_8inc.html#a1bce10f51c87e2afae2e5e604c7a035f" title="drush_pm_releasenotes" alt="" coords="411,59,571,88"/><area shape="rect" id="node11" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="428,112,553,141"/><area shape="rect" id="node15" href="updatecode_8pm_8inc.html#a604cbac2dc913cf35f3d4f7f79f4bc4b" title="pm_update_packages" alt="" coords="416,165,565,195"/><area shape="rect" id="node13" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="620,139,772,168"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a4c90192cc502c7c05a5b4554c7d50258"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">release_info_print_releasenotes </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$requests</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$print_status</em> = <code>TRUE</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$tmpfile</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Prints release notes for given projects.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$requests</td><td>An array of drupal.org project names optionally with a version. </td></tr>
    <tr><td class="paramname">$print_status</td><td>Boolean. Used by pm-download to not print a informative note. </td></tr>
    <tr><td class="paramname">$tmpfile</td><td>If provided, a file that contains contents to show before the release notes. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="updatexml_8inc_source.html#l00154">154</a> of file <a class="el" href="updatexml_8inc_source.html">updatexml.inc</a>.</p>

<p>References <a class="el" href="drush_8inc_source.html#l00721">drush_download_file()</a>, <a class="el" href="includes_2drupal_8inc_source.html#l00077">drush_drupal_major_version()</a>, <a class="el" href="context_8inc_source.html#l00405">drush_get_option()</a>, <a class="el" href="output_8inc_source.html#l00182">drush_html_to_text()</a>, <a class="el" href="drush_8inc_source.html#l01413">drush_log()</a>, <a class="el" href="output_8inc_source.html#l00668">drush_print_file()</a>, <a class="el" href="filesystem_8inc_source.html#l00485">drush_tempnam()</a>, <a class="el" href="output_8inc_source.html#l00145">dt()</a>, and <a class="el" href="updatexml_8inc_source.html#l00105">release_info_get_releases()</a>.</p>

<p>Referenced by <a class="el" href="updatecode_8pm_8inc_source.html#l00123">_pm_update_core()</a>, <a class="el" href="download_8pm_8inc_source.html#l00082">drush_pm_download()</a>, <a class="el" href="pm_8drush_8inc_source.html#l01135">drush_pm_releasenotes()</a>, and <a class="el" href="updatecode_8pm_8inc_source.html#l00241">pm_update_packages()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a4c90192cc502c7c05a5b4554c7d50258_cgraph.png" border="0" usemap="#updatexml_8inc_a4c90192cc502c7c05a5b4554c7d50258_cgraph" alt=""/></div>
<map name="updatexml_8inc_a4c90192cc502c7c05a5b4554c7d50258_cgraph" id="updatexml_8inc_a4c90192cc502c7c05a5b4554c7d50258_cgraph">
<area shape="rect" id="node3" href="drush_8inc.html#a9cce12bffedae74c4a45174c59c79311" title="drush_download_file" alt="" coords="607,701,745,731"/><area shape="rect" id="node7" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="1912,247,2032,276"/><area shape="rect" id="node42" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="1933,1219,2011,1248"/><area shape="rect" id="node46" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1748,1497,1785,1527"/><area shape="rect" id="node48" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1905,1943,2039,1990"/><area shape="rect" id="node87" href="group__filesystemfunctions.html#ga01729c5c432a2f30974966d888146d09" title="drush_tempnam" alt="" coords="1060,456,1175,485"/><area shape="rect" id="node111" href="group__outputfunctions.html#gaf5119cf7ab3248aac5314f1dcb3d4c75" title="drush_html_to_text" alt="" coords="1051,43,1184,72"/><area shape="rect" id="node114" href="group__outputfunctions.html#ga8059aaf93da4ec3f4c5d3821928a9002" title="drush_print_file" alt="" coords="829,196,939,225"/><area shape="rect" id="node128" href="updatexml_8inc.html#a40d4c136aadd10580d665514073a3c0b" title="release_info_get_releases" alt="" coords="179,1067,352,1096"/><area shape="rect" id="node5" href="drush_8inc.html#a5d3c123a1d8fa15642f08ff635dbe2a1" title="_drush_is_url" alt="" coords="835,568,933,597"/><area shape="rect" id="node15" href="drush_8inc.html#a6b7589c9e3cd3f683c0ef137e1c30f49" title="drush_download_file_name" alt="" coords="795,805,973,835"/><area shape="rect" id="node57" href="group__filesystemfunctions.html#ga7557e035207db8d2dbe475e6a52c579c" title="drush_register_file\l_for_deletion" alt="" coords="1489,559,1617,606"/><area shape="rect" id="node68" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="811,621,957,651"/><area shape="rect" id="node9" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="2127,228,2255,257"/><area shape="rect" id="node11" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="2351,787,2479,816"/><area shape="rect" id="node13" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="2116,281,2265,311"/><area shape="rect" id="node17" href="includes_2environment_8inc.html#a92afdf9afda25ac6d226ba45f6f1fbe0" title="drush_directory_cache" alt="" coords="1041,857,1193,887"/><area shape="rect" id="node19" href="group__errorhandling.html#ga7bc0a52d28467940b2bb9588a660ed8f" title="drush_clear_error" alt="" coords="1272,779,1395,808"/><area shape="rect" id="node24" href="group__filesystemfunctions.html#gad1036a8fb12d105b55de87b4f3fe8002" title="drush_find_tmp" alt="" coords="1279,725,1388,755"/><area shape="rect" id="node32" href="group__filesystemfunctions.html#ga6027285d97028ad3299d3aa262be8c2f" title="drush_mkdir" alt="" coords="1507,936,1600,965"/><area shape="rect" id="node34" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="1711,960,1823,989"/><area shape="rect" id="node59" href="includes_2environment_8inc.html#a25a1b7c8414b818e263d31ff06363772" title="drush_get_username" alt="" coords="1263,936,1404,965"/><area shape="rect" id="node62" href="includes_2environment_8inc.html#afae6d4a5a12623e5502ca262346c799b" title="drush_server_home" alt="" coords="1265,883,1401,912"/><area shape="rect" id="node21" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="1703,787,1831,816"/><area shape="rect" id="node26" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="1703,567,1831,596"/><area shape="rect" id="node28" href="includes_2environment_8inc.html#a339c57f584d4f3d910d8c36763d054c2" title="drush_cwd" alt="" coords="1511,680,1596,709"/><area shape="rect" id="node37" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="1881,864,2063,893"/><area shape="rect" id="node39" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="2113,968,2268,997"/><area shape="rect" id="node50" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="2119,1952,2263,1981"/><area shape="rect" id="node53" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="2317,1952,2512,1981"/><area shape="rect" id="node70" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556" title="drush_shell_exec" alt="" coords="1056,564,1179,593"/><area shape="rect" id="node91" href="group__filesystemfunctions.html#ga0d795889ef507c45abb793b8685b36d0" title="drush_file_not_empty" alt="" coords="1044,621,1191,651"/><area shape="rect" id="node93" href="group__filesystemfunctions.html#gaac7379e8cfa2163a874542fc021bf521" title="drush_move_dir" alt="" coords="1060,1192,1175,1221"/><area shape="rect" id="node72" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2" title="_drush_shell_exec" alt="" coords="1268,352,1399,381"/><area shape="rect" id="node74" href="group__commandwrappers.html#gafc52f7e769d935b4d2462467cdf8d5ee" title="drush_escapeshellarg" alt="" coords="1480,507,1627,536"/><area shape="rect" id="node78" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="1724,247,1809,276"/><area shape="rect" id="node81" href="group__commandwrappers.html#ga3a1bb3ae751f14749ce1dbe4ec9c3288" title="drush_shell_proc_open" alt="" coords="1476,352,1631,381"/><area shape="rect" id="node85" href="group__commandwrappers.html#gac21dc9409bff5197d255978c3cf6e761" title="_drush_shell_exec_output_set" alt="" coords="1455,299,1652,328"/><area shape="rect" id="node95" href="drush_8inc.html#a903c36790dbe5525fe9369c8476780af" title="drush_op" alt="" coords="1516,1192,1591,1221"/><area shape="rect" id="node102" href="group__filesystemfunctions.html#ga1d86ac8e2e56a75acb0abcdc8e0dcf09" title="drush_copy_dir" alt="" coords="1279,1244,1388,1273"/><area shape="rect" id="node119" href="group__outputfunctions.html#ga03664ee5326159c3f8e6c97aa93c7981" title="drush_print_pipe" alt="" coords="1913,119,2031,148"/><area shape="rect" id="node123" href="group__commandwrappers.html#gad0b72e62d81d339d68dc2d3d36db75d6" title="drush_shell_exec_interactive" alt="" coords="1023,300,1212,329"/><area shape="rect" id="node130" href="updatexml_8inc.html#a2131dceb4ad05da633f876f3feaa6064" title="updatexml_get_release\l_history_xml" alt="" coords="401,1058,556,1105"/><area shape="rect" id="node138" href="updatexml_8inc.html#a77d3e30a6d929bcfcbddaf167177dfab" title="updatexml_get_releases\l_from_xml" alt="" coords="1036,1849,1199,1895"/><area shape="rect" id="node141" href="group__extensions.html#gadf92772f6521fbc75a53ccec7e5e007e" title="drush_get_projects" alt="" coords="1268,1805,1399,1835"/><area shape="rect" id="node143" href="includes_2environment_8inc.html#a2f6ea049bc3f5361815aafe6f44a535d" title="drush_get_extensions" alt="" coords="1479,1701,1628,1731"/><area shape="rect" id="node148" href="includes_2environment_8inc.html#a317a284967256e1c0452a13462388c21" title="drush_extension_get_name" alt="" coords="1463,1859,1644,1888"/><area shape="rect" id="node150" href="includes_2environment_8inc.html#a62a951f395505ed28ea3f0a5a108419c" title="drush_extension_get_path" alt="" coords="1467,1805,1640,1835"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a4c90192cc502c7c05a5b4554c7d50258_icgraph.png" border="0" usemap="#updatexml_8inc_a4c90192cc502c7c05a5b4554c7d50258_icgraph" alt=""/></div>
<map name="updatexml_8inc_a4c90192cc502c7c05a5b4554c7d50258_icgraph" id="updatexml_8inc_a4c90192cc502c7c05a5b4554c7d50258_icgraph">
<area shape="rect" id="node3" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="196,5,321,35"/><area shape="rect" id="node7" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="188,59,329,88"/><area shape="rect" id="node9" href="pm_8drush_8inc.html#a1bce10f51c87e2afae2e5e604c7a035f" title="drush_pm_releasenotes" alt="" coords="179,112,339,141"/><area shape="rect" id="node11" href="updatecode_8pm_8inc.html#a604cbac2dc913cf35f3d4f7f79f4bc4b" title="pm_update_packages" alt="" coords="184,165,333,195"/><area shape="rect" id="node5" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="388,85,540,115"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a6622ddef8e364513df626b131b8f6bfc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">updatexml_best_release_found </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$releases</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Given a list of candidate releases, return the best one. This will be the first stable release if there are stable releases; otherwise, it will be any available release. </p>

<p>Definition at line <a class="el" href="updatexml_8inc_source.html#l00436">436</a> of file <a class="el" href="updatexml_8inc_source.html">updatexml.inc</a>.</p>

<p>Referenced by <a class="el" href="updatexml_8inc_source.html#l00396">updatexml_dev_release()</a>, <a class="el" href="updatexml_8inc_source.html#l00416">updatexml_most_appropriate_release()</a>, and <a class="el" href="updatexml_8inc_source.html#l00359">updatexml_specific_release_version()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a6622ddef8e364513df626b131b8f6bfc_icgraph.png" border="0" usemap="#updatexml_8inc_a6622ddef8e364513df626b131b8f6bfc_icgraph" alt=""/></div>
<map name="updatexml_8inc_a6622ddef8e364513df626b131b8f6bfc_icgraph" id="updatexml_8inc_a6622ddef8e364513df626b131b8f6bfc_icgraph">
<area shape="rect" id="node3" href="updatexml_8inc.html#a1e73b712ba22db38fb129740f4293914" title="updatexml_dev_release" alt="" coords="232,67,389,96"/><area shape="rect" id="node26" href="updatexml_8inc.html#a356068cfa3be6860ce7553c681888d58" title="updatexml_most_appropriate\l_release" alt="" coords="216,119,405,166"/><area shape="rect" id="node30" href="updatexml_8inc.html#ad751aa32c24838c1055d7bfcdf119bb4" title="updatexml_specific\l_release_version" alt="" coords="244,189,377,235"/><area shape="rect" id="node5" href="updatexml_8inc.html#a7fe4c8cdddd122b232c8daf5484444f9" title="release_info_fetch" alt="" coords="475,97,603,127"/><area shape="rect" id="node22" href="updatexml_8inc.html#aa9851a9fc6d5b1fe85341357d059321a" title="updatexml_parse_release" alt="" coords="453,155,624,184"/><area shape="rect" id="node7" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="680,97,821,127"/><area shape="rect" id="node9" href="make_8drush_8inc.html#ac8b7447fddc5e9edc48acd98aa680fe5" title="make_prepare_projects" alt="" coords="672,44,829,73"/><area shape="rect" id="node11" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="877,5,1021,51"/><area shape="rect" id="node15" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="896,75,1003,104"/><area shape="rect" id="node13" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="1112,17,1205,47"/><area shape="rect" id="node18" href="classDrushMakeProject.html#a14e2e297d82eea0e5bd316255d092da8" title="DrushMakeProject\\recurse" alt="" coords="1071,75,1247,104"/><area shape="rect" id="node20" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="1297,75,1463,104"/><area shape="rect" id="node24" href="classUnish_1_1releaseInfoCase.html#ac6674cd3b0e5cb2861e3550cf88fd320" title="Unish\\releaseInfoCase\l\\testReleaseXML" alt="" coords="673,150,828,197"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae556ea1b63e6891e533346ac95941058"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">updatexml_determine_project_type </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$xml</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Determine a project type from its update service xml. </p>

<p>Definition at line <a class="el" href="updatexml_8inc_source.html#l00586">586</a> of file <a class="el" href="updatexml_8inc_source.html">updatexml.inc</a>.</p>

<p>Referenced by <a class="el" href="updatexml_8inc_source.html#l00127">release_info_check_project()</a>, and <a class="el" href="updatexml_8inc_source.html#l00041">release_info_fetch()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_ae556ea1b63e6891e533346ac95941058_icgraph.png" border="0" usemap="#updatexml_8inc_ae556ea1b63e6891e533346ac95941058_icgraph" alt=""/></div>
<map name="updatexml_8inc_ae556ea1b63e6891e533346ac95941058_icgraph" id="updatexml_8inc_ae556ea1b63e6891e533346ac95941058_icgraph">
<area shape="rect" id="node3" href="updatexml_8inc.html#a1273e7da7133ada1987f4dde8859aad1" title="release_info_check\l_project" alt="" coords="201,74,335,121"/><area shape="rect" id="node26" href="updatexml_8inc.html#a7fe4c8cdddd122b232c8daf5484444f9" title="release_info_fetch" alt="" coords="204,144,332,173"/><area shape="rect" id="node5" href="generate_8make_8inc.html#aa4ffaa2643ef640c4768f3635bba29a1" title="_drush_make_generate\l_projects" alt="" coords="384,5,541,51"/><area shape="rect" id="node9" href="pm_8drush_8inc.html#a9ac55f981042516472e063eef9d51b0c" title="drush_pm_find_project\l_from_extension" alt="" coords="387,74,539,121"/><area shape="rect" id="node13" href="make_8drush_8inc.html#ac8b7447fddc5e9edc48acd98aa680fe5" title="make_prepare_projects" alt="" coords="384,144,541,173"/><area shape="rect" id="node7" href="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="603,13,752,43"/><area shape="rect" id="node11" href="pm_8drush_8inc.html#af9a0b321cd245d1e1f3424ae5c9acde9" title="drush_pm_enable_validate" alt="" coords="589,83,765,112"/><area shape="rect" id="node15" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="605,135,749,182"/><area shape="rect" id="node19" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="624,205,731,235"/><area shape="rect" id="node17" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="856,148,949,177"/><area shape="rect" id="node22" href="classDrushMakeProject.html#a14e2e297d82eea0e5bd316255d092da8" title="DrushMakeProject\\recurse" alt="" coords="815,205,991,235"/><area shape="rect" id="node24" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="1041,205,1207,235"/><area shape="rect" id="node28" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="392,197,533,227"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a1e73b712ba22db38fb129740f4293914"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">updatexml_dev_release </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$request</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$xml</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Pick the first dev release from XML list.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">array</td><td class="paramname">$request</td><td>An array with project and version strings as returned by <a class="el" href="pm_8drush_8inc.html#a66b0def0d14711d5c10884363c8ae1b5">pm_parse_project_version()</a>. </td></tr>
    <tr><td class="paramtype">resource</td><td class="paramname">$xml</td><td>A handle to the XML document. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>array - The selected release xml object. FALSE - No dev releases were found. </dd></dl>

<p>Definition at line <a class="el" href="updatexml_8inc_source.html#l00396">396</a> of file <a class="el" href="updatexml_8inc_source.html">updatexml.inc</a>.</p>

<p>References <a class="el" href="updatexml_8inc_source.html#l00436">updatexml_best_release_found()</a>.</p>

<p>Referenced by <a class="el" href="updatexml_8inc_source.html#l00041">release_info_fetch()</a>, and <a class="el" href="updatexml_8inc_source.html#l00328">updatexml_parse_release()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a1e73b712ba22db38fb129740f4293914_cgraph.png" border="0" usemap="#updatexml_8inc_a1e73b712ba22db38fb129740f4293914_cgraph" alt=""/></div>
<map name="updatexml_8inc_a1e73b712ba22db38fb129740f4293914_cgraph" id="updatexml_8inc_a1e73b712ba22db38fb129740f4293914_cgraph">
<area shape="rect" id="node3" href="updatexml_8inc.html#a6622ddef8e364513df626b131b8f6bfc" title="updatexml_best_release\l_found" alt="" coords="213,5,376,51"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a1e73b712ba22db38fb129740f4293914_icgraph.png" border="0" usemap="#updatexml_8inc_a1e73b712ba22db38fb129740f4293914_icgraph" alt=""/></div>
<map name="updatexml_8inc_a1e73b712ba22db38fb129740f4293914_icgraph" id="updatexml_8inc_a1e73b712ba22db38fb129740f4293914_icgraph">
<area shape="rect" id="node3" href="updatexml_8inc.html#a7fe4c8cdddd122b232c8daf5484444f9" title="release_info_fetch" alt="" coords="235,59,363,88"/><area shape="rect" id="node20" href="updatexml_8inc.html#aa9851a9fc6d5b1fe85341357d059321a" title="updatexml_parse_release" alt="" coords="213,116,384,145"/><area shape="rect" id="node5" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="440,5,581,35"/><area shape="rect" id="node7" href="make_8drush_8inc.html#ac8b7447fddc5e9edc48acd98aa680fe5" title="make_prepare_projects" alt="" coords="432,59,589,88"/><area shape="rect" id="node9" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="637,19,781,66"/><area shape="rect" id="node13" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="656,89,763,119"/><area shape="rect" id="node11" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="872,32,965,61"/><area shape="rect" id="node16" href="classDrushMakeProject.html#a14e2e297d82eea0e5bd316255d092da8" title="DrushMakeProject\\recurse" alt="" coords="831,89,1007,119"/><area shape="rect" id="node18" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="1057,89,1223,119"/><area shape="rect" id="node22" href="classUnish_1_1releaseInfoCase.html#ac6674cd3b0e5cb2861e3550cf88fd320" title="Unish\\releaseInfoCase\l\\testReleaseXML" alt="" coords="433,111,588,158"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a2131dceb4ad05da633f876f3feaa6064"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">updatexml_get_release_history_xml </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$request</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Download the release history xml for the specified request. </p>

<p>Definition at line <a class="el" href="updatexml_8inc_source.html#l00467">467</a> of file <a class="el" href="updatexml_8inc_source.html">updatexml.inc</a>.</p>

<p>References <a class="el" href="drush_8inc_source.html#l00721">drush_download_file()</a>, <a class="el" href="context_8inc_source.html#l00405">drush_get_option()</a>, <a class="el" href="drush_8inc_source.html#l01413">drush_log()</a>, <a class="el" href="drush_8inc_source.html#l01723">drush_set_error()</a>, <a class="el" href="filesystem_8inc_source.html#l00485">drush_tempnam()</a>, and <a class="el" href="output_8inc_source.html#l00145">dt()</a>.</p>

<p>Referenced by <a class="el" href="updatexml_8inc_source.html#l00127">release_info_check_project()</a>, <a class="el" href="updatexml_8inc_source.html#l00041">release_info_fetch()</a>, and <a class="el" href="updatexml_8inc_source.html#l00105">release_info_get_releases()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a2131dceb4ad05da633f876f3feaa6064_cgraph.png" border="0" usemap="#updatexml_8inc_a2131dceb4ad05da633f876f3feaa6064_cgraph" alt=""/></div>
<map name="updatexml_8inc_a2131dceb4ad05da633f876f3feaa6064_cgraph" id="updatexml_8inc_a2131dceb4ad05da633f876f3feaa6064_cgraph">
<area shape="rect" id="node3" href="drush_8inc.html#a9cce12bffedae74c4a45174c59c79311" title="drush_download_file" alt="" coords="212,866,351,895"/><area shape="rect" id="node7" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="1504,1292,1624,1322"/><area shape="rect" id="node34" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="1291,552,1403,582"/><area shape="rect" id="node42" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="1525,655,1603,684"/><area shape="rect" id="node46" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1328,175,1365,204"/><area shape="rect" id="node91" href="group__filesystemfunctions.html#ga01729c5c432a2f30974966d888146d09" title="drush_tempnam" alt="" coords="647,892,761,922"/><area shape="rect" id="node5" href="drush_8inc.html#a5d3c123a1d8fa15642f08ff635dbe2a1" title="_drush_is_url" alt="" coords="440,839,539,868"/><area shape="rect" id="node15" href="drush_8inc.html#a6b7589c9e3cd3f683c0ef137e1c30f49" title="drush_download_file_name" alt="" coords="400,579,579,608"/><area shape="rect" id="node57" href="group__filesystemfunctions.html#ga7557e035207db8d2dbe475e6a52c579c" title="drush_register_file\l_for_deletion" alt="" coords="1057,912,1185,958"/><area shape="rect" id="node68" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="416,892,563,922"/><area shape="rect" id="node9" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="1719,1291,1847,1320"/><area shape="rect" id="node11" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1943,682,2071,711"/><area shape="rect" id="node13" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="1708,1344,1857,1374"/><area shape="rect" id="node17" href="includes_2environment_8inc.html#a92afdf9afda25ac6d226ba45f6f1fbe0" title="drush_directory_cache" alt="" coords="628,528,780,558"/><area shape="rect" id="node19" href="group__errorhandling.html#ga7bc0a52d28467940b2bb9588a660ed8f" title="drush_clear_error" alt="" coords="840,606,963,635"/><area shape="rect" id="node24" href="group__filesystemfunctions.html#gad1036a8fb12d105b55de87b4f3fe8002" title="drush_find_tmp" alt="" coords="847,734,956,763"/><area shape="rect" id="node32" href="group__filesystemfunctions.html#ga6027285d97028ad3299d3aa262be8c2f" title="drush_mkdir" alt="" coords="1075,502,1168,531"/><area shape="rect" id="node59" href="includes_2environment_8inc.html#a25a1b7c8414b818e263d31ff06363772" title="drush_get_username" alt="" coords="831,398,972,427"/><area shape="rect" id="node62" href="includes_2environment_8inc.html#afae6d4a5a12623e5502ca262346c799b" title="drush_server_home" alt="" coords="833,451,969,480"/><area shape="rect" id="node21" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="1283,706,1411,735"/><area shape="rect" id="node26" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="1283,879,1411,908"/><area shape="rect" id="node28" href="includes_2environment_8inc.html#a339c57f584d4f3d910d8c36763d054c2" title="drush_cwd" alt="" coords="1079,758,1164,787"/><area shape="rect" id="node37" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="1473,500,1655,530"/><area shape="rect" id="node39" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1705,604,1860,634"/><area shape="rect" id="node48" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1497,197,1631,244"/><area shape="rect" id="node50" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1711,226,1855,255"/><area shape="rect" id="node53" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="1909,226,2104,255"/><area shape="rect" id="node70" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556" title="drush_shell_exec" alt="" coords="643,1008,765,1038"/><area shape="rect" id="node95" href="group__filesystemfunctions.html#ga0d795889ef507c45abb793b8685b36d0" title="drush_file_not_empty" alt="" coords="631,839,777,868"/><area shape="rect" id="node97" href="group__filesystemfunctions.html#gaac7379e8cfa2163a874542fc021bf521" title="drush_move_dir" alt="" coords="647,294,761,323"/><area shape="rect" id="node72" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2" title="_drush_shell_exec" alt="" coords="836,1111,967,1140"/><area shape="rect" id="node74" href="group__commandwrappers.html#gafc52f7e769d935b4d2462467cdf8d5ee" title="drush_escapeshellarg" alt="" coords="1048,1086,1195,1115"/><area shape="rect" id="node82" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="1304,1240,1389,1270"/><area shape="rect" id="node85" href="group__commandwrappers.html#ga3a1bb3ae751f14749ce1dbe4ec9c3288" title="drush_shell_proc_open" alt="" coords="1044,1190,1199,1219"/><area shape="rect" id="node89" href="group__commandwrappers.html#gac21dc9409bff5197d255978c3cf6e761" title="_drush_shell_exec_output_set" alt="" coords="1023,1032,1220,1062"/><area shape="rect" id="node77" href="group__commandwrappers.html#gac60b4740ceccf95b8e60d1896d93d2ab" title="_drush_escapeshellarg\l_windows" alt="" coords="1269,1000,1424,1046"/><area shape="rect" id="node79" href="group__commandwrappers.html#ga561ce790cc15caa5e1f0bfebc2546529" title="_drush_escapeshellarg\l_linux" alt="" coords="1269,1069,1424,1116"/><area shape="rect" id="node99" href="drush_8inc.html#a903c36790dbe5525fe9369c8476780af" title="drush_op" alt="" coords="1084,296,1159,326"/><area shape="rect" id="node108" href="group__filesystemfunctions.html#ga1d86ac8e2e56a75acb0abcdc8e0dcf09" title="drush_copy_dir" alt="" coords="847,294,956,323"/><area shape="rect" id="node104" href="drush_8inc.html#a2dd83647cc42a2dfcde54dc38f54827d" title="drush_call_user_func\l_array" alt="" coords="1275,228,1419,274"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a2131dceb4ad05da633f876f3feaa6064_icgraph.png" border="0" usemap="#updatexml_8inc_a2131dceb4ad05da633f876f3feaa6064_icgraph" alt=""/></div>
<map name="updatexml_8inc_a2131dceb4ad05da633f876f3feaa6064_icgraph" id="updatexml_8inc_a2131dceb4ad05da633f876f3feaa6064_icgraph">
<area shape="rect" id="node3" href="updatexml_8inc.html#a1273e7da7133ada1987f4dde8859aad1" title="release_info_check\l_project" alt="" coords="231,87,364,134"/><area shape="rect" id="node26" href="updatexml_8inc.html#a7fe4c8cdddd122b232c8daf5484444f9" title="release_info_fetch" alt="" coords="233,169,361,199"/><area shape="rect" id="node31" href="updatexml_8inc.html#a40d4c136aadd10580d665514073a3c0b" title="release_info_get_releases" alt="" coords="211,248,384,277"/><area shape="rect" id="node5" href="generate_8make_8inc.html#aa4ffaa2643ef640c4768f3635bba29a1" title="_drush_make_generate\l_projects" alt="" coords="432,5,589,51"/><area shape="rect" id="node9" href="pm_8drush_8inc.html#a9ac55f981042516472e063eef9d51b0c" title="drush_pm_find_project\l_from_extension" alt="" coords="435,74,587,121"/><area shape="rect" id="node13" href="make_8drush_8inc.html#ac8b7447fddc5e9edc48acd98aa680fe5" title="make_prepare_projects" alt="" coords="432,144,589,173"/><area shape="rect" id="node7" href="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="651,13,800,43"/><area shape="rect" id="node11" href="pm_8drush_8inc.html#af9a0b321cd245d1e1f3424ae5c9acde9" title="drush_pm_enable_validate" alt="" coords="637,73,813,103"/><area shape="rect" id="node15" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="653,126,797,173"/><area shape="rect" id="node19" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="672,196,779,225"/><area shape="rect" id="node17" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="904,139,997,168"/><area shape="rect" id="node22" href="classDrushMakeProject.html#a14e2e297d82eea0e5bd316255d092da8" title="DrushMakeProject\\recurse" alt="" coords="863,196,1039,225"/><area shape="rect" id="node24" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="1089,196,1255,225"/><area shape="rect" id="node28" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="655,249,796,279"/><area shape="rect" id="node33" href="pm_8drush_8inc.html#a6a5267ade011bc9e74e880668cff14af" title="drush_pm_releases" alt="" coords="444,248,577,277"/><area shape="rect" id="node35" href="updatexml_8inc.html#a4c90192cc502c7c05a5b4554c7d50258" title="release_info_print\l_releasenotes" alt="" coords="449,301,572,347"/><area shape="rect" id="node37" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="663,303,788,332"/><area shape="rect" id="node42" href="pm_8drush_8inc.html#a1bce10f51c87e2afae2e5e604c7a035f" title="drush_pm_releasenotes" alt="" coords="645,356,805,385"/><area shape="rect" id="node44" href="updatecode_8pm_8inc.html#a604cbac2dc913cf35f3d4f7f79f4bc4b" title="pm_update_packages" alt="" coords="651,409,800,439"/><area shape="rect" id="node39" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="875,356,1027,385"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a77d3e30a6d929bcfcbddaf167177dfab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">updatexml_get_releases_from_xml </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$xml</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$project</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Obtain releases for a project's xml as returned by the update service. </p>

<p>Definition at line <a class="el" href="updatexml_8inc_source.html#l00496">496</a> of file <a class="el" href="updatexml_8inc_source.html">updatexml.inc</a>.</p>

<p>References <a class="el" href="lib_2Drush_2Boot_2bootstrap_8inc_source.html#l00099">DRUSH_BOOTSTRAP_DRUPAL_FULL</a>, <a class="el" href="context_8inc_source.html#l00328">drush_get_context()</a>, <a class="el" href="pm_8drush_8inc_source.html#l00533">drush_get_projects()</a>, and <a class="el" href="output_8inc_source.html#l00145">dt()</a>.</p>

<p>Referenced by <a class="el" href="updatexml_8inc_source.html#l00041">release_info_fetch()</a>, and <a class="el" href="updatexml_8inc_source.html#l00105">release_info_get_releases()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a77d3e30a6d929bcfcbddaf167177dfab_cgraph.png" border="0" usemap="#updatexml_8inc_a77d3e30a6d929bcfcbddaf167177dfab_cgraph" alt=""/></div>
<map name="updatexml_8inc_a77d3e30a6d929bcfcbddaf167177dfab_cgraph" id="updatexml_8inc_a77d3e30a6d929bcfcbddaf167177dfab_cgraph">
<area shape="rect" id="node3" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1828,480,1956,509"/><area shape="rect" id="node5" href="group__extensions.html#gadf92772f6521fbc75a53ccec7e5e007e" title="drush_get_projects" alt="" coords="217,401,348,431"/><area shape="rect" id="node32" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1192,248,1229,277"/><area shape="rect" id="node7" href="includes_2environment_8inc.html#a2f6ea049bc3f5361815aafe6f44a535d" title="drush_get_extensions" alt="" coords="413,349,563,379"/><area shape="rect" id="node13" href="engines_8inc.html#a91df31f18b0a1d05540ccaf85e6d9a88" title="drush_include_engine" alt="" coords="648,507,795,536"/><area shape="rect" id="node28" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="1408,453,1485,483"/><area shape="rect" id="node36" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1595,275,1739,304"/><area shape="rect" id="node54" href="includes_2environment_8inc.html#a317a284967256e1c0452a13462388c21" title="drush_extension_get_name" alt="" coords="397,557,579,587"/><area shape="rect" id="node59" href="includes_2environment_8inc.html#a62a951f395505ed28ea3f0a5a108419c" title="drush_extension_get_path" alt="" coords="401,611,575,640"/><area shape="rect" id="node65" href="commands_2core_2drupal_2environment_8inc.html#a643d851fd8dc63ea2ce8cf67aa33098c" title="drush_module_exists" alt="" coords="416,296,560,325"/><area shape="rect" id="node69" href="includes_2environment_8inc.html#a5536e4ffcf1cdf1f176e15a3aed81af7" title="drush_extension_get_type" alt="" coords="401,453,575,483"/><area shape="rect" id="node74" href="group__extensions.html#ga1d2b7b533a453be8eac7d6fd78512ddb" title="_drush_pm_find_common_path" alt="" coords="864,403,1067,432"/><area shape="rect" id="node9" href="commands_2core_2drupal_2environment_8inc.html#a7bab407b662383206abfd7d40e129e10" title="drush_get_modules" alt="" coords="655,245,788,275"/><area shape="rect" id="node11" href="commands_2core_2drupal_2environment_8inc.html#ad5a30ae04efcc0bd416f2c555bb7c144" title="drush_get_themes" alt="" coords="657,299,785,328"/><area shape="rect" id="node15" href="engines_8inc.html#ae94a82d80d5e90cb126de1f16a7f8fe4" title="drush_get_engines" alt="" coords="900,611,1031,640"/><area shape="rect" id="node21" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="1155,557,1267,587"/><area shape="rect" id="node48" href="drush_8inc.html#a80ce43b30f833522f72180811dab5a3e" title="drush_include" alt="" coords="915,456,1016,485"/><area shape="rect" id="node17" href="engines_8inc.html#a50374de188af3d1cb754476607b9c375" title="drush_get_engine_types_info" alt="" coords="1116,664,1305,693"/><area shape="rect" id="node41" href="includes_2command_8inc.html#ad51d79509a4a134947703f3e58564444" title="drush_commandfile_list" alt="" coords="1588,663,1745,692"/><area shape="rect" id="node44" href="includes_2command_8inc.html#a2ce77284c0002dda3a5d0527e583e017" title="drush_command_hook" alt="" coords="1135,611,1287,640"/><area shape="rect" id="node19" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="1356,637,1537,667"/><area shape="rect" id="node25" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1589,505,1744,535"/><area shape="rect" id="node34" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1380,266,1513,313"/><area shape="rect" id="node39" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="1795,275,1989,304"/><area shape="rect" id="node56" href="commands_2core_2drupal_2environment_8inc.html#a7fbf68cf166c5aa976911044a94a06af" title="_drush_extension_get_name" alt="" coords="628,560,815,589"/><area shape="rect" id="node61" href="commands_2core_2drupal_2environment_8inc.html#a3a2d23907fbfa722e287ccadd5fe49ae" title="_drush_extension_get_path" alt="" coords="631,613,812,643"/><area shape="rect" id="node71" href="commands_2core_2drupal_2environment_8inc.html#aa061a03714dfbab1c44fcef58b440de5" title="_drush_extension_get_type" alt="" coords="631,453,812,483"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a77d3e30a6d929bcfcbddaf167177dfab_icgraph.png" border="0" usemap="#updatexml_8inc_a77d3e30a6d929bcfcbddaf167177dfab_icgraph" alt=""/></div>
<map name="updatexml_8inc_a77d3e30a6d929bcfcbddaf167177dfab_icgraph" id="updatexml_8inc_a77d3e30a6d929bcfcbddaf167177dfab_icgraph">
<area shape="rect" id="node3" href="updatexml_8inc.html#a7fe4c8cdddd122b232c8daf5484444f9" title="release_info_fetch" alt="" coords="239,125,367,155"/><area shape="rect" id="node20" href="updatexml_8inc.html#a40d4c136aadd10580d665514073a3c0b" title="release_info_get_releases" alt="" coords="216,179,389,208"/><area shape="rect" id="node5" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="652,131,793,160"/><area shape="rect" id="node7" href="make_8drush_8inc.html#ac8b7447fddc5e9edc48acd98aa680fe5" title="make_prepare_projects" alt="" coords="437,73,595,103"/><area shape="rect" id="node9" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="651,5,795,51"/><area shape="rect" id="node13" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="669,75,776,104"/><area shape="rect" id="node11" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="893,17,987,47"/><area shape="rect" id="node16" href="classDrushMakeProject.html#a14e2e297d82eea0e5bd316255d092da8" title="DrushMakeProject\\recurse" alt="" coords="852,75,1028,104"/><area shape="rect" id="node18" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="1079,75,1244,104"/><area shape="rect" id="node22" href="pm_8drush_8inc.html#a6a5267ade011bc9e74e880668cff14af" title="drush_pm_releases" alt="" coords="449,177,583,207"/><area shape="rect" id="node24" href="updatexml_8inc.html#a4c90192cc502c7c05a5b4554c7d50258" title="release_info_print\l_releasenotes" alt="" coords="455,230,577,277"/><area shape="rect" id="node26" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="660,185,785,215"/><area shape="rect" id="node31" href="pm_8drush_8inc.html#a1bce10f51c87e2afae2e5e604c7a035f" title="drush_pm_releasenotes" alt="" coords="643,239,803,268"/><area shape="rect" id="node33" href="updatecode_8pm_8inc.html#a604cbac2dc913cf35f3d4f7f79f4bc4b" title="pm_update_packages" alt="" coords="648,292,797,321"/><area shape="rect" id="node28" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="864,239,1016,268"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a356068cfa3be6860ce7553c681888d58"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">updatexml_most_appropriate_release </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$request</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$xml</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Pick most appropriate release from XML list.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">array</td><td class="paramname">$request</td><td>An array with project and version strings as returned by <a class="el" href="pm_8drush_8inc.html#a66b0def0d14711d5c10884363c8ae1b5">pm_parse_project_version()</a>. </td></tr>
    <tr><td class="paramtype">resource</td><td class="paramname">$xml</td><td>A handle to the XML document. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>array - The selected release xml object. FALSE - No releases were found. </dd></dl>

<p>Definition at line <a class="el" href="updatexml_8inc_source.html#l00416">416</a> of file <a class="el" href="updatexml_8inc_source.html">updatexml.inc</a>.</p>

<p>References <a class="el" href="updatexml_8inc_source.html#l00436">updatexml_best_release_found()</a>.</p>

<p>Referenced by <a class="el" href="updatexml_8inc_source.html#l00041">release_info_fetch()</a>, and <a class="el" href="updatexml_8inc_source.html#l00328">updatexml_parse_release()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a356068cfa3be6860ce7553c681888d58_cgraph.png" border="0" usemap="#updatexml_8inc_a356068cfa3be6860ce7553c681888d58_cgraph" alt=""/></div>
<map name="updatexml_8inc_a356068cfa3be6860ce7553c681888d58_cgraph" id="updatexml_8inc_a356068cfa3be6860ce7553c681888d58_cgraph">
<area shape="rect" id="node3" href="updatexml_8inc.html#a6622ddef8e364513df626b131b8f6bfc" title="updatexml_best_release\l_found" alt="" coords="243,5,405,51"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_a356068cfa3be6860ce7553c681888d58_icgraph.png" border="0" usemap="#updatexml_8inc_a356068cfa3be6860ce7553c681888d58_icgraph" alt=""/></div>
<map name="updatexml_8inc_a356068cfa3be6860ce7553c681888d58_icgraph" id="updatexml_8inc_a356068cfa3be6860ce7553c681888d58_icgraph">
<area shape="rect" id="node3" href="updatexml_8inc.html#a7fe4c8cdddd122b232c8daf5484444f9" title="release_info_fetch" alt="" coords="264,59,392,88"/><area shape="rect" id="node20" href="updatexml_8inc.html#aa9851a9fc6d5b1fe85341357d059321a" title="updatexml_parse_release" alt="" coords="243,116,413,145"/><area shape="rect" id="node5" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="469,5,611,35"/><area shape="rect" id="node7" href="make_8drush_8inc.html#ac8b7447fddc5e9edc48acd98aa680fe5" title="make_prepare_projects" alt="" coords="461,59,619,88"/><area shape="rect" id="node9" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="667,19,811,66"/><area shape="rect" id="node13" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="685,89,792,119"/><area shape="rect" id="node11" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="901,32,995,61"/><area shape="rect" id="node16" href="classDrushMakeProject.html#a14e2e297d82eea0e5bd316255d092da8" title="DrushMakeProject\\recurse" alt="" coords="860,89,1036,119"/><area shape="rect" id="node18" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="1087,89,1252,119"/><area shape="rect" id="node22" href="classUnish_1_1releaseInfoCase.html#ac6674cd3b0e5cb2861e3550cf88fd320" title="Unish\\releaseInfoCase\l\\testReleaseXML" alt="" coords="463,111,617,158"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aa9851a9fc6d5b1fe85341357d059321a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">updatexml_parse_release </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$request</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$xml</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$restrict_to</em> = <code>''</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>No longer used by Drush core. Called by tests in <a class="el" href="releaseInfoTest_8php.html">releaseInfoTest.php</a>. See equivalent logic in release_info_fetch. </p>

<p>Definition at line <a class="el" href="updatexml_8inc_source.html#l00328">328</a> of file <a class="el" href="updatexml_8inc_source.html">updatexml.inc</a>.</p>

<p>References <a class="el" href="updatexml_8inc_source.html#l00396">updatexml_dev_release()</a>, <a class="el" href="updatexml_8inc_source.html#l00416">updatexml_most_appropriate_release()</a>, and <a class="el" href="updatexml_8inc_source.html#l00359">updatexml_specific_release_version()</a>.</p>

<p>Referenced by <a class="el" href="releaseInfoTest_8php_source.html#l00032">Unish\releaseInfoCase\testReleaseXML()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_aa9851a9fc6d5b1fe85341357d059321a_cgraph.png" border="0" usemap="#updatexml_8inc_aa9851a9fc6d5b1fe85341357d059321a_cgraph" alt=""/></div>
<map name="updatexml_8inc_aa9851a9fc6d5b1fe85341357d059321a_cgraph" id="updatexml_8inc_aa9851a9fc6d5b1fe85341357d059321a_cgraph">
<area shape="rect" id="node3" href="updatexml_8inc.html#a1e73b712ba22db38fb129740f4293914" title="updatexml_dev_release" alt="" coords="240,5,397,35"/><area shape="rect" id="node7" href="updatexml_8inc.html#a356068cfa3be6860ce7553c681888d58" title="updatexml_most_appropriate\l_release" alt="" coords="224,58,413,105"/><area shape="rect" id="node10" href="updatexml_8inc.html#ad751aa32c24838c1055d7bfcdf119bb4" title="updatexml_specific\l_release_version" alt="" coords="252,127,385,174"/><area shape="rect" id="node5" href="updatexml_8inc.html#a6622ddef8e364513df626b131b8f6bfc" title="updatexml_best_release\l_found" alt="" coords="461,58,624,105"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_aa9851a9fc6d5b1fe85341357d059321a_icgraph.png" border="0" usemap="#updatexml_8inc_aa9851a9fc6d5b1fe85341357d059321a_icgraph" alt=""/></div>
<map name="updatexml_8inc_aa9851a9fc6d5b1fe85341357d059321a_icgraph" id="updatexml_8inc_aa9851a9fc6d5b1fe85341357d059321a_icgraph">
<area shape="rect" id="node3" href="classUnish_1_1releaseInfoCase.html#ac6674cd3b0e5cb2861e3550cf88fd320" title="Unish\\releaseInfoCase\l\\testReleaseXML" alt="" coords="224,5,379,51"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ad751aa32c24838c1055d7bfcdf119bb4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">updatexml_specific_release_version </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$request</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$xml</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Pick a specific version from XML list.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">array</td><td class="paramname">$request</td><td>An array with project and version strings as returned by <a class="el" href="pm_8drush_8inc.html#a66b0def0d14711d5c10884363c8ae1b5">pm_parse_project_version()</a>. </td></tr>
    <tr><td class="paramtype">resource</td><td class="paramname">$xml</td><td>A handle to the XML document. </td></tr>
    <tr><td class="paramtype">String</td><td class="paramname">$restrict_to</td><td>One of: 'dev': Forces a -dev release. 'version': Forces a point release. '': No restriction (auto-selects latest recommended or supported release if requested release is not found). Default is ''. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>array - The selected release xml object. Empty if user did not specify a specific release. FALSE - The specified version could not be found. </dd></dl>

<p>Definition at line <a class="el" href="updatexml_8inc_source.html#l00359">359</a> of file <a class="el" href="updatexml_8inc_source.html">updatexml.inc</a>.</p>

<p>References <a class="el" href="updatexml_8inc_source.html#l00436">updatexml_best_release_found()</a>.</p>

<p>Referenced by <a class="el" href="updatexml_8inc_source.html#l00041">release_info_fetch()</a>, and <a class="el" href="updatexml_8inc_source.html#l00328">updatexml_parse_release()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_ad751aa32c24838c1055d7bfcdf119bb4_cgraph.png" border="0" usemap="#updatexml_8inc_ad751aa32c24838c1055d7bfcdf119bb4_cgraph" alt=""/></div>
<map name="updatexml_8inc_ad751aa32c24838c1055d7bfcdf119bb4_cgraph" id="updatexml_8inc_ad751aa32c24838c1055d7bfcdf119bb4_cgraph">
<area shape="rect" id="node3" href="updatexml_8inc.html#a6622ddef8e364513df626b131b8f6bfc" title="updatexml_best_release\l_found" alt="" coords="189,5,352,51"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="updatexml_8inc_ad751aa32c24838c1055d7bfcdf119bb4_icgraph.png" border="0" usemap="#updatexml_8inc_ad751aa32c24838c1055d7bfcdf119bb4_icgraph" alt=""/></div>
<map name="updatexml_8inc_ad751aa32c24838c1055d7bfcdf119bb4_icgraph" id="updatexml_8inc_ad751aa32c24838c1055d7bfcdf119bb4_icgraph">
<area shape="rect" id="node3" href="updatexml_8inc.html#a7fe4c8cdddd122b232c8daf5484444f9" title="release_info_fetch" alt="" coords="211,59,339,88"/><area shape="rect" id="node20" href="updatexml_8inc.html#aa9851a9fc6d5b1fe85341357d059321a" title="updatexml_parse_release" alt="" coords="189,116,360,145"/><area shape="rect" id="node5" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="416,5,557,35"/><area shape="rect" id="node7" href="make_8drush_8inc.html#ac8b7447fddc5e9edc48acd98aa680fe5" title="make_prepare_projects" alt="" coords="408,59,565,88"/><area shape="rect" id="node9" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="613,19,757,66"/><area shape="rect" id="node13" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="632,89,739,119"/><area shape="rect" id="node11" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="848,32,941,61"/><area shape="rect" id="node16" href="classDrushMakeProject.html#a14e2e297d82eea0e5bd316255d092da8" title="DrushMakeProject\\recurse" alt="" coords="807,89,983,119"/><area shape="rect" id="node18" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="1033,89,1199,119"/><area shape="rect" id="node22" href="classUnish_1_1releaseInfoCase.html#ac6674cd3b0e5cb2861e3550cf88fd320" title="Unish\\releaseInfoCase\l\\testReleaseXML" alt="" coords="409,111,564,158"/></map>
</div>
</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Oct 8 2014 09:04:58 for Drush by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.2
</small></address>
</body>
</html>