Drush: commands/core/drupal/batch_6.inc File Reference

  1. 7.x doxygen/html/batch__6_8inc.html
  2. master doxygen/html/batch__6_8inc.html
batch_6.inc File Reference

Go to the source code of this file.

Functions

 _drush_backend_batch_process ($command= 'batch-process', $args, $options)
 _drush_batch_command ($id)
 _drush_batch_worker ()
 _drush_batch_finished ()
 _drush_batch_shutdown ()

Detailed Description

Drupal 6 engine for the Batch API

Definition in file batch_6.inc.

Function Documentation

_drush_backend_batch_process (   $command = 'batch-process',
  $args,
  $options 
)

Main loop for the Drush batch API.

Saves a record of the batch into the database, and progressively call $command to process the operations.

Parameters
commandThe command to call to process the batch.

Definition at line 19 of file batch_6.inc.

References drush_get_error(), and drush_invoke_process().

Here is the call graph for this function:

_drush_batch_command (   $id)

Initialize the batch command and call the worker function.

Loads the batch record from the database and sets up the requirements for the worker, such as registering the shutdown function.

Parameters
idThe batch id of the batch being processed.

Definition at line 55 of file batch_6.inc.

References _drush_batch_finished(), and _drush_batch_worker().

Here is the call graph for this function:

_drush_batch_finished ( )

End the batch processing: Call the 'finished' callbacks to allow custom handling of results, and resolve page redirection.

Definition at line 168 of file batch_6.inc.

References drush_set_option().

Here is the call graph for this function:

_drush_batch_shutdown ( )

Shutdown function: store the batch data for next request, or clear the table if the batch is finished.

Definition at line 195 of file batch_6.inc.

_drush_batch_worker ( )

Process batch operations

Using the current $batch process each of the operations until the batch has been completed or half of the available memory for the process has been reached.

Definition at line 83 of file batch_6.inc.

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

Here is the call graph for this function:

File

doxygen/html/batch__6_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/core/drupal/batch_6.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_5762b63965e3a68a35f77c23b4dd4668.html">core</a></li><li class="navelem"><a class="el" href="dir_124c2f0cfa86b0affb712ae9b365039b.html">drupal</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">batch_6.inc File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="batch__6_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:aaf9128a2dbd643871368ffdc18216a76"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="batch__6_8inc.html#aaf9128a2dbd643871368ffdc18216a76">_drush_backend_batch_process</a> ($command= 'batch-process', $args, $options)</td></tr>
<tr class="memitem:afa58efbd11be795ce39d4d14f4ac35e0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="batch__6_8inc.html#afa58efbd11be795ce39d4d14f4ac35e0">_drush_batch_command</a> ($id)</td></tr>
<tr class="memitem:a10c0d541fd31cfed1eed4caed37e30fa"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="batch__6_8inc.html#a10c0d541fd31cfed1eed4caed37e30fa">_drush_batch_worker</a> ()</td></tr>
<tr class="memitem:a1e3ba040027e50c90258295d7a70aec0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="batch__6_8inc.html#a1e3ba040027e50c90258295d7a70aec0">_drush_batch_finished</a> ()</td></tr>
<tr class="memitem:adf332cef87024828da87ac77de54440d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="batch__6_8inc.html#adf332cef87024828da87ac77de54440d">_drush_batch_shutdown</a> ()</td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Drupal 6 engine for the Batch API </p>

<p>Definition in file <a class="el" href="batch__6_8inc_source.html">batch_6.inc</a>.</p>
</div><h2>Function Documentation</h2>
<a class="anchor" id="aaf9128a2dbd643871368ffdc18216a76"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_backend_batch_process </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$command</em> = <code>'batch-process'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$args</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$options</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Main loop for the <a class="el" href="classDrush.html">Drush</a> batch API.</p>
<p>Saves a record of the batch into the database, and progressively call $command to process the operations.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">command</td><td>The command to call to process the batch. </td></tr>
  </table>
  </dd>
</dl>

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

<p>References <a class="el" href="drush_8inc_source.html#l01535">drush_get_error()</a>, and <a class="el" href="command_8inc_source.html#l00104">drush_invoke_process()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="batch__6_8inc_aaf9128a2dbd643871368ffdc18216a76_cgraph.png" border="0" usemap="#batch__6_8inc_aaf9128a2dbd643871368ffdc18216a76_cgraph" alt=""/></div>
<map name="batch__6_8inc_aaf9128a2dbd643871368ffdc18216a76_cgraph" id="batch__6_8inc_aaf9128a2dbd643871368ffdc18216a76_cgraph">
<area shape="rect" id="node3" href="group__errorhandling.html#ga33fe8456b3dc49a0e28e7f63692a0d44" title="drush_get_error" alt="" coords="231,507,343,536"/><area shape="rect" id="node7" href="group__dispatching.html#ga125471885af052278a0874446b332cf9" title="drush_invoke_process" alt="" coords="211,1075,363,1104"/><area shape="rect" id="node5" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="2020,1117,2148,1147"/><area shape="rect" id="node9" href="sitealias_8inc.html#a0dd349885b59373b8a067d7589d096e7" title="drush_sitealias_resolve\l_sitespecs" alt="" coords="413,238,571,285"/><area shape="rect" id="node32" href="group__logging.html#ga2a8afad8eafb1382e24a5601bc962e71" title="drush_log" alt="" coords="1412,1335,1489,1364"/><area shape="rect" id="node42" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1177,1491,1215,1520"/><area shape="rect" id="node51" href="sitealias_8inc.html#a0665329c1176b30398fa27ee5cd10423" title="drush_sitealias_simplify\l_names" alt="" coords="412,1487,572,1534"/><area shape="rect" id="node53" href="context_8inc.html#a559008f6decb23108b83e704208e415e" title="drush_get_option_override" alt="" coords="1109,1075,1283,1104"/><area shape="rect" id="node60" href="backend_8inc.html#a7852d5448cd4ee3a2082eccd24d690e7" title="drush_backend_invoke\l_concurrent" alt="" coords="624,770,779,817"/><area shape="rect" id="node11" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="867,178,1000,225"/><area shape="rect" id="node29" href="sitealias_8inc.html#a79d866a010f76b7d6ec47ab2a72a0c43" title="drush_sitealias_resolve\l_sitelist" alt="" coords="623,238,780,285"/><area shape="rect" id="node13" href="sitealias_8inc.html#a448de5768a772d33e44f86cfefe070ac" title="_drush_sitealias_get\l_record" alt="" coords="1125,58,1267,105"/><area shape="rect" id="node19" href="sitealias_8inc.html#a9e6067d5c022f5ee598fd0da886931a0" title="drush_sitealias_local\l_site_path" alt="" coords="1380,194,1521,241"/><area shape="rect" id="node21" href="sitealias_8inc.html#a7da9f5d71a8c274a8a1fc5d3889e9999" title="drush_sitealias_uri\l_to_site_dir" alt="" coords="1604,194,1735,241"/><area shape="rect" id="node25" href="sitealias_8inc.html#a3f06e1c033d491e01fe2841c08c0cd2e" title="drush_sitealias_lookup\l_alias_by_path" alt="" coords="1119,178,1273,225"/><area shape="rect" id="node16" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="1817,729,1945,759"/><area shape="rect" id="node34" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="1627,1335,1712,1364"/><area shape="rect" id="node37" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="1833,1281,1929,1311"/><area shape="rect" id="node39" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1804,1385,1959,1415"/><area shape="rect" id="node44" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1384,1542,1517,1589"/><area shape="rect" id="node49" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="1381,1489,1520,1519"/><area shape="rect" id="node46" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1809,1504,1953,1533"/><area shape="rect" id="node55" href="context_8inc.html#add3af7aa09b1ccf49718577a8d7aa61d" title="drush_sitealias_get\l_option" alt="" coords="1384,1006,1517,1053"/><area shape="rect" id="node57" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="1609,1015,1729,1044"/><area shape="rect" id="node63" href="backend_8inc.html#a895f14d30af875ea1783a3de2355d095" title="_drush_backend_adjust\l_options" alt="" coords="855,954,1012,1001"/><area shape="rect" id="node65" href="backend_8inc.html#aff4e2427168bc7585fcfa5eca6a94af0" title="_drush_backend_get\l_global_contexts" alt="" coords="863,361,1004,407"/><area shape="rect" id="node71" href="command_8inc.html#aed341ec21a59c794b73f7ba031825632" title="drush_command_get_command\l_specific_options" alt="" coords="831,533,1036,579"/><area shape="rect" id="node75" href="backend_8inc.html#a20dd75d8a0d75a4e59db35c8918d1d8a" title="_drush_backend_classify\l_options" alt="" coords="849,453,1017,499"/><area shape="rect" id="node81" href="group__commandwrappers.html#ga1292121e5bdd4bf19ef4f944b16301ed" title="drush_os" alt="" coords="1159,971,1233,1000"/><area shape="rect" id="node84" href="startup_8inc.html#a80f9d7b288b6ae5fd2c7a8377f7d31b9" title="find_wrapper_or_launcher" alt="" coords="848,623,1019,652"/><area shape="rect" id="node88" href="includes_2environment_8inc.html#ac03e907ca57149e27b2e34b186a65797" title="drush_build_drush_command" alt="" coords="1356,801,1545,831"/><area shape="rect" id="node105" href="backend_8inc.html#aa9bff3ffcd61a4dd945b567057a54e5d" title="_drush_backend_generate\l_command" alt="" coords="847,770,1020,817"/><area shape="rect" id="node111" href="backend_8inc.html#ad19c067bfbd87dfc63c55659723aaf60" title="_drush_backend_argument\l_string" alt="" coords="1107,645,1285,691"/><area shape="rect" id="node119" href="backend_8inc.html#a1d3f3caae7e1300c53e2cc1fe4ffb932" title="_drush_backend_invoke" alt="" coords="852,1231,1015,1260"/><area shape="rect" id="node67" href="drush_8inc.html#acb0a26e79bcbdd1152d59a6916a35aae" title="drush_get_global_options" alt="" coords="1112,400,1280,429"/><area shape="rect" id="node73" href="command_8inc.html#ada5bfda5bb64c19886f7253e30a58de2" title="drush_command_normalize_name" alt="" coords="1087,523,1305,552"/><area shape="rect" id="node78" href="sitealias_8inc.html#a4345c09c2ecb4793246075f06c146fec" title="drush_sitealias_site\l_selection_keys" alt="" coords="1128,453,1264,499"/><area shape="rect" id="node86" href="startup_8inc.html#abc197fb0045673893246a63b3b527f82" title="find_wrapper_or_launcher\l_in_vicinity" alt="" coords="1111,575,1281,622"/><area shape="rect" id="node90" href="includes_2environment_8inc.html#afd2e0babc825c7c524b1fb28cde88532" title="_drush_get_os" alt="" coords="1616,860,1723,889"/><area shape="rect" id="node95" href="group__commandwrappers.html#ga86287cc25942ca7d737ffa042a59be4b" title="drush_escapeshellarg" alt="" coords="1596,703,1743,732"/><area shape="rect" id="node98" href="context_8inc.html#ae7691e4635dc346aae09eb3f0bbd6092" title="drush_get_context_options" alt="" coords="1792,911,1971,940"/><area shape="rect" id="node101" href="includes_2environment_8inc.html#a87a6fcd104950fb9b0d90e25208bcf79" title="drush_has_bash" alt="" coords="1611,756,1728,785"/><area shape="rect" id="node108" href="includes_2environment_8inc.html#a395834ff6c51946c9c8a0953aa8f539f" title="drush_is_local_host" alt="" coords="1128,816,1264,845"/><area shape="rect" id="node113" href="backend_8inc.html#a76fe1964075bf89898a79d07885dcacf" title="_drush_escape_option" alt="" coords="1375,647,1527,676"/><area shape="rect" id="node122" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="1408,1127,1493,1156"/><area shape="rect" id="node127" href="group__commandwrappers.html#ga3a1bb3ae751f14749ce1dbe4ec9c3288" title="drush_shell_proc_open" alt="" coords="1119,1179,1273,1208"/><area shape="rect" id="node132" href="backend_8inc.html#aad736c236f213abc274709f79e41edf7" title="_drush_backend_proc_open" alt="" coords="1104,1283,1288,1312"/><area shape="rect" id="node136" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="1140,1437,1252,1467"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="afa58efbd11be795ce39d4d14f4ac35e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_batch_command </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Initialize the batch command and call the worker function.</p>
<p>Loads the batch record from the database and sets up the requirements for the worker, such as registering the shutdown function.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>The batch id of the batch being processed. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="batch__6_8inc_source.html#l00055">55</a> of file <a class="el" href="batch__6_8inc_source.html">batch_6.inc</a>.</p>

<p>References <a class="el" href="commands_2core_2drupal_2batch_8inc_source.html#l00224">_drush_batch_finished()</a>, and <a class="el" href="commands_2core_2drupal_2batch_8inc_source.html#l00117">_drush_batch_worker()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="batch__6_8inc_afa58efbd11be795ce39d4d14f4ac35e0_cgraph.png" border="0" usemap="#batch__6_8inc_afa58efbd11be795ce39d4d14f4ac35e0_cgraph" alt=""/></div>
<map name="batch__6_8inc_afa58efbd11be795ce39d4d14f4ac35e0_cgraph" id="batch__6_8inc_afa58efbd11be795ce39d4d14f4ac35e0_cgraph">
<area shape="rect" id="node3" href="commands_2core_2drupal_2batch_8inc.html#a1e3ba040027e50c90258295d7a70aec0" title="_drush_batch_finished" alt="" coords="219,277,371,306"/><area shape="rect" id="node20" href="commands_2core_2drupal_2batch_8inc.html#a10c0d541fd31cfed1eed4caed37e30fa" title="_drush_batch_worker" alt="" coords="221,197,368,226"/><area shape="rect" id="node5" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="615,326,748,372"/><area shape="rect" id="node17" href="context_8inc.html#aa4b55e2f6174c8b6efaa8f23a0f9e0af" title="drush_set_option" alt="" coords="428,277,548,306"/><area shape="rect" id="node7" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="812,326,956,356"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1029,117,1157,146"/><area shape="rect" id="node11" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="1011,248,1176,277"/><area shape="rect" id="node13" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="1225,130,1327,160"/><area shape="rect" id="node15" href="classDrush.html#abce7035069a9f7517f908b82bdd4dae0" title="Drush\\getContainer" alt="" coords="1377,130,1511,160"/><area shape="rect" id="node22" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="428,117,548,146"/><area shape="rect" id="node29" href="group__logging.html#ga2a8afad8eafb1382e24a5601bc962e71" title="drush_log" alt="" coords="449,38,527,68"/><area shape="rect" id="node40" href="drush_8inc.html#a78afaf6bac26a5964c39db973deb0783" title="drush_memory_limit" alt="" coords="419,170,557,200"/><area shape="rect" id="node43" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="469,224,507,253"/><area shape="rect" id="node24" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="617,65,745,94"/><area shape="rect" id="node27" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="607,169,756,198"/><area shape="rect" id="node31" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="639,12,724,41"/><area shape="rect" id="node34" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="1045,13,1141,42"/><area shape="rect" id="node37" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="807,65,961,94"/><area shape="rect" id="node46" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="612,222,751,252"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a1e3ba040027e50c90258295d7a70aec0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_batch_finished </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>End the batch processing: Call the 'finished' callbacks to allow custom handling of results, and resolve page redirection. </p>

<p>Definition at line <a class="el" href="batch__6_8inc_source.html#l00168">168</a> of file <a class="el" href="batch__6_8inc_source.html">batch_6.inc</a>.</p>

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

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

</div>
</div>
<a class="anchor" id="adf332cef87024828da87ac77de54440d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_batch_shutdown </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Shutdown function: store the batch data for next request, or clear the table if the batch is finished. </p>

<p>Definition at line <a class="el" href="batch__6_8inc_source.html#l00195">195</a> of file <a class="el" href="batch__6_8inc_source.html">batch_6.inc</a>.</p>

</div>
</div>
<a class="anchor" id="a10c0d541fd31cfed1eed4caed37e30fa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_batch_worker </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Process batch operations</p>
<p>Using the current $batch process each of the operations until the batch has been completed or half of the available memory for the process has been reached. </p>

<p>Definition at line <a class="el" href="batch__6_8inc_source.html#l00083">83</a> of file <a class="el" href="batch__6_8inc_source.html">batch_6.inc</a>.</p>

<p>References <a class="el" href="drush_8inc_source.html#l01252">drush_log()</a>, <a class="el" href="drush_8inc_source.html#l01635">drush_memory_limit()</a>, and <a class="el" href="output_8inc_source.html#l00147">dt()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="batch__6_8inc_a10c0d541fd31cfed1eed4caed37e30fa_cgraph.png" border="0" usemap="#batch__6_8inc_a10c0d541fd31cfed1eed4caed37e30fa_cgraph" alt=""/></div>
<map name="batch__6_8inc_a10c0d541fd31cfed1eed4caed37e30fa_cgraph" id="batch__6_8inc_a10c0d541fd31cfed1eed4caed37e30fa_cgraph">
<area shape="rect" id="node3" href="group__logging.html#ga2a8afad8eafb1382e24a5601bc962e71" title="drush_log" alt="" coords="231,25,308,55"/><area shape="rect" id="node18" href="drush_8inc.html#a78afaf6bac26a5964c39db973deb0783" title="drush_memory_limit" alt="" coords="200,79,339,108"/><area shape="rect" id="node20" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="251,132,288,161"/><area shape="rect" id="node5" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="413,25,499,55"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="797,83,925,112"/><area shape="rect" id="node9" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="813,5,909,35"/><area shape="rect" id="node15" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="575,83,729,112"/><area shape="rect" id="node11" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="993,71,1095,100"/><area shape="rect" id="node13" href="classDrush.html#abce7035069a9f7517f908b82bdd4dae0" title="Drush\\getContainer" alt="" coords="1145,71,1279,100"/><area shape="rect" id="node22" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="389,131,523,178"/><area shape="rect" id="node30" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="387,79,525,108"/><area shape="rect" id="node24" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="580,136,724,165"/><area shape="rect" id="node27" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="779,136,944,165"/></map>
</div>
</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Mar 29 2016 07:27:29 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>