Drush: drush_outputformat_php Class Reference

  1. 7.x doxygen/html/classdrush__outputformat__php.html
  2. master doxygen/html/classdrush__outputformat__php.html
drush_outputformat_php Class Reference
Inheritance diagram for drush_outputformat_php:
Collaboration diagram for drush_outputformat_php:

Public Member Functions

 format ($input, $metadata)
- Public Member Functions inherited from drush_outputformat
 __construct ($config)
 format_error ($message)
 formatter_type ()
 is_list ()
 formatter_is_simple_list ()
 data_type ($metadata)
 supported_data_types ($metadata=NULL)
 supports_single_only ($metadata=NULL)
 get_info ($key)
 process ($input, $metadata=array())

Detailed Description

Output formatter 'php'

Parameters
$dataThe $data parameter is rendered as a serialized php string
$metadataCode:

Definition at line 13 of file php.inc.


The documentation for this class was generated from the following file:
  • commands/core/outputformat/php.inc

File

doxygen/html/classdrush__outputformat__php.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: drush_outputformat_php Class 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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><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="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#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><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classdrush__outputformat__php-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">drush_outputformat_php Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for drush_outputformat_php:</div>
<div class="dyncontent">
<div class="center"><img src="classdrush__outputformat__php__inherit__graph.png" border="0" usemap="#drush__outputformat__php_inherit__map" alt="Inheritance graph"/></div>
<map name="drush__outputformat__php_inherit__map" id="drush__outputformat__php_inherit__map">
<area shape="rect" id="node2" href="classdrush__outputformat.html" title="drush_outputformat" alt="" coords="20,5,153,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for drush_outputformat_php:</div>
<div class="dyncontent">
<div class="center"><img src="classdrush__outputformat__php__coll__graph.png" border="0" usemap="#drush__outputformat__php_coll__map" alt="Collaboration graph"/></div>
<map name="drush__outputformat__php_coll__map" id="drush__outputformat__php_coll__map">
<area shape="rect" id="node2" href="classdrush__outputformat.html" title="drush_outputformat" alt="" coords="20,5,153,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a19e2e3b3adb6e963bd3413f8e25cfcee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a19e2e3b3adb6e963bd3413f8e25cfcee"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>format</b> ($input, $metadata)</td></tr>
<tr class="inherit_header pub_methods_classdrush__outputformat"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classdrush__outputformat')"><img src="closed.png" alt="-"/>&nbsp;Public Member Functions inherited from <a class="el" href="classdrush__outputformat.html">drush_outputformat</a></td></tr>
<tr class="memitem:a17ff3f6c244cfeb9dd0861547c1ce5c3 inherit pub_methods_classdrush__outputformat"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a17ff3f6c244cfeb9dd0861547c1ce5c3"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>__construct</b> ($config)</td></tr>
<tr class="memitem:a9b22cbd411beefbd537cf1dbfc38fc6a inherit pub_methods_classdrush__outputformat"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9b22cbd411beefbd537cf1dbfc38fc6a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>format_error</b> ($message)</td></tr>
<tr class="memitem:ab46bf4f58bea0fdaaad41a0904125fb7 inherit pub_methods_classdrush__outputformat"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab46bf4f58bea0fdaaad41a0904125fb7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>formatter_type</b> ()</td></tr>
<tr class="memitem:a3b24b4c73c52c5632576a04df626568c inherit pub_methods_classdrush__outputformat"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b24b4c73c52c5632576a04df626568c"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>is_list</b> ()</td></tr>
<tr class="memitem:af474602d2946fda39d166830031c59e1 inherit pub_methods_classdrush__outputformat"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af474602d2946fda39d166830031c59e1"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>formatter_is_simple_list</b> ()</td></tr>
<tr class="memitem:a9c203b3383498faa1d58e51c4e6c024f inherit pub_methods_classdrush__outputformat"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9c203b3383498faa1d58e51c4e6c024f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>data_type</b> ($metadata)</td></tr>
<tr class="memitem:ae93d661aacea9b8c5b586dd2fc905614 inherit pub_methods_classdrush__outputformat"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae93d661aacea9b8c5b586dd2fc905614"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>supported_data_types</b> ($metadata=NULL)</td></tr>
<tr class="memitem:a822391561c00c1cc3b6f1a436dcbcc94 inherit pub_methods_classdrush__outputformat"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a822391561c00c1cc3b6f1a436dcbcc94"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>supports_single_only</b> ($metadata=NULL)</td></tr>
<tr class="memitem:ad66801d1a675bfc8a2a90cdf1617be85 inherit pub_methods_classdrush__outputformat"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad66801d1a675bfc8a2a90cdf1617be85"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>get_info</b> ($key)</td></tr>
<tr class="memitem:a69d8dba156e7b5aabb76fea0f52cfd68 inherit pub_methods_classdrush__outputformat"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrush__outputformat.html#a69d8dba156e7b5aabb76fea0f52cfd68">process</a> ($input, $metadata=array())</td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Output formatter 'php'</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$data</td><td>The $data parameter is rendered as a serialized php string </td></tr>
    <tr><td class="paramname">$metadata</td><td>Code: </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="php_8inc_source.html#l00013">13</a> of file <a class="el" href="php_8inc_source.html">php.inc</a>.</p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>commands/core/outputformat/<a class="el" href="php_8inc_source.html">php.inc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Oct 8 2014 09:05:01 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>