Drush: commands/xh.drush.inc File Reference

  1. 7.x doxygen/html/xh_8drush_8inc.html
  2. master doxygen/html/xh_8drush_8inc.html
xh.drush.inc File Reference

Go to the source code of this file.

Functions

 xh_drush_help_alter (&$command)
 xh_enabled ()
 xh_drush_init ()
 xh_drush_exit ()
 xh_link ($run_id)

Detailed Description

Definition in file xh.drush.inc.

Function Documentation

xh_drush_exit ( )

Implements hook_drush_exit().

Definition at line 51 of file xh.drush.inc.

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

Here is the call graph for this function:

xh_drush_help_alter ( $command)

Implements hook_drush_help_alter().

Definition at line 10 of file xh.drush.inc.

xh_drush_init ( )

Implements hook_drush_init().

Definition at line 38 of file xh.drush.inc.

References drush_get_option().

Here is the call graph for this function:

xh_link (   $run_id)

Returns the XHProf link.

Definition at line 67 of file xh.drush.inc.

References drush_get_option(), and drush_log().

Referenced by xh_drush_exit().

Here is the call graph for this function:

Here is the caller graph for this function:

File

doxygen/html/xh_8drush_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/xh.drush.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>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xh.drush.inc File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="xh_8drush_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:a778bf1a8d0f14c2bce71995fc016995e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xh_8drush_8inc.html#a778bf1a8d0f14c2bce71995fc016995e">xh_drush_help_alter</a> (&amp;$command)</td></tr>
<tr class="memitem:aa3ea28224469caede85244f244e8f6e7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa3ea28224469caede85244f244e8f6e7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>xh_enabled</b> ()</td></tr>
<tr class="memitem:a9bf68a4b9f2db5e84c7e875c4c7a85f0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xh_8drush_8inc.html#a9bf68a4b9f2db5e84c7e875c4c7a85f0">xh_drush_init</a> ()</td></tr>
<tr class="memitem:a2e3832bd7c6b3cf4125ae6e3963ea17f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xh_8drush_8inc.html#a2e3832bd7c6b3cf4125ae6e3963ea17f">xh_drush_exit</a> ()</td></tr>
<tr class="memitem:a052b74d559634d321004913b74d5c4ba"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xh_8drush_8inc.html#a052b74d559634d321004913b74d5c4ba">xh_link</a> ($run_id)</td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition in file <a class="el" href="xh_8drush_8inc_source.html">xh.drush.inc</a>.</p>
</div><h2>Function Documentation</h2>
<a class="anchor" id="a2e3832bd7c6b3cf4125ae6e3963ea17f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xh_drush_exit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Implements <a class="el" href="group__hooks.html#gaceff65b92d3f8e8cd206b1675bd20673">hook_drush_exit()</a>. </p>

<p>Definition at line <a class="el" href="xh_8drush_8inc_source.html#l00051">51</a> of file <a class="el" href="xh_8drush_8inc_source.html">xh.drush.inc</a>.</p>

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

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="xh_8drush_8inc_a2e3832bd7c6b3cf4125ae6e3963ea17f_cgraph.png" border="0" usemap="#xh_8drush_8inc_a2e3832bd7c6b3cf4125ae6e3963ea17f_cgraph" alt=""/></div>
<map name="xh_8drush_8inc_a2e3832bd7c6b3cf4125ae6e3963ea17f_cgraph" id="xh_8drush_8inc_a2e3832bd7c6b3cf4125ae6e3963ea17f_cgraph">
<area shape="rect" id="node3" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="299,100,376,129"/><area shape="rect" id="node10" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="171,41,208,71"/><area shape="rect" id="node19" href="xh_8drush_8inc.html#a052b74d559634d321004913b74d5c4ba" title="xh_link" alt="" coords="159,149,220,179"/><area shape="rect" id="node5" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="692,85,820,115"/><area shape="rect" id="node7" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="455,59,609,88"/><area shape="rect" id="node12" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="271,9,404,55"/><area shape="rect" id="node14" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="460,5,604,35"/><area shape="rect" id="node16" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="659,5,853,35"/><area shape="rect" id="node21" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="277,188,397,217"/><area shape="rect" id="node23" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="468,213,596,243"/><area shape="rect" id="node26" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="457,267,607,296"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a778bf1a8d0f14c2bce71995fc016995e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xh_drush_help_alter </td>
          <td>(</td>
          <td class="paramtype">&amp;&#160;</td>
          <td class="paramname"><em>$command</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Implements <a class="el" href="group__hooks.html#ga013c29fff5780421e512662dffb3ee6c">hook_drush_help_alter()</a>. </p>

<p>Definition at line <a class="el" href="xh_8drush_8inc_source.html#l00010">10</a> of file <a class="el" href="xh_8drush_8inc_source.html">xh.drush.inc</a>.</p>

</div>
</div>
<a class="anchor" id="a9bf68a4b9f2db5e84c7e875c4c7a85f0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xh_drush_init </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Implements <a class="el" href="group__hooks.html#ga7c152a4ea745c2ab4cc02550a508cd02">hook_drush_init()</a>. </p>

<p>Definition at line <a class="el" href="xh_8drush_8inc_source.html#l00038">38</a> of file <a class="el" href="xh_8drush_8inc_source.html">xh.drush.inc</a>.</p>

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

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

</div>
</div>
<a class="anchor" id="a052b74d559634d321004913b74d5c4ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xh_link </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$run_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the XHProf link. </p>

<p>Definition at line <a class="el" href="xh_8drush_8inc_source.html#l00067">67</a> of file <a class="el" href="xh_8drush_8inc_source.html">xh.drush.inc</a>.</p>

<p>References <a class="el" href="context_8inc_source.html#l00405">drush_get_option()</a>, and <a class="el" href="drush_8inc_source.html#l01413">drush_log()</a>.</p>

<p>Referenced by <a class="el" href="xh_8drush_8inc_source.html#l00051">xh_drush_exit()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="xh_8drush_8inc_a052b74d559634d321004913b74d5c4ba_cgraph.png" border="0" usemap="#xh_8drush_8inc_a052b74d559634d321004913b74d5c4ba_cgraph" alt=""/></div>
<map name="xh_8drush_8inc_a052b74d559634d321004913b74d5c4ba_cgraph" id="xh_8drush_8inc_a052b74d559634d321004913b74d5c4ba_cgraph">
<area shape="rect" id="node3" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="119,83,239,112"/><area shape="rect" id="node11" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="140,161,217,191"/><area shape="rect" id="node5" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="303,5,431,35"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="495,161,623,191"/><area shape="rect" id="node9" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="292,109,441,139"/><area shape="rect" id="node14" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="289,213,444,243"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="xh_8drush_8inc_a052b74d559634d321004913b74d5c4ba_icgraph.png" border="0" usemap="#xh_8drush_8inc_a052b74d559634d321004913b74d5c4ba_icgraph" alt=""/></div>
<map name="xh_8drush_8inc_a052b74d559634d321004913b74d5c4ba_icgraph" id="xh_8drush_8inc_a052b74d559634d321004913b74d5c4ba_icgraph">
<area shape="rect" id="node3" href="xh_8drush_8inc.html#a2e3832bd7c6b3cf4125ae6e3963ea17f" title="xh_drush_exit" alt="" coords="119,5,220,35"/></map>
</div>
</p>

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