diff options
author | friendica <info@friendica.com> | 2014-09-19 02:22:12 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-09-19 02:22:12 -0700 |
commit | 083b5da967d52780d0ff2f9e3a01484c45eed38d (patch) | |
tree | 183d22c191155e9f250a74f2936953600fff9fca /doc/html/permissions_8php.html | |
parent | 45df73d4560dca675166cd7200c6be9dae41d3b0 (diff) | |
download | volse-hubzilla-083b5da967d52780d0ff2f9e3a01484c45eed38d.tar.gz volse-hubzilla-083b5da967d52780d0ff2f9e3a01484c45eed38d.tar.bz2 volse-hubzilla-083b5da967d52780d0ff2f9e3a01484c45eed38d.zip |
doc updates
Diffstat (limited to 'doc/html/permissions_8php.html')
-rw-r--r-- | doc/html/permissions_8php.html | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/doc/html/permissions_8php.html b/doc/html/permissions_8php.html index f4baf95c3..ef35b882f 100644 --- a/doc/html/permissions_8php.html +++ b/doc/html/permissions_8php.html @@ -124,6 +124,8 @@ Functions</h2></td></tr> <tr class="separator:aa8b7b102c653649d7a71b5a1c044d90d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9b5f5120566a3699a98efc5ccb0c59fe"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="permissions_8php.html#a9b5f5120566a3699a98efc5ccb0c59fe">get_role_perms</a> ($role)</td></tr> <tr class="separator:a9b5f5120566a3699a98efc5ccb0c59fe"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a50e8099ea8a4d7ed68b2a0a7ea9aa724"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="permissions_8php.html#a50e8099ea8a4d7ed68b2a0a7ea9aa724">role_selector</a> ($current)</td></tr> +<tr class="separator:a50e8099ea8a4d7ed68b2a0a7ea9aa724"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Function Documentation</h2> <a class="anchor" id="a0f5bd9f7f4c8fb7ba4b2c1ed048b4dc7"></a> @@ -236,11 +238,12 @@ Functions</h2></td></tr> <p>get_role_perms($role) </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> - <tr><td class="paramtype">string</td><td class="paramname">$role</td><td>Given a string for the channel role ('social','forum', etc) return an array of all permission fields pre-filled for this role. This includes the channel permission scope indicators as well as perms_auto: The permissions to apply automatically on receipt of a connection request perms_follow: The permissions to apply when initiating a connection request to another channel perms_accept: The permissions to apply when accepting a connection request from another channel (not automatic)</td></tr> + <tr><td class="paramtype">string</td><td class="paramname">$role</td><td>Given a string for the channel role ('social','forum', etc) return an array of all permission fields pre-filled for this role. This includes the channel permission scope indicators (anything beginning with 'channel_') as well as perms_auto: true or false to create auto-permissions for this channel perms_follow: The permissions to apply when initiating a connection request to another channel perms_accept: The permissions to apply when accepting a connection request from another channel (not automatic) default_collection: true or false to make the default ACL include the channel's default collection directory_publish: true or false to publish this channel in the directory Any attributes may be extended (new roles defined) and modified (specific permissions altered) by plugins </td></tr> </table> </dd> </dl> -<p>Any attributes may be extended (new roles defined) and modified (specific permissions altered) by plugins </p> + +<p>Referenced by <a class="el" href="connedit_8php.html#a795acb3d9d841f55c255d7611681ab67">connedit_content()</a>, <a class="el" href="identity_8php.html#a345f4c943d84de502ec6e72d2c813945">create_identity()</a>, and <a class="el" href="include_2follow_8php.html#ae387d4ae097c23d69f3247e7f08140c7">new_contact()</a>.</p> </div> </div> @@ -278,6 +281,24 @@ Functions</h2></td></tr> </div> </div> +<a class="anchor" id="a50e8099ea8a4d7ed68b2a0a7ea9aa724"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">role_selector </td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname"><em>$current</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Referenced by <a class="el" href="new__channel_8php.html#ae585191610f79da129492482ce8e2fee">new_channel_content()</a>.</p> + +</div> +</div> <a class="anchor" id="aa8b7b102c653649d7a71b5a1c044d90d"></a> <div class="memitem"> <div class="memproto"> |