Drush: Drush\Role\Role6 Class Reference

  1. 7.x doxygen/html/classDrush_1_1Role_1_1Role6.html
  2. master doxygen/html/classDrush_1_1Role_1_1Role6.html
Drush\Role\Role6 Class Reference
Inheritance diagram for Drush\Role\Role6:
Collaboration diagram for Drush\Role\Role6:

Public Member Functions

 getPerms ()
 getModulePerms ($module)
 role_create ($role_machine_name, $role_human_readable_name= '')
 delete ()
 _admin_user_role_op ($role_machine_name, $op)
 grant_permissions ($perms_to_add)
 revoke_permissions ($perms_to_remove)
 updatePerms ()
- Public Member Functions inherited from Drush\Role\RoleBase
 __construct ($rid=DRUPAL_ANONYMOUS_RID)
 getAllModulePerms ()
 add ($perm)
 remove ($perm)

Public Attributes

 $perms = array()
- Public Attributes inherited from Drush\Role\RoleBase
 $name
 $rid
 $roles

Detailed Description

Definition at line 5 of file Role6.php.


The documentation for this class was generated from the following file:

File

doxygen/html/classDrush_1_1Role_1_1Role6.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\Role\Role6 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 id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>Drush</b></li><li class="navelem"><b>Role</b></li><li class="navelem"><a class="el" href="classDrush_1_1Role_1_1Role6.html">Role6</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classDrush_1_1Role_1_1Role6-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Drush\Role\Role6 Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for Drush\Role\Role6:</div>
<div class="dyncontent">
<div class="center"><img src="classDrush_1_1Role_1_1Role6__inherit__graph.png" border="0" usemap="#Drush_0CRole_0CRole6_inherit__map" alt="Inheritance graph"/></div>
<map name="Drush_0CRole_0CRole6_inherit__map" id="Drush_0CRole_0CRole6_inherit__map">
<area shape="rect" id="node2" href="classDrush_1_1Role_1_1RoleBase.html" title="Drush\\Role\\RoleBase" alt="" coords="5,5,155,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Drush\Role\Role6:</div>
<div class="dyncontent">
<div class="center"><img src="classDrush_1_1Role_1_1Role6__coll__graph.png" border="0" usemap="#Drush_0CRole_0CRole6_coll__map" alt="Collaboration graph"/></div>
<map name="Drush_0CRole_0CRole6_coll__map" id="Drush_0CRole_0CRole6_coll__map">
<area shape="rect" id="node2" href="classDrush_1_1Role_1_1RoleBase.html" title="Drush\\Role\\RoleBase" alt="" coords="5,5,155,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:abd7efdbb2594e64ab8c9be4115414299"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abd7efdbb2594e64ab8c9be4115414299"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>getPerms</b> ()</td></tr>
<tr class="memitem:af0363d6f7b263240164e4052f10c8483"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af0363d6f7b263240164e4052f10c8483"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>getModulePerms</b> ($module)</td></tr>
<tr class="memitem:a38325b983ece5d697078acb467469e33"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a38325b983ece5d697078acb467469e33"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>role_create</b> ($role_machine_name, $role_human_readable_name= '')</td></tr>
<tr class="memitem:a3c0b0979bd01db26729d276f75241715"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3c0b0979bd01db26729d276f75241715"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>delete</b> ()</td></tr>
<tr class="memitem:a47b9997a08823e5b469cb1e17ec5e869"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a47b9997a08823e5b469cb1e17ec5e869"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>_admin_user_role_op</b> ($role_machine_name, $op)</td></tr>
<tr class="memitem:a8c8a1f0a6b6ec8e5db953e0a9baf489d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8c8a1f0a6b6ec8e5db953e0a9baf489d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>grant_permissions</b> ($perms_to_add)</td></tr>
<tr class="memitem:a96a767c3744172ec1c22ce61a6efd6dc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a96a767c3744172ec1c22ce61a6efd6dc"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>revoke_permissions</b> ($perms_to_remove)</td></tr>
<tr class="memitem:af33d1a6888fd8a1e707f3a2adb9168ac"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af33d1a6888fd8a1e707f3a2adb9168ac"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>updatePerms</b> ()</td></tr>
<tr class="inherit_header pub_methods_classDrush_1_1Role_1_1RoleBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classDrush_1_1Role_1_1RoleBase')"><img src="closed.png" alt="-"/>&nbsp;Public Member Functions inherited from <a class="el" href="classDrush_1_1Role_1_1RoleBase.html">Drush\Role\RoleBase</a></td></tr>
<tr class="memitem:a9c7f335ef169571c9caabd354b3b126a inherit pub_methods_classDrush_1_1Role_1_1RoleBase"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDrush_1_1Role_1_1RoleBase.html#a9c7f335ef169571c9caabd354b3b126a">__construct</a> ($rid=DRUPAL_ANONYMOUS_RID)</td></tr>
<tr class="memitem:a6963d71cc3712bb033cb3d3ecb476507 inherit pub_methods_classDrush_1_1Role_1_1RoleBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6963d71cc3712bb033cb3d3ecb476507"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>getAllModulePerms</b> ()</td></tr>
<tr class="memitem:a1b6c55c3f85f4448a5eb79931cb48fc5 inherit pub_methods_classDrush_1_1Role_1_1RoleBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1b6c55c3f85f4448a5eb79931cb48fc5"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>add</b> ($perm)</td></tr>
<tr class="memitem:a52c26291e3ce5baaedc5abe541387688 inherit pub_methods_classDrush_1_1Role_1_1RoleBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a52c26291e3ce5baaedc5abe541387688"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>remove</b> ($perm)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a4d043872267c8148fbb96a7b7e859eac"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d043872267c8148fbb96a7b7e859eac"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>$perms</b> = array()</td></tr>
<tr class="inherit_header pub_attribs_classDrush_1_1Role_1_1RoleBase"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classDrush_1_1Role_1_1RoleBase')"><img src="closed.png" alt="-"/>&nbsp;Public Attributes inherited from <a class="el" href="classDrush_1_1Role_1_1RoleBase.html">Drush\Role\RoleBase</a></td></tr>
<tr class="memitem:aad7ce1b70abe250f7771aa2cb449fb95 inherit pub_attribs_classDrush_1_1Role_1_1RoleBase"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDrush_1_1Role_1_1RoleBase.html#aad7ce1b70abe250f7771aa2cb449fb95">$name</a></td></tr>
<tr class="memitem:af46a298e5a501b2d36f6970bdcec8608 inherit pub_attribs_classDrush_1_1Role_1_1RoleBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af46a298e5a501b2d36f6970bdcec8608"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>$rid</b></td></tr>
<tr class="memitem:a86f42c2fad39029ba74710be88f09260 inherit pub_attribs_classDrush_1_1Role_1_1RoleBase"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDrush_1_1Role_1_1RoleBase.html#a86f42c2fad39029ba74710be88f09260">$roles</a></td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="Role6_8php_source.html#l00005">5</a> of file <a class="el" href="Role6_8php_source.html">Role6.php</a>.</p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>lib/Drush/Role/<a class="el" href="Role6_8php_source.html">Role6.php</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Mar 29 2016 07:27:39 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>