Drush: includes/cache.inc File Reference

  1. 7.x doxygen/html/includes_2cache_8inc.html
  2. master doxygen/html/includes_2cache_8inc.html
cache.inc File Reference

Go to the source code of this file.

Functions

 _drush_cache_get_object ($bin)
 drush_cache_get ($cid, $bin= 'default')
 drush_cache_get_multiple (array &$cids, $bin= 'default')
 drush_cache_set ($cid, $data, $bin= 'default', $expire=DRUSH_CACHE_PERMANENT)
 drush_cache_clear_all ($cid=NULL, $bin= 'default', $wildcard=FALSE)
 _drush_cache_is_empty ($bin)
 drush_cache_get_bins ()
 drush_get_cid ($prefix, $contexts=array(), $params=array())

Variables

const DRUSH_CACHE_PERMANENT = 0
const DRUSH_CACHE_TEMPORARY = -1

Detailed Description

Drush cache API

Provides a cache API for drush core and commands, forked from Drupal 7.

The default storage backend uses the plain text files to store serialized php objects, which can be extended or replaced by setting the cache-default-class option in drushrc.php.

Definition in file cache.inc.

Function Documentation

_drush_cache_get_object (   $bin)

Get the cache object for a cache bin.

By default, this returns an instance of the class. Classes implementing can register themselves both as a default implementation and for specific bins.

See Also
Parameters
string$binThe cache bin for which the cache object should be returned.
Returns
The cache object associated with the specified bin.

Definition at line 41 of file cache.inc.

References drush_get_option().

Referenced by _drush_cache_is_empty(), drush_cache_clear_all(), drush_cache_get(), drush_cache_get_multiple(), and drush_cache_set().

Here is the call graph for this function:

Here is the caller graph for this function:

_drush_cache_is_empty (   $bin)

Check if a cache bin is empty.

A cache bin is considered empty if it does not contain any valid data for any cache ID.

Parameters
$binThe cache bin to check.
Returns
TRUE if the cache bin specified is empty.

Definition at line 159 of file cache.inc.

References _drush_cache_get_object().

Here is the call graph for this function:

drush_cache_clear_all (   $cid = NULL,
  $bin = 'default',
  $wildcard = FALSE 
)

Expire data from the cache.

If called without arguments, expirable entries will be cleared from all known cache bins.

Parameters
string$cidIf set, the cache ID to delete. Otherwise, all cache entries that can expire are deleted.
string$binIf set, the bin $bin to delete from. Mandatory argument if $cid is set.
bool$wildcardIf $wildcard is TRUE, cache IDs starting with $cid are deleted in addition to the exact cache ID specified by $cid. If $wildcard is TRUE and $cid is '*' then the entire bin $bin is emptied.

Definition at line 137 of file cache.inc.

References _drush_cache_get_object(), and drush_cache_get_bins().

Referenced by drush_complete_cache_clear(), and pm_drush_pm_download_destination_alter().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_cache_get (   $cid,
  $bin = 'default' 
)

Return data from the persistent cache.

Data may be stored as either plain text or as serialized data. _drush_cache_get() will automatically return unserialized objects and arrays.

Parameters
string$cidThe cache ID of the data to retrieve.
string$binThe cache bin to store the data in.
Returns
The cache or FALSE on failure.

Definition at line 70 of file cache.inc.

References _drush_cache_get_object(), drush_log(), and dt().

Referenced by _drush_bootstrap_drupal_full(), drush_complete_get(), drush_sandwich_sandwiches_served(), and drush_sitealias_quick_lookup_cached_alias_by_path().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_cache_get_bins ( )

Return drush cache bins and any bins added by hook_drush_flush_caches().

Definition at line 166 of file cache.inc.

References drush_command_invoke_all().

Referenced by drush_cache_clear_all().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_cache_get_multiple ( array &  $cids,
  $bin = 'default' 
)

Return data from the persistent cache when given an array of cache IDs.

Parameters
array$cidsAn array of cache IDs for the data to retrieve. This is passed by reference, and will have the IDs successfully returned from cache removed.
string$binThe cache bin where the data is stored.
Returns
An array of the items successfully returned from cache indexed by cid.

Definition at line 89 of file cache.inc.

References _drush_cache_get_object().

Here is the call graph for this function:

drush_cache_set (   $cid,
  $data,
  $bin = 'default',
  $expire = DRUSH_CACHE_PERMANENT 
)

Store data in the persistent cache.

Parameters
string$cidThe cache ID of the data to store.
$dataThe data to store in the cache.
string$binThe cache bin to store the data in.
$expireOne of the following values:
  • DRUSH_CACHE_PERMANENT: Indicates that the item should never be removed unless explicitly told to using cache_clear_all() with a cache ID.
  • DRUSH_CACHE_TEMPORARY: Indicates that the item should be removed at the next general cache wipe.
  • A Unix timestamp: Indicates that the item should be kept at least until the given time, after which it behaves like DRUSH_CACHE_TEMPORARY.
Returns
bool

Definition at line 114 of file cache.inc.

References _drush_cache_get_object(), drush_log(), and dt().

Referenced by _drush_bootstrap_drupal_full(), drush_complete_cache_set(), drush_sandwich_make_me_a_sandwich(), and drush_sitealias_cache_alias_by_path().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_get_cid (   $prefix,
  $contexts = array(),
  $params = array() 
)

Create a cache id from a given prefix, contexts, and additional parameters.

Parameters
prefixA human readable cid prefix that will not be hashed.
contextsArray of drush contexts that will be used to build a unique hash.
paramsArray of any addition parameters to be hashed.
Returns
A cache id string.

Definition at line 184 of file cache.inc.

References drush_get_context().

Referenced by drush_cid_install_profile(), drush_complete_cache_cid(), drush_sandwich_make_me_a_sandwich(), drush_sandwich_sandwiches_served(), drush_sitealias_cache_alias_by_path(), and drush_sitealias_quick_lookup_cached_alias_by_path().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

Indicates that the item should never be removed unless explicitly selected.

The item may be removed using cache_clear_all() with a cache ID.

Definition at line 19 of file cache.inc.

Referenced by Drush\Cache\FileCache\set().

Indicates that the item should be removed at the next general cache wipe.

Definition at line 24 of file cache.inc.

Referenced by drush_complete_cache_set(), and Drush\Cache\FileCache\set().

File

doxygen/html/includes_2cache_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: includes/cache.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_09e761304027c904456130627fd4dcf5.html">includes</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">cache.inc File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="includes_2cache_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:a80d986947415d49a2b3324018a0beb1e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="includes_2cache_8inc.html#a80d986947415d49a2b3324018a0beb1e">_drush_cache_get_object</a> ($bin)</td></tr>
<tr class="memitem:adc36ac3b562c67cbf1d7aab89c029694"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="includes_2cache_8inc.html#adc36ac3b562c67cbf1d7aab89c029694">drush_cache_get</a> ($cid, $bin= 'default')</td></tr>
<tr class="memitem:afebdecedf322982f12726c31fd525f11"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="includes_2cache_8inc.html#afebdecedf322982f12726c31fd525f11">drush_cache_get_multiple</a> (array &amp;$cids, $bin= 'default')</td></tr>
<tr class="memitem:a27a40af68c2a61fdf94b980b953236bf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="includes_2cache_8inc.html#a27a40af68c2a61fdf94b980b953236bf">drush_cache_set</a> ($cid, $data, $bin= 'default', $expire=<a class="el" href="includes_2cache_8inc.html#a9f0a518bb0b1e6c3397756383fc72316">DRUSH_CACHE_PERMANENT</a>)</td></tr>
<tr class="memitem:a320b19400992c01f88bd71db140da5bc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="includes_2cache_8inc.html#a320b19400992c01f88bd71db140da5bc">drush_cache_clear_all</a> ($cid=NULL, $bin= 'default', $wildcard=FALSE)</td></tr>
<tr class="memitem:a6da367571968d842a0cda8b61d969441"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="includes_2cache_8inc.html#a6da367571968d842a0cda8b61d969441">_drush_cache_is_empty</a> ($bin)</td></tr>
<tr class="memitem:a4338413ce68582b943bb07b81da7af7a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="includes_2cache_8inc.html#a4338413ce68582b943bb07b81da7af7a">drush_cache_get_bins</a> ()</td></tr>
<tr class="memitem:a70613777c5e1a0e258bd0d8e213e0156"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="includes_2cache_8inc.html#a70613777c5e1a0e258bd0d8e213e0156">drush_get_cid</a> ($prefix, $contexts=array(), $params=array())</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:a9f0a518bb0b1e6c3397756383fc72316"><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="includes_2cache_8inc.html#a9f0a518bb0b1e6c3397756383fc72316">DRUSH_CACHE_PERMANENT</a> = 0</td></tr>
<tr class="memitem:a594d24dfbddcc6a2c2200ce328d5a8d2"><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="includes_2cache_8inc.html#a594d24dfbddcc6a2c2200ce328d5a8d2">DRUSH_CACHE_TEMPORARY</a> = -1</td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Drush cache API</p>
<p>Provides a cache API for drush core and commands, forked from Drupal 7.</p>
<p>The default storage backend uses the plain text files to store serialized php objects, which can be extended or replaced by setting the cache-default-class option in drushrc.php. </p>

<p>Definition in file <a class="el" href="includes_2cache_8inc_source.html">cache.inc</a>.</p>
</div><h2>Function Documentation</h2>
<a class="anchor" id="a80d986947415d49a2b3324018a0beb1e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_cache_get_object </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$bin</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the cache object for a cache bin.</p>
<p>By default, this returns an instance of the  class. Classes implementing  can register themselves both as a default implementation and for specific bins.</p>
<dl class="section see"><dt>See Also</dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$bin</td><td>The cache bin for which the cache object should be returned.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The cache object associated with the specified bin. </dd></dl>

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

<p>References <a class="el" href="context_8inc_source.html#l00405">drush_get_option()</a>.</p>

<p>Referenced by <a class="el" href="includes_2cache_8inc_source.html#l00159">_drush_cache_is_empty()</a>, <a class="el" href="includes_2cache_8inc_source.html#l00137">drush_cache_clear_all()</a>, <a class="el" href="includes_2cache_8inc_source.html#l00070">drush_cache_get()</a>, <a class="el" href="includes_2cache_8inc_source.html#l00089">drush_cache_get_multiple()</a>, and <a class="el" href="includes_2cache_8inc_source.html#l00114">drush_cache_set()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="includes_2cache_8inc_a80d986947415d49a2b3324018a0beb1e_cgraph.png" border="0" usemap="#includes_2cache_8inc_a80d986947415d49a2b3324018a0beb1e_cgraph" alt=""/></div>
<map name="includes_2cache_8inc_a80d986947415d49a2b3324018a0beb1e_cgraph" id="includes_2cache_8inc_a80d986947415d49a2b3324018a0beb1e_cgraph">
<area shape="rect" id="node3" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="225,59,345,88"/><area shape="rect" id="node5" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="407,5,535,35"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="407,59,535,88"/><area shape="rect" id="node9" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="396,112,545,141"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="includes_2cache_8inc_a80d986947415d49a2b3324018a0beb1e_icgraph.png" border="0" usemap="#includes_2cache_8inc_a80d986947415d49a2b3324018a0beb1e_icgraph" alt=""/></div>
<map name="includes_2cache_8inc_a80d986947415d49a2b3324018a0beb1e_icgraph" id="includes_2cache_8inc_a80d986947415d49a2b3324018a0beb1e_icgraph">
<area shape="rect" id="node3" href="includes_2cache_8inc.html#a6da367571968d842a0cda8b61d969441" title="_drush_cache_is_empty" alt="" coords="229,745,392,775"/><area shape="rect" id="node5" href="includes_2cache_8inc.html#a320b19400992c01f88bd71db140da5bc" title="drush_cache_clear_all" alt="" coords="236,799,385,828"/><area shape="rect" id="node11" href="includes_2cache_8inc.html#adc36ac3b562c67cbf1d7aab89c029694" title="drush_cache_get" alt="" coords="251,924,371,953"/><area shape="rect" id="node101" href="includes_2cache_8inc.html#afebdecedf322982f12726c31fd525f11" title="drush_cache_get_multiple" alt="" coords="224,1109,397,1139"/><area shape="rect" id="node103" href="includes_2cache_8inc.html#a27a40af68c2a61fdf94b980b953236bf" title="drush_cache_set" alt="" coords="251,1056,371,1085"/><area shape="rect" id="node7" href="download_8pm_8inc.html#ab35a163fb97c0a4e0668f0e2b7c78559" title="pm_drush_pm_download\l_destination_alter" alt="" coords="459,683,624,730"/><area shape="rect" id="node9" href="drush_8inc.html#a12acbc64b339bdd1b32371725edb2dcf" title="drush_complete_cache\l_clear" alt="" coords="464,753,619,799"/><area shape="rect" id="node13" href="sandwich_8drush_8inc.html#a97c7d0d645309157f122dca8052c3243" title="drush_sandwich_sandwiches\l_served" alt="" coords="445,873,637,919"/><area shape="rect" id="node17" href="complete_8inc.html#ac5c1cad8930371b383f35f1baf65692e" title="drush_complete_get" alt="" coords="893,1199,1032,1228"/><area shape="rect" id="node21" href="sitealias_8inc.html#a90a54eb940fe80e6e9e3faf12098cbac" title="drush_sitealias_quick\l_lookup_cached_alias\l_by_path" alt="" coords="467,943,616,1007"/><area shape="rect" id="node99" href="lib_2Drush_2Boot_2bootstrap_8inc.html#adc30118a77a2f8c97e22215bd5d2ac08" title="_drush_bootstrap_drupal_full" alt="" coords="448,1031,635,1060"/><area shape="rect" id="node15" href="sandwich_8drush_8inc.html#aea9357654295bf3a37faef383d061b4c" title="drush_sandwich_make\l_me_a_sandwich" alt="" coords="688,877,843,923"/><area shape="rect" id="node19" href="complete_8inc.html#adbec292adabdfe3772d4ede574ab91c9" title="drush_early_complete" alt="" coords="2269,793,2419,823"/><area shape="rect" id="node23" href="sitealias_8inc.html#a49723d857350c5f3501001cede845fa5" title="drush_sitealias_lookup\l_alias_by_path" alt="" coords="688,951,843,998"/><area shape="rect" id="node25" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="896,570,1029,617"/><area shape="rect" id="node27" href="core_8drush_8inc.html#a2df55d0bcfe26bcf84f513623345b9d8" title="drush_core_execute" alt="" coords="1361,333,1500,363"/><area shape="rect" id="node29" href="ssh_8drush_8inc.html#a82a89cae3f9cd4bb76b6e9ac5bddb1cc" title="drush_ssh_site_ssh" alt="" coords="1112,640,1251,669"/><area shape="rect" id="node31" href="sql_8drush_8inc.html#a31ea6e16a805e81fad22960a6325ec51" title="sql_drush_sql_sync\l_sanitize" alt="" coords="1113,693,1249,739"/><area shape="rect" id="node33" href="backend_8inc.html#a3d855df98e2c6cb0314a947058f92b99" title="drush_backend_output" alt="" coords="1105,832,1257,861"/><area shape="rect" id="node39" href="backend_8inc.html#a7852d5448cd4ee3a2082eccd24d690e7" title="drush_backend_invoke\l_concurrent" alt="" coords="1104,229,1259,275"/><area shape="rect" id="node45" href="includes_2command_8inc.html#a019118f49079e478cd35ca8eb17998c1" title="drush_process_bootstrap\l_to_first_arg" alt="" coords="1097,762,1265,809"/><area shape="rect" id="node49" href="includes_2command_8inc.html#af671cda00f17af8bc39ff470a3844bab" title="drush_shell_alias_replace" alt="" coords="1579,637,1749,667"/><area shape="rect" id="node58" href="sitealias_8inc.html#a49c2ae562dfc96846a235e521c945a20" title="drush_sitealias_create\l_self_alias" alt="" coords="1105,570,1257,617"/><area shape="rect" id="node64" href="sitealias_8inc.html#a276a2325cb18922b6d365c13a6ed7d66" title="_drush_sitealias_set\l_context_by_name" alt="" coords="1593,835,1735,882"/><area shape="rect" id="node74" href="sitealias_8inc.html#a0dd349885b59373b8a067d7589d096e7" title="drush_sitealias_resolve\l_sitespecs" alt="" coords="1352,386,1509,433"/><area shape="rect" id="node77" href="sitealias_8inc.html#a448de5768a772d33e44f86cfefe070ac" title="_drush_sitealias_get\l_record" alt="" coords="1111,885,1252,931"/><area shape="rect" id="node80" href="sitealias_8inc.html#a09f500deb9e45e97098a37a4caa374ee" title="drush_sitealias_is\l_bootstrapped_site" alt="" coords="1116,954,1247,1001"/><area shape="rect" id="node82" href="sitealias_8inc.html#a5437d4bdf307bcc37cd15e903b3d99a9" title="drush_sitealias_is\l_remote_site" alt="" coords="1119,1023,1244,1070"/><area shape="rect" id="node84" href="sitealias_8inc.html#a0c03b431ce6b8291d85dfd206e516159" title="drush_sitealias_bootstrapped\l_site_name" alt="" coords="1087,5,1276,51"/><area shape="rect" id="node86" href="sitealias_8inc.html#a79d866a010f76b7d6ec47ab2a72a0c43" title="drush_sitealias_resolve\l_sitelist" alt="" coords="1103,349,1260,395"/><area shape="rect" id="node90" href="sitealias_8inc.html#a432d1b4f4f62b73ecf29aa29501571a7" title="_drush_sitealias_initialize\l_alias_record" alt="" coords="1345,455,1516,502"/><area shape="rect" id="node94" href="sitealias_8inc.html#aba0142245fe1b01f094d42fb060391b1" title="_drush_sitealias_preflight_path" alt="" coords="1081,75,1281,104"/><area shape="rect" id="node96" href="sitealias_8inc.html#ad847d30de6caee61a30ebc2059f9ad5a" title="drush_sitealias_evaluate_path" alt="" coords="1332,100,1529,129"/><area shape="rect" id="node35" href="preflight_8inc.html#a615008fc32203b55f5355e105450d60b" title="drush_shutdown" alt="" coords="1372,821,1489,851"/><area shape="rect" id="node37" href="unit_8drush_8inc.html#ae381f2b0e4bd97806103a439b9af1b0c" title="drush_unit_batch" alt="" coords="1371,875,1491,904"/><area shape="rect" id="node41" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="1377,280,1484,309"/><area shape="rect" id="node43" href="group__dispatching.html#ga125471885af052278a0874446b332cf9" title="drush_invoke_process" alt="" coords="1588,312,1740,341"/><area shape="rect" id="node47" href="includes_2command_8inc.html#a5c7d0d064d4cb56bfe2b2311e5643e11" title="drush_parse_args" alt="" coords="1368,695,1493,724"/><area shape="rect" id="node53" href="complete_8inc.html#a9249f2a38d16e008506147243482b39c" title="drush_complete_process_argv" alt="" coords="2023,793,2220,823"/><area shape="rect" id="node51" href="preflight_8inc.html#a17ac1cc81941cb760a5101343e963f74" title="drush_preflight" alt="" coords="2068,663,2175,692"/><area shape="rect" id="node61" href="preflight_8inc.html#a7b3a0beead72750a7172800793cd509b" title="_drush_preflight_root_uri" alt="" coords="1349,748,1512,777"/><area shape="rect" id="node72" href="lib_2Drush_2Boot_2bootstrap_8inc.html#af264ad4df6841a41b7b37f6eed2ea3b4" title="_drush_bootstrap_selected_uri" alt="" coords="1332,631,1529,660"/><area shape="rect" id="node66" href="sitealias_8drush_8inc.html#a617aa7e74fc3c55cb99263a84e414466" title="drush_sitealias_site_set" alt="" coords="1804,791,1967,820"/><area shape="rect" id="node68" href="sitealias_8inc.html#aea0a6ddf95752b4958fc14698a8db017" title="drush_sitealias_check_arg" alt="" coords="1797,844,1973,873"/><area shape="rect" id="node106" href="complete_8inc.html#a520dd6cb68367ab70b710431d76c85df" title="drush_complete_cache_set" alt="" coords="451,1204,632,1233"/><area shape="rect" id="node114" href="sitealias_8inc.html#af5e2a5f32557a495b31c2a72bab9586b" title="drush_sitealias_cache\l_alias_by_path" alt="" coords="467,1134,616,1181"/><area shape="rect" id="node108" href="complete_8inc.html#af377cea6e3311628f37a738698e1fb4c" title="drush_complete_rebuild" alt="" coords="687,1264,844,1293"/><area shape="rect" id="node111" href="complete_8inc.html#a4bbb8faee318ca6f3b8d70710d0406ba" title="drush_complete_rebuild\l_arguments" alt="" coords="687,1194,844,1241"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a6da367571968d842a0cda8b61d969441"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_cache_is_empty </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$bin</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Check if a cache bin is empty.</p>
<p>A cache bin is considered empty if it does not contain any valid data for any cache ID.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$bin</td><td>The cache bin to check.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if the cache bin specified is empty. </dd></dl>

<p>Definition at line <a class="el" href="includes_2cache_8inc_source.html#l00159">159</a> of file <a class="el" href="includes_2cache_8inc_source.html">cache.inc</a>.</p>

<p>References <a class="el" href="includes_2cache_8inc_source.html#l00041">_drush_cache_get_object()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="includes_2cache_8inc_a6da367571968d842a0cda8b61d969441_cgraph.png" border="0" usemap="#includes_2cache_8inc_a6da367571968d842a0cda8b61d969441_cgraph" alt=""/></div>
<map name="includes_2cache_8inc_a6da367571968d842a0cda8b61d969441_cgraph" id="includes_2cache_8inc_a6da367571968d842a0cda8b61d969441_cgraph">
<area shape="rect" id="node3" href="includes_2cache_8inc.html#a80d986947415d49a2b3324018a0beb1e" title="_drush_cache_get_object" alt="" coords="216,59,387,88"/><area shape="rect" id="node5" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="436,59,556,88"/><area shape="rect" id="node7" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="617,5,745,35"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="617,59,745,88"/><area shape="rect" id="node11" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="607,112,756,141"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a320b19400992c01f88bd71db140da5bc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_cache_clear_all </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$cid</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$bin</em> = <code>'default'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$wildcard</em> = <code>FALSE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Expire data from the cache.</p>
<p>If called without arguments, expirable entries will be cleared from all known cache bins.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$cid</td><td>If set, the cache ID to delete. Otherwise, all cache entries that can expire are deleted. </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$bin</td><td>If set, the bin $bin to delete from. Mandatory argument if $cid is set. </td></tr>
    <tr><td class="paramtype">bool</td><td class="paramname">$wildcard</td><td>If $wildcard is TRUE, cache IDs starting with $cid are deleted in addition to the exact cache ID specified by $cid. If $wildcard is TRUE and $cid is '*' then the entire bin $bin is emptied. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="includes_2cache_8inc_source.html#l00137">137</a> of file <a class="el" href="includes_2cache_8inc_source.html">cache.inc</a>.</p>

<p>References <a class="el" href="includes_2cache_8inc_source.html#l00041">_drush_cache_get_object()</a>, and <a class="el" href="includes_2cache_8inc_source.html#l00166">drush_cache_get_bins()</a>.</p>

<p>Referenced by <a class="el" href="drush_8inc_source.html#l01972">drush_complete_cache_clear()</a>, and <a class="el" href="download_8pm_8inc_source.html#l00254">pm_drush_pm_download_destination_alter()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="includes_2cache_8inc_a320b19400992c01f88bd71db140da5bc_cgraph.png" border="0" usemap="#includes_2cache_8inc_a320b19400992c01f88bd71db140da5bc_cgraph" alt=""/></div>
<map name="includes_2cache_8inc_a320b19400992c01f88bd71db140da5bc_cgraph" id="includes_2cache_8inc_a320b19400992c01f88bd71db140da5bc_cgraph">
<area shape="rect" id="node3" href="includes_2cache_8inc.html#a80d986947415d49a2b3324018a0beb1e" title="_drush_cache_get_object" alt="" coords="205,59,376,88"/><area shape="rect" id="node13" href="includes_2cache_8inc.html#a4338413ce68582b943bb07b81da7af7a" title="drush_cache_get_bins" alt="" coords="215,112,367,141"/><area shape="rect" id="node5" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="456,59,576,88"/><area shape="rect" id="node7" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="668,5,796,35"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="668,59,796,88"/><area shape="rect" id="node11" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="657,112,807,141"/><area shape="rect" id="node15" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="425,112,607,141"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="includes_2cache_8inc_a320b19400992c01f88bd71db140da5bc_icgraph.png" border="0" usemap="#includes_2cache_8inc_a320b19400992c01f88bd71db140da5bc_icgraph" alt=""/></div>
<map name="includes_2cache_8inc_a320b19400992c01f88bd71db140da5bc_icgraph" id="includes_2cache_8inc_a320b19400992c01f88bd71db140da5bc_icgraph">
<area shape="rect" id="node3" href="drush_8inc.html#a12acbc64b339bdd1b32371725edb2dcf" title="drush_complete_cache\l_clear" alt="" coords="212,5,367,51"/><area shape="rect" id="node5" href="download_8pm_8inc.html#ab35a163fb97c0a4e0668f0e2b7c78559" title="pm_drush_pm_download\l_destination_alter" alt="" coords="207,74,372,121"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="adc36ac3b562c67cbf1d7aab89c029694"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_cache_get </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$cid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$bin</em> = <code>'default'</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return data from the persistent cache.</p>
<p>Data may be stored as either plain text or as serialized data. _drush_cache_get() will automatically return unserialized objects and arrays.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$cid</td><td>The cache ID of the data to retrieve. </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$bin</td><td>The cache bin to store the data in.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The cache or FALSE on failure. </dd></dl>

<p>Definition at line <a class="el" href="includes_2cache_8inc_source.html#l00070">70</a> of file <a class="el" href="includes_2cache_8inc_source.html">cache.inc</a>.</p>

<p>References <a class="el" href="includes_2cache_8inc_source.html#l00041">_drush_cache_get_object()</a>, <a class="el" href="drush_8inc_source.html#l01413">drush_log()</a>, and <a class="el" href="output_8inc_source.html#l00145">dt()</a>.</p>

<p>Referenced by <a class="el" href="lib_2Drush_2Boot_2bootstrap_8inc_source.html#l00668">_drush_bootstrap_drupal_full()</a>, <a class="el" href="complete_8inc_source.html#l00409">drush_complete_get()</a>, <a class="el" href="sandwich_8drush_8inc_source.html#l00249">drush_sandwich_sandwiches_served()</a>, and <a class="el" href="sitealias_8inc_source.html#l02161">drush_sitealias_quick_lookup_cached_alias_by_path()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="includes_2cache_8inc_adc36ac3b562c67cbf1d7aab89c029694_cgraph.png" border="0" usemap="#includes_2cache_8inc_adc36ac3b562c67cbf1d7aab89c029694_cgraph" alt=""/></div>
<map name="includes_2cache_8inc_adc36ac3b562c67cbf1d7aab89c029694_cgraph" id="includes_2cache_8inc_adc36ac3b562c67cbf1d7aab89c029694_cgraph">
<area shape="rect" id="node3" href="includes_2cache_8inc.html#a80d986947415d49a2b3324018a0beb1e" title="_drush_cache_get_object" alt="" coords="176,105,347,135"/><area shape="rect" id="node13" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="424,179,501,208"/><area shape="rect" id="node19" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="243,235,280,264"/><area shape="rect" id="node5" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="403,84,523,113"/><area shape="rect" id="node7" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="593,5,721,35"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="817,188,945,217"/><area shape="rect" id="node11" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="583,109,732,139"/><area shape="rect" id="node16" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="580,213,735,243"/><area shape="rect" id="node21" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="396,242,529,289"/><area shape="rect" id="node23" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="585,267,729,296"/><area shape="rect" id="node26" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="784,267,979,296"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="includes_2cache_8inc_adc36ac3b562c67cbf1d7aab89c029694_icgraph.png" border="0" usemap="#includes_2cache_8inc_adc36ac3b562c67cbf1d7aab89c029694_icgraph" alt=""/></div>
<map name="includes_2cache_8inc_adc36ac3b562c67cbf1d7aab89c029694_icgraph" id="includes_2cache_8inc_adc36ac3b562c67cbf1d7aab89c029694_icgraph">
<area shape="rect" id="node3" href="lib_2Drush_2Boot_2bootstrap_8inc.html#adc30118a77a2f8c97e22215bd5d2ac08" title="_drush_bootstrap_drupal_full" alt="" coords="179,5,365,35"/><area shape="rect" id="node5" href="complete_8inc.html#ac5c1cad8930371b383f35f1baf65692e" title="drush_complete_get" alt="" coords="619,57,757,87"/><area shape="rect" id="node9" href="sandwich_8drush_8inc.html#a97c7d0d645309157f122dca8052c3243" title="drush_sandwich_sandwiches\l_served" alt="" coords="176,197,368,243"/><area shape="rect" id="node13" href="sitealias_8inc.html#a90a54eb940fe80e6e9e3faf12098cbac" title="drush_sitealias_quick\l_lookup_cached_alias\l_by_path" alt="" coords="197,109,347,173"/><area shape="rect" id="node7" href="complete_8inc.html#adbec292adabdfe3772d4ede574ab91c9" title="drush_early_complete" alt="" coords="827,57,976,87"/><area shape="rect" id="node11" href="sandwich_8drush_8inc.html#aea9357654295bf3a37faef383d061b4c" title="drush_sandwich_make\l_me_a_sandwich" alt="" coords="416,197,571,243"/><area shape="rect" id="node15" href="sitealias_8inc.html#a49723d857350c5f3501001cede845fa5" title="drush_sitealias_lookup\l_alias_by_path" alt="" coords="416,118,571,165"/><area shape="rect" id="node17" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="621,562,755,609"/><area shape="rect" id="node19" href="core_8drush_8inc.html#a2df55d0bcfe26bcf84f513623345b9d8" title="drush_core_execute" alt="" coords="1076,161,1215,191"/><area shape="rect" id="node21" href="ssh_8drush_8inc.html#a82a89cae3f9cd4bb76b6e9ac5bddb1cc" title="drush_ssh_site_ssh" alt="" coords="832,724,971,753"/><area shape="rect" id="node23" href="sql_8drush_8inc.html#a31ea6e16a805e81fad22960a6325ec51" title="sql_drush_sql_sync\l_sanitize" alt="" coords="833,777,969,823"/><area shape="rect" id="node25" href="backend_8inc.html#a3d855df98e2c6cb0314a947058f92b99" title="drush_backend_output" alt="" coords="825,916,977,945"/><area shape="rect" id="node31" href="backend_8inc.html#a7852d5448cd4ee3a2082eccd24d690e7" title="drush_backend_invoke\l_concurrent" alt="" coords="824,451,979,498"/><area shape="rect" id="node55" href="sitealias_8inc.html#ad847d30de6caee61a30ebc2059f9ad5a" title="drush_sitealias_evaluate_path" alt="" coords="1784,640,1981,669"/><area shape="rect" id="node59" href="includes_2command_8inc.html#a019118f49079e478cd35ca8eb17998c1" title="drush_process_bootstrap\l_to_first_arg" alt="" coords="817,1125,985,1171"/><area shape="rect" id="node63" href="includes_2command_8inc.html#af671cda00f17af8bc39ff470a3844bab" title="drush_shell_alias_replace" alt="" coords="1309,969,1480,999"/><area shape="rect" id="node69" href="sitealias_8inc.html#a49c2ae562dfc96846a235e521c945a20" title="drush_sitealias_create\l_self_alias" alt="" coords="825,1042,977,1089"/><area shape="rect" id="node75" href="sitealias_8inc.html#a276a2325cb18922b6d365c13a6ed7d66" title="_drush_sitealias_set\l_context_by_name" alt="" coords="1324,1039,1465,1086"/><area shape="rect" id="node84" href="sitealias_8inc.html#a0dd349885b59373b8a067d7589d096e7" title="drush_sitealias_resolve\l_sitespecs" alt="" coords="1067,334,1224,381"/><area shape="rect" id="node90" href="sitealias_8inc.html#a448de5768a772d33e44f86cfefe070ac" title="_drush_sitealias_get\l_record" alt="" coords="831,211,972,258"/><area shape="rect" id="node93" href="sitealias_8inc.html#a09f500deb9e45e97098a37a4caa374ee" title="drush_sitealias_is\l_bootstrapped_site" alt="" coords="1080,571,1211,618"/><area shape="rect" id="node96" href="sitealias_8inc.html#a5437d4bdf307bcc37cd15e903b3d99a9" title="drush_sitealias_is\l_remote_site" alt="" coords="1332,521,1457,567"/><area shape="rect" id="node99" href="sitealias_8inc.html#a0c03b431ce6b8291d85dfd206e516159" title="drush_sitealias_bootstrapped\l_site_name" alt="" coords="807,846,996,893"/><area shape="rect" id="node101" href="sitealias_8inc.html#a79d866a010f76b7d6ec47ab2a72a0c43" title="drush_sitealias_resolve\l_sitelist" alt="" coords="823,331,980,378"/><area shape="rect" id="node106" href="sitealias_8inc.html#a432d1b4f4f62b73ecf29aa29501571a7" title="_drush_sitealias_initialize\l_alias_record" alt="" coords="1060,214,1231,261"/><area shape="rect" id="node113" href="sitealias_8inc.html#aba0142245fe1b01f094d42fb060391b1" title="_drush_sitealias_preflight_path" alt="" coords="1295,692,1495,721"/><area shape="rect" id="node27" href="preflight_8inc.html#a615008fc32203b55f5355e105450d60b" title="drush_shutdown" alt="" coords="1087,916,1204,945"/><area shape="rect" id="node29" href="unit_8drush_8inc.html#ae381f2b0e4bd97806103a439b9af1b0c" title="drush_unit_batch" alt="" coords="1085,863,1205,892"/><area shape="rect" id="node33" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="1092,460,1199,489"/><area shape="rect" id="node39" href="group__dispatching.html#ga125471885af052278a0874446b332cf9" title="drush_invoke_process" alt="" coords="1319,361,1471,391"/><area shape="rect" id="node35" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="1348,415,1441,444"/><area shape="rect" id="node37" href="classDrushMakeProject.html#a14e2e297d82eea0e5bd316255d092da8" title="DrushMakeProject\\recurse" alt="" coords="1307,468,1483,497"/><area shape="rect" id="node41" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="1569,305,1711,335"/><area shape="rect" id="node43" href="archive_8drush_8inc.html#a3d1644997af6a5792dda2213cae3f4cc" title="drush_archive_restore" alt="" coords="1565,465,1715,495"/><area shape="rect" id="node45" href="config_8drush_8inc.html#aef4c2b9a90b1297e0e60e741bace5a4e" title="drush_config_import" alt="" coords="1571,359,1709,388"/><area shape="rect" id="node47" href="core_8drush_8inc.html#a496a7a4d064f54c13fc03c1c6e2844f4" title="drush_core_updatedb" alt="" coords="1567,412,1713,441"/><area shape="rect" id="node49" href="user_8drush_8inc.html#a9e3e0c6e440b7d0b94180025546176b7" title="drush_user_login" alt="" coords="1580,519,1700,548"/><area shape="rect" id="node51" href="group__commandprocessing.html#gaadd12f0ca081399dea1c99984c77e567" title="drush_do_multiple_command" alt="" coords="1545,221,1735,251"/><area shape="rect" id="node53" href="sitealias_8inc.html#ac47e3ae7659cedce04c044c53fdb5c37" title="drush_sitealias_resolve\l_path_references" alt="" coords="1561,571,1719,618"/><area shape="rect" id="node57" href="core_8drush_8inc.html#a9a3c48f1649db4b3c008b11258cdcce5" title="_drush_core_directory" alt="" coords="2031,640,2180,669"/><area shape="rect" id="node61" href="includes_2command_8inc.html#a5c7d0d064d4cb56bfe2b2311e5643e11" title="drush_parse_args" alt="" coords="1083,1177,1208,1207"/><area shape="rect" id="node65" href="preflight_8inc.html#a17ac1cc81941cb760a5101343e963f74" title="drush_preflight" alt="" coords="1829,995,1936,1024"/><area shape="rect" id="node72" href="preflight_8inc.html#a7b3a0beead72750a7172800793cd509b" title="_drush_preflight_root_uri" alt="" coords="1064,1020,1227,1049"/><area shape="rect" id="node82" href="lib_2Drush_2Boot_2bootstrap_8inc.html#af264ad4df6841a41b7b37f6eed2ea3b4" title="_drush_bootstrap_selected_uri" alt="" coords="1047,1073,1244,1103"/><area shape="rect" id="node77" href="sitealias_8drush_8inc.html#a617aa7e74fc3c55cb99263a84e414466" title="drush_sitealias_site_set" alt="" coords="1559,1073,1721,1103"/><area shape="rect" id="node79" href="sitealias_8inc.html#aea0a6ddf95752b4958fc14698a8db017" title="drush_sitealias_check_arg" alt="" coords="1552,1020,1728,1049"/><area shape="rect" id="node87" href="sitealias_8drush_8inc.html#abcb2a29ddfe9b3f66120793287c143c2" title="_drush_sitealias_user\l_specified_list" alt="" coords="1321,241,1468,287"/><area shape="rect" id="node108" href="sitealias_8inc.html#a33aa8e8ae8df2578bbed0d893e0b8f7a" title="_drush_sitealias_find\l_and_load_all_aliases" alt="" coords="1320,111,1469,158"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a4338413ce68582b943bb07b81da7af7a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_cache_get_bins </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return drush cache bins and any bins added by hook_drush_flush_caches(). </p>

<p>Definition at line <a class="el" href="includes_2cache_8inc_source.html#l00166">166</a> of file <a class="el" href="includes_2cache_8inc_source.html">cache.inc</a>.</p>

<p>References <a class="el" href="includes_2command_8inc_source.html#l01251">drush_command_invoke_all()</a>.</p>

<p>Referenced by <a class="el" href="includes_2cache_8inc_source.html#l00137">drush_cache_clear_all()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="includes_2cache_8inc_a4338413ce68582b943bb07b81da7af7a_cgraph.png" border="0" usemap="#includes_2cache_8inc_a4338413ce68582b943bb07b81da7af7a_cgraph" alt=""/></div>
<map name="includes_2cache_8inc_a4338413ce68582b943bb07b81da7af7a_cgraph" id="includes_2cache_8inc_a4338413ce68582b943bb07b81da7af7a_cgraph">
<area shape="rect" id="node3" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="207,5,388,35"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="includes_2cache_8inc_a4338413ce68582b943bb07b81da7af7a_icgraph.png" border="0" usemap="#includes_2cache_8inc_a4338413ce68582b943bb07b81da7af7a_icgraph" alt=""/></div>
<map name="includes_2cache_8inc_a4338413ce68582b943bb07b81da7af7a_icgraph" id="includes_2cache_8inc_a4338413ce68582b943bb07b81da7af7a_icgraph">
<area shape="rect" id="node3" href="includes_2cache_8inc.html#a320b19400992c01f88bd71db140da5bc" title="drush_cache_clear_all" alt="" coords="207,48,356,77"/><area shape="rect" id="node5" href="drush_8inc.html#a12acbc64b339bdd1b32371725edb2dcf" title="drush_complete_cache\l_clear" alt="" coords="412,5,567,51"/><area shape="rect" id="node7" href="download_8pm_8inc.html#ab35a163fb97c0a4e0668f0e2b7c78559" title="pm_drush_pm_download\l_destination_alter" alt="" coords="407,74,572,121"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="afebdecedf322982f12726c31fd525f11"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_cache_get_multiple </td>
          <td>(</td>
          <td class="paramtype">array &amp;&#160;</td>
          <td class="paramname"><em>$cids</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$bin</em> = <code>'default'</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return data from the persistent cache when given an array of cache IDs.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">array</td><td class="paramname">$cids</td><td>An array of cache IDs for the data to retrieve. This is passed by reference, and will have the IDs successfully returned from cache removed. </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$bin</td><td>The cache bin where the data is stored.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An array of the items successfully returned from cache indexed by cid. </dd></dl>

<p>Definition at line <a class="el" href="includes_2cache_8inc_source.html#l00089">89</a> of file <a class="el" href="includes_2cache_8inc_source.html">cache.inc</a>.</p>

<p>References <a class="el" href="includes_2cache_8inc_source.html#l00041">_drush_cache_get_object()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="includes_2cache_8inc_afebdecedf322982f12726c31fd525f11_cgraph.png" border="0" usemap="#includes_2cache_8inc_afebdecedf322982f12726c31fd525f11_cgraph" alt=""/></div>
<map name="includes_2cache_8inc_afebdecedf322982f12726c31fd525f11_cgraph" id="includes_2cache_8inc_afebdecedf322982f12726c31fd525f11_cgraph">
<area shape="rect" id="node3" href="includes_2cache_8inc.html#a80d986947415d49a2b3324018a0beb1e" title="_drush_cache_get_object" alt="" coords="227,59,397,88"/><area shape="rect" id="node5" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="447,59,567,88"/><area shape="rect" id="node7" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="628,5,756,35"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="628,59,756,88"/><area shape="rect" id="node11" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="617,112,767,141"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a27a40af68c2a61fdf94b980b953236bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_cache_set </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$cid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$bin</em> = <code>'default'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$expire</em> = <code><a class="el" href="includes_2cache_8inc.html#a9f0a518bb0b1e6c3397756383fc72316">DRUSH_CACHE_PERMANENT</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Store data in the persistent cache.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$cid</td><td>The cache ID of the data to store.</td></tr>
    <tr><td class="paramtype"></td><td class="paramname">$data</td><td>The data to store in the cache. </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$bin</td><td>The cache bin to store the data in. </td></tr>
    <tr><td class="paramtype"></td><td class="paramname">$expire</td><td>One of the following values:<ul>
<li>DRUSH_CACHE_PERMANENT: Indicates that the item should never be removed unless explicitly told to using cache_clear_all() with a cache ID.</li>
<li>DRUSH_CACHE_TEMPORARY: Indicates that the item should be removed at the next general cache wipe.</li>
<li>A Unix timestamp: Indicates that the item should be kept at least until the given time, after which it behaves like DRUSH_CACHE_TEMPORARY.</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>bool </dd></dl>

<p>Definition at line <a class="el" href="includes_2cache_8inc_source.html#l00114">114</a> of file <a class="el" href="includes_2cache_8inc_source.html">cache.inc</a>.</p>

<p>References <a class="el" href="includes_2cache_8inc_source.html#l00041">_drush_cache_get_object()</a>, <a class="el" href="drush_8inc_source.html#l01413">drush_log()</a>, and <a class="el" href="output_8inc_source.html#l00145">dt()</a>.</p>

<p>Referenced by <a class="el" href="lib_2Drush_2Boot_2bootstrap_8inc_source.html#l00668">_drush_bootstrap_drupal_full()</a>, <a class="el" href="complete_8inc_source.html#l00530">drush_complete_cache_set()</a>, <a class="el" href="sandwich_8drush_8inc_source.html#l00215">drush_sandwich_make_me_a_sandwich()</a>, and <a class="el" href="sitealias_8inc_source.html#l02107">drush_sitealias_cache_alias_by_path()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="includes_2cache_8inc_a27a40af68c2a61fdf94b980b953236bf_cgraph.png" border="0" usemap="#includes_2cache_8inc_a27a40af68c2a61fdf94b980b953236bf_cgraph" alt=""/></div>
<map name="includes_2cache_8inc_a27a40af68c2a61fdf94b980b953236bf_cgraph" id="includes_2cache_8inc_a27a40af68c2a61fdf94b980b953236bf_cgraph">
<area shape="rect" id="node3" href="includes_2cache_8inc.html#a80d986947415d49a2b3324018a0beb1e" title="_drush_cache_get_object" alt="" coords="176,105,347,135"/><area shape="rect" id="node13" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="424,179,501,208"/><area shape="rect" id="node19" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="243,235,280,264"/><area shape="rect" id="node5" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="403,84,523,113"/><area shape="rect" id="node7" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="593,5,721,35"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="817,188,945,217"/><area shape="rect" id="node11" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="583,109,732,139"/><area shape="rect" id="node16" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="580,213,735,243"/><area shape="rect" id="node21" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="396,242,529,289"/><area shape="rect" id="node23" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="585,267,729,296"/><area shape="rect" id="node26" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="784,267,979,296"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="includes_2cache_8inc_a27a40af68c2a61fdf94b980b953236bf_icgraph.png" border="0" usemap="#includes_2cache_8inc_a27a40af68c2a61fdf94b980b953236bf_icgraph" alt=""/></div>
<map name="includes_2cache_8inc_a27a40af68c2a61fdf94b980b953236bf_icgraph" id="includes_2cache_8inc_a27a40af68c2a61fdf94b980b953236bf_icgraph">
<area shape="rect" id="node3" href="lib_2Drush_2Boot_2bootstrap_8inc.html#adc30118a77a2f8c97e22215bd5d2ac08" title="_drush_bootstrap_drupal_full" alt="" coords="177,12,364,41"/><area shape="rect" id="node5" href="complete_8inc.html#a520dd6cb68367ab70b710431d76c85df" title="drush_complete_cache_set" alt="" coords="180,65,361,95"/><area shape="rect" id="node16" href="sandwich_8drush_8inc.html#aea9357654295bf3a37faef383d061b4c" title="drush_sandwich_make\l_me_a_sandwich" alt="" coords="193,187,348,234"/><area shape="rect" id="node18" href="sitealias_8inc.html#af5e2a5f32557a495b31c2a72bab9586b" title="drush_sitealias_cache\l_alias_by_path" alt="" coords="196,118,345,165"/><area shape="rect" id="node7" href="complete_8inc.html#af377cea6e3311628f37a738698e1fb4c" title="drush_complete_rebuild" alt="" coords="415,5,572,35"/><area shape="rect" id="node13" href="complete_8inc.html#a4bbb8faee318ca6f3b8d70710d0406ba" title="drush_complete_rebuild\l_arguments" alt="" coords="415,58,572,105"/><area shape="rect" id="node9" href="complete_8inc.html#ac5c1cad8930371b383f35f1baf65692e" title="drush_complete_get" alt="" coords="621,67,760,96"/><area shape="rect" id="node11" href="complete_8inc.html#adbec292adabdfe3772d4ede574ab91c9" title="drush_early_complete" alt="" coords="2060,177,2209,207"/><area shape="rect" id="node20" href="sitealias_8inc.html#a276a2325cb18922b6d365c13a6ed7d66" title="_drush_sitealias_set\l_context_by_name" alt="" coords="1327,343,1468,390"/><area shape="rect" id="node39" href="sitealias_8inc.html#a49723d857350c5f3501001cede845fa5" title="drush_sitealias_lookup\l_alias_by_path" alt="" coords="416,423,571,470"/><area shape="rect" id="node22" href="sitealias_8drush_8inc.html#a617aa7e74fc3c55cb99263a84e414466" title="drush_sitealias_site_set" alt="" coords="1561,352,1724,381"/><area shape="rect" id="node24" href="sitealias_8inc.html#aea0a6ddf95752b4958fc14698a8db017" title="drush_sitealias_check_arg" alt="" coords="1555,405,1731,435"/><area shape="rect" id="node26" href="complete_8inc.html#a9249f2a38d16e008506147243482b39c" title="drush_complete_process_argv" alt="" coords="1788,405,1985,435"/><area shape="rect" id="node29" href="preflight_8inc.html#a17ac1cc81941cb760a5101343e963f74" title="drush_preflight" alt="" coords="1833,535,1940,564"/><area shape="rect" id="node31" href="drush_8php.html#a2b642d2bbf815b6d80c315fd66b37381" title="drush_main" alt="" coords="2091,565,2179,595"/><area shape="rect" id="node33" href="classUnish_1_1commandUnitCase.html#a298d93d64bbbab6ba8a1906cab4f860a" title="Unish\\commandUnitCase\l\\testCommandVersionSpecific" alt="" coords="2036,618,2233,665"/><area shape="rect" id="node35" href="classUnish_1_1commandUnitCase.html#a9085a0c27da209ad9697b7b0bd74adac" title="Unish\\commandUnitCase\l\\testGetCommands" alt="" coords="2049,426,2220,473"/><area shape="rect" id="node37" href="classUnish_1_1outputFormatUnitCase.html#a05a4cc3b83f8c8d48121fe7a508ebda2" title="Unish\\outputFormatUnitCase\l\\testOutputFormat" alt="" coords="2039,495,2231,542"/><area shape="rect" id="node41" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="624,670,757,717"/><area shape="rect" id="node43" href="core_8drush_8inc.html#a2df55d0bcfe26bcf84f513623345b9d8" title="drush_core_execute" alt="" coords="1079,720,1217,749"/><area shape="rect" id="node45" href="ssh_8drush_8inc.html#a82a89cae3f9cd4bb76b6e9ac5bddb1cc" title="drush_ssh_site_ssh" alt="" coords="835,1269,973,1299"/><area shape="rect" id="node47" href="sql_8drush_8inc.html#a31ea6e16a805e81fad22960a6325ec51" title="sql_drush_sql_sync\l_sanitize" alt="" coords="836,229,972,275"/><area shape="rect" id="node49" href="backend_8inc.html#a3d855df98e2c6cb0314a947058f92b99" title="drush_backend_output" alt="" coords="828,299,980,328"/><area shape="rect" id="node55" href="backend_8inc.html#a7852d5448cd4ee3a2082eccd24d690e7" title="drush_backend_invoke\l_concurrent" alt="" coords="827,954,981,1001"/><area shape="rect" id="node69" href="sitealias_8inc.html#ad847d30de6caee61a30ebc2059f9ad5a" title="drush_sitealias_evaluate_path" alt="" coords="1788,1167,1985,1196"/><area shape="rect" id="node71" href="includes_2command_8inc.html#a019118f49079e478cd35ca8eb17998c1" title="drush_process_bootstrap\l_to_first_arg" alt="" coords="820,541,988,587"/><area shape="rect" id="node75" href="includes_2command_8inc.html#af671cda00f17af8bc39ff470a3844bab" title="drush_shell_alias_replace" alt="" coords="1312,560,1483,589"/><area shape="rect" id="node81" href="sitealias_8inc.html#a49c2ae562dfc96846a235e521c945a20" title="drush_sitealias_create\l_self_alias" alt="" coords="828,610,980,657"/><area shape="rect" id="node90" href="sitealias_8inc.html#a0dd349885b59373b8a067d7589d096e7" title="drush_sitealias_resolve\l_sitespecs" alt="" coords="1069,823,1227,870"/><area shape="rect" id="node96" href="sitealias_8inc.html#a448de5768a772d33e44f86cfefe070ac" title="_drush_sitealias_get\l_record" alt="" coords="833,402,975,449"/><area shape="rect" id="node99" href="sitealias_8inc.html#a09f500deb9e45e97098a37a4caa374ee" title="drush_sitealias_is\l_bootstrapped_site" alt="" coords="1332,1098,1463,1145"/><area shape="rect" id="node102" href="sitealias_8inc.html#a5437d4bdf307bcc37cd15e903b3d99a9" title="drush_sitealias_is\l_remote_site" alt="" coords="1335,1021,1460,1067"/><area shape="rect" id="node105" href="sitealias_8inc.html#a0c03b431ce6b8291d85dfd206e516159" title="drush_sitealias_bootstrapped\l_site_name" alt="" coords="809,471,999,518"/><area shape="rect" id="node107" href="sitealias_8inc.html#a79d866a010f76b7d6ec47ab2a72a0c43" title="drush_sitealias_resolve\l_sitelist" alt="" coords="825,781,983,827"/><area shape="rect" id="node112" href="sitealias_8inc.html#a432d1b4f4f62b73ecf29aa29501571a7" title="_drush_sitealias_initialize\l_alias_record" alt="" coords="1063,893,1233,939"/><area shape="rect" id="node116" href="sitealias_8inc.html#aba0142245fe1b01f094d42fb060391b1" title="_drush_sitealias_preflight_path" alt="" coords="1297,1219,1497,1248"/><area shape="rect" id="node51" href="preflight_8inc.html#a615008fc32203b55f5355e105450d60b" title="drush_shutdown" alt="" coords="1089,245,1207,275"/><area shape="rect" id="node53" href="unit_8drush_8inc.html#ae381f2b0e4bd97806103a439b9af1b0c" title="drush_unit_batch" alt="" coords="1088,299,1208,328"/><area shape="rect" id="node57" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="1095,963,1201,992"/><area shape="rect" id="node59" href="group__dispatching.html#ga125471885af052278a0874446b332cf9" title="drush_invoke_process" alt="" coords="1321,953,1473,983"/><area shape="rect" id="node61" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="1572,899,1713,928"/><area shape="rect" id="node63" href="user_8drush_8inc.html#a9e3e0c6e440b7d0b94180025546176b7" title="drush_user_login" alt="" coords="1583,956,1703,985"/><area shape="rect" id="node65" href="group__commandprocessing.html#gaadd12f0ca081399dea1c99984c77e567" title="drush_do_multiple_command" alt="" coords="1548,820,1737,849"/><area shape="rect" id="node67" href="sitealias_8inc.html#ac47e3ae7659cedce04c044c53fdb5c37" title="drush_sitealias_resolve\l_path_references" alt="" coords="1564,1098,1721,1145"/><area shape="rect" id="node73" href="includes_2command_8inc.html#a5c7d0d064d4cb56bfe2b2311e5643e11" title="drush_parse_args" alt="" coords="1085,512,1211,541"/><area shape="rect" id="node84" href="preflight_8inc.html#a7b3a0beead72750a7172800793cd509b" title="_drush_preflight_root_uri" alt="" coords="1067,457,1229,487"/><area shape="rect" id="node88" href="lib_2Drush_2Boot_2bootstrap_8inc.html#af264ad4df6841a41b7b37f6eed2ea3b4" title="_drush_bootstrap_selected_uri" alt="" coords="1049,565,1247,595"/><area shape="rect" id="node93" href="sitealias_8drush_8inc.html#abcb2a29ddfe9b3f66120793287c143c2" title="_drush_sitealias_user\l_specified_list" alt="" coords="1324,823,1471,870"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a70613777c5e1a0e258bd0d8e213e0156"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_get_cid </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$prefix</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$contexts</em> = <code>array()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$params</em> = <code>array()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create a cache id from a given prefix, contexts, and additional parameters.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">prefix</td><td>A human readable cid prefix that will not be hashed. </td></tr>
    <tr><td class="paramname">contexts</td><td>Array of drush contexts that will be used to build a unique hash. </td></tr>
    <tr><td class="paramname">params</td><td>Array of any addition parameters to be hashed.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A cache id string. </dd></dl>

<p>Definition at line <a class="el" href="includes_2cache_8inc_source.html#l00184">184</a> of file <a class="el" href="includes_2cache_8inc_source.html">cache.inc</a>.</p>

<p>References <a class="el" href="context_8inc_source.html#l00328">drush_get_context()</a>.</p>

<p>Referenced by <a class="el" href="includes_2drupal_8inc_source.html#l00249">drush_cid_install_profile()</a>, <a class="el" href="complete_8inc_source.html#l00556">drush_complete_cache_cid()</a>, <a class="el" href="sandwich_8drush_8inc_source.html#l00215">drush_sandwich_make_me_a_sandwich()</a>, <a class="el" href="sandwich_8drush_8inc_source.html#l00249">drush_sandwich_sandwiches_served()</a>, <a class="el" href="sitealias_8inc_source.html#l02107">drush_sitealias_cache_alias_by_path()</a>, and <a class="el" href="sitealias_8inc_source.html#l02161">drush_sitealias_quick_lookup_cached_alias_by_path()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="includes_2cache_8inc_a70613777c5e1a0e258bd0d8e213e0156_cgraph.png" border="0" usemap="#includes_2cache_8inc_a70613777c5e1a0e258bd0d8e213e0156_cgraph" alt=""/></div>
<map name="includes_2cache_8inc_a70613777c5e1a0e258bd0d8e213e0156_cgraph" id="includes_2cache_8inc_a70613777c5e1a0e258bd0d8e213e0156_cgraph">
<area shape="rect" id="node3" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="159,5,287,35"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="includes_2cache_8inc_a70613777c5e1a0e258bd0d8e213e0156_icgraph.png" border="0" usemap="#includes_2cache_8inc_a70613777c5e1a0e258bd0d8e213e0156_icgraph" alt=""/></div>
<map name="includes_2cache_8inc_a70613777c5e1a0e258bd0d8e213e0156_icgraph" id="includes_2cache_8inc_a70613777c5e1a0e258bd0d8e213e0156_icgraph">
<area shape="rect" id="node3" href="includes_2drupal_8inc.html#a6def9b165115bf72a27e13f4949149da" title="drush_cid_install_profile" alt="" coords="173,72,333,101"/><area shape="rect" id="node7" href="complete_8inc.html#a5cacfdc5ec07fac0d484c64c7368c511" title="drush_complete_cache_cid" alt="" coords="164,151,343,180"/><area shape="rect" id="node23" href="sandwich_8drush_8inc.html#aea9357654295bf3a37faef383d061b4c" title="drush_sandwich_make\l_me_a_sandwich" alt="" coords="415,406,569,453"/><area shape="rect" id="node25" href="sandwich_8drush_8inc.html#a97c7d0d645309157f122dca8052c3243" title="drush_sandwich_sandwiches\l_served" alt="" coords="157,437,349,483"/><area shape="rect" id="node28" href="sitealias_8inc.html#af5e2a5f32557a495b31c2a72bab9586b" title="drush_sitealias_cache\l_alias_by_path" alt="" coords="179,229,328,275"/><area shape="rect" id="node115" href="sitealias_8inc.html#a90a54eb940fe80e6e9e3faf12098cbac" title="drush_sitealias_quick\l_lookup_cached_alias\l_by_path" alt="" coords="179,299,328,363"/><area shape="rect" id="node5" href="lib_2Drush_2Boot_2bootstrap_8inc.html#adc30118a77a2f8c97e22215bd5d2ac08" title="_drush_bootstrap_drupal_full" alt="" coords="399,21,585,51"/><area shape="rect" id="node9" href="complete_8inc.html#ac5c1cad8930371b383f35f1baf65692e" title="drush_complete_get" alt="" coords="875,101,1013,131"/><area shape="rect" id="node13" href="complete_8inc.html#a520dd6cb68367ab70b710431d76c85df" title="drush_complete_cache_set" alt="" coords="401,75,583,104"/><area shape="rect" id="node21" href="drush_8inc.html#a12acbc64b339bdd1b32371725edb2dcf" title="drush_complete_cache\l_clear" alt="" coords="415,178,569,225"/><area shape="rect" id="node11" href="complete_8inc.html#adbec292adabdfe3772d4ede574ab91c9" title="drush_early_complete" alt="" coords="2057,297,2207,327"/><area shape="rect" id="node15" href="complete_8inc.html#af377cea6e3311628f37a738698e1fb4c" title="drush_complete_rebuild" alt="" coords="636,75,793,104"/><area shape="rect" id="node18" href="complete_8inc.html#a4bbb8faee318ca6f3b8d70710d0406ba" title="drush_complete_rebuild\l_arguments" alt="" coords="636,5,793,51"/><area shape="rect" id="node30" href="sitealias_8inc.html#a276a2325cb18922b6d365c13a6ed7d66" title="_drush_sitealias_set\l_context_by_name" alt="" coords="1356,673,1497,719"/><area shape="rect" id="node49" href="sitealias_8inc.html#a49723d857350c5f3501001cede845fa5" title="drush_sitealias_lookup\l_alias_by_path" alt="" coords="415,307,569,354"/><area shape="rect" id="node32" href="sitealias_8drush_8inc.html#a617aa7e74fc3c55cb99263a84e414466" title="drush_sitealias_site_set" alt="" coords="1567,681,1729,711"/><area shape="rect" id="node34" href="sitealias_8inc.html#aea0a6ddf95752b4958fc14698a8db017" title="drush_sitealias_check_arg" alt="" coords="1560,793,1736,823"/><area shape="rect" id="node36" href="complete_8inc.html#a9249f2a38d16e008506147243482b39c" title="drush_complete_process_argv" alt="" coords="1785,741,1983,771"/><area shape="rect" id="node39" href="preflight_8inc.html#a17ac1cc81941cb760a5101343e963f74" title="drush_preflight" alt="" coords="1831,871,1937,900"/><area shape="rect" id="node41" href="drush_8php.html#a2b642d2bbf815b6d80c315fd66b37381" title="drush_main" alt="" coords="2088,967,2176,996"/><area shape="rect" id="node43" href="classUnish_1_1commandUnitCase.html#a298d93d64bbbab6ba8a1906cab4f860a" title="Unish\\commandUnitCase\l\\testCommandVersionSpecific" alt="" coords="2033,758,2231,805"/><area shape="rect" id="node45" href="classUnish_1_1commandUnitCase.html#a9085a0c27da209ad9697b7b0bd74adac" title="Unish\\commandUnitCase\l\\testGetCommands" alt="" coords="2047,827,2217,874"/><area shape="rect" id="node47" href="classUnish_1_1outputFormatUnitCase.html#a05a4cc3b83f8c8d48121fe7a508ebda2" title="Unish\\outputFormatUnitCase\l\\testOutputFormat" alt="" coords="2036,897,2228,943"/><area shape="rect" id="node51" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="648,781,781,827"/><area shape="rect" id="node53" href="core_8drush_8inc.html#a2df55d0bcfe26bcf84f513623345b9d8" title="drush_core_execute" alt="" coords="1124,1028,1263,1057"/><area shape="rect" id="node55" href="ssh_8drush_8inc.html#a82a89cae3f9cd4bb76b6e9ac5bddb1cc" title="drush_ssh_site_ssh" alt="" coords="875,1261,1013,1291"/><area shape="rect" id="node57" href="sql_8drush_8inc.html#a31ea6e16a805e81fad22960a6325ec51" title="sql_drush_sql_sync\l_sanitize" alt="" coords="876,1314,1012,1361"/><area shape="rect" id="node59" href="backend_8inc.html#a3d855df98e2c6cb0314a947058f92b99" title="drush_backend_output" alt="" coords="868,1384,1020,1413"/><area shape="rect" id="node65" href="backend_8inc.html#a7852d5448cd4ee3a2082eccd24d690e7" title="drush_backend_invoke\l_concurrent" alt="" coords="867,1191,1021,1238"/><area shape="rect" id="node71" href="includes_2command_8inc.html#a019118f49079e478cd35ca8eb17998c1" title="drush_process_bootstrap\l_to_first_arg" alt="" coords="860,781,1028,827"/><area shape="rect" id="node75" href="includes_2command_8inc.html#af671cda00f17af8bc39ff470a3844bab" title="drush_shell_alias_replace" alt="" coords="1341,819,1512,848"/><area shape="rect" id="node81" href="sitealias_8inc.html#a49c2ae562dfc96846a235e521c945a20" title="drush_sitealias_create\l_self_alias" alt="" coords="868,901,1020,947"/><area shape="rect" id="node90" href="sitealias_8inc.html#a0dd349885b59373b8a067d7589d096e7" title="drush_sitealias_resolve\l_sitespecs" alt="" coords="1115,1150,1272,1197"/><area shape="rect" id="node93" href="sitealias_8inc.html#a448de5768a772d33e44f86cfefe070ac" title="_drush_sitealias_get\l_record" alt="" coords="873,349,1015,395"/><area shape="rect" id="node96" href="sitealias_8inc.html#a09f500deb9e45e97098a37a4caa374ee" title="drush_sitealias_is\l_bootstrapped_site" alt="" coords="879,418,1009,465"/><area shape="rect" id="node98" href="sitealias_8inc.html#a5437d4bdf307bcc37cd15e903b3d99a9" title="drush_sitealias_is\l_remote_site" alt="" coords="881,487,1007,534"/><area shape="rect" id="node100" href="sitealias_8inc.html#a0c03b431ce6b8291d85dfd206e516159" title="drush_sitealias_bootstrapped\l_site_name" alt="" coords="849,557,1039,603"/><area shape="rect" id="node102" href="sitealias_8inc.html#a79d866a010f76b7d6ec47ab2a72a0c43" title="drush_sitealias_resolve\l_sitelist" alt="" coords="865,1021,1023,1067"/><area shape="rect" id="node106" href="sitealias_8inc.html#a432d1b4f4f62b73ecf29aa29501571a7" title="_drush_sitealias_initialize\l_alias_record" alt="" coords="1108,1081,1279,1127"/><area shape="rect" id="node110" href="sitealias_8inc.html#aba0142245fe1b01f094d42fb060391b1" title="_drush_sitealias_preflight_path" alt="" coords="844,677,1044,707"/><area shape="rect" id="node112" href="sitealias_8inc.html#ad847d30de6caee61a30ebc2059f9ad5a" title="drush_sitealias_evaluate_path" alt="" coords="1095,644,1292,673"/><area shape="rect" id="node61" href="preflight_8inc.html#a615008fc32203b55f5355e105450d60b" title="drush_shutdown" alt="" coords="1135,1357,1252,1387"/><area shape="rect" id="node63" href="unit_8drush_8inc.html#ae381f2b0e4bd97806103a439b9af1b0c" title="drush_unit_batch" alt="" coords="1133,1411,1253,1440"/><area shape="rect" id="node67" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="1140,1271,1247,1300"/><area shape="rect" id="node69" href="group__dispatching.html#ga125471885af052278a0874446b332cf9" title="drush_invoke_process" alt="" coords="1351,1188,1503,1217"/><area shape="rect" id="node73" href="includes_2command_8inc.html#a5c7d0d064d4cb56bfe2b2311e5643e11" title="drush_parse_args" alt="" coords="1131,767,1256,796"/><area shape="rect" id="node84" href="preflight_8inc.html#a7b3a0beead72750a7172800793cd509b" title="_drush_preflight_root_uri" alt="" coords="1112,871,1275,900"/><area shape="rect" id="node88" href="lib_2Drush_2Boot_2bootstrap_8inc.html#af264ad4df6841a41b7b37f6eed2ea3b4" title="_drush_bootstrap_selected_uri" alt="" coords="1095,924,1292,953"/></map>
</div>
</p>

</div>
</div>
<h2>Variable Documentation</h2>
<a class="anchor" id="a9f0a518bb0b1e6c3397756383fc72316"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const DRUSH_CACHE_PERMANENT = 0</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates that the item should never be removed unless explicitly selected.</p>
<p>The item may be removed using cache_clear_all() with a cache ID. </p>

<p>Definition at line <a class="el" href="includes_2cache_8inc_source.html#l00019">19</a> of file <a class="el" href="includes_2cache_8inc_source.html">cache.inc</a>.</p>

<p>Referenced by <a class="el" href="FileCache_8php_source.html#l00073">Drush\Cache\FileCache\set()</a>.</p>

</div>
</div>
<a class="anchor" id="a594d24dfbddcc6a2c2200ce328d5a8d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const DRUSH_CACHE_TEMPORARY = -1</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates that the item should be removed at the next general cache wipe. </p>

<p>Definition at line <a class="el" href="includes_2cache_8inc_source.html#l00024">24</a> of file <a class="el" href="includes_2cache_8inc_source.html">cache.inc</a>.</p>

<p>Referenced by <a class="el" href="complete_8inc_source.html#l00530">drush_complete_cache_set()</a>, and <a class="el" href="FileCache_8php_source.html#l00073">Drush\Cache\FileCache\set()</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Oct 8 2014 09:04:54 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>