Added ldoc comments for all lua modules and generated docs in documentation index.html
This commit is contained in:
		
							
								
								
									
										144
									
								
								documentation/doc/modules/add_child_org_consent.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										144
									
								
								documentation/doc/modules/add_child_org_consent.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,144 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>add_child_org_consent</code></h1> | ||||
| <p>Adds a child org.</p> | ||||
| <p> | ||||
|  Depends on `consent`</p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#initiate">initiate (result)</a></td> | ||||
| 	<td class="summary">Initiate consent for new child org</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#create_child_org">create_child_org ()</a></td> | ||||
| 	<td class="summary">Create a new child orgg</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "initiate"></a> | ||||
|     <strong>initiate (result)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Initiate consent for new child org | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">result</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "create_child_org"></a> | ||||
|     <strong>create_child_org ()</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Create a new child orgg | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										148
									
								
								documentation/doc/modules/change_modules.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										148
									
								
								documentation/doc/modules/change_modules.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,148 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>change_modules</code></h1> | ||||
| <p>change_modules | ||||
|  Depends on consent</p> | ||||
| <p></p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#initiate">initiate ()</a></td> | ||||
| 	<td class="summary">Initiate change in modules.</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#propose_change">propose_change (type, mod_text)</a></td> | ||||
| 	<td class="summary">propose_change</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "initiate"></a> | ||||
|     <strong>initiate ()</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Initiate change in modules. | ||||
|  Either adds or removes module depending on user input | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "propose_change"></a> | ||||
|     <strong>propose_change (type, mod_text)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     propose_change | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">type</span> | ||||
|  | ||||
|         </li> | ||||
|         <li><span class="parameter">mod_text</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										149
									
								
								documentation/doc/modules/consent.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										149
									
								
								documentation/doc/modules/consent.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,149 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>consent</code></h1> | ||||
| <p>A utility module for checking consent</p> | ||||
| <p></p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#initiate">initiate (result)</a></td> | ||||
| 	<td class="summary">Initiate consent</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#callback">callback (member)</a></td> | ||||
| 	<td class="summary">Callback</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "initiate"></a> | ||||
|     <strong>initiate (result)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Initiate consent | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">result</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "callback"></a> | ||||
|     <strong>callback (member)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Callback | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">member</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										125
									
								
								documentation/doc/modules/join_org.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										125
									
								
								documentation/doc/modules/join_org.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,125 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>join_org</code></h1> | ||||
| <p>Adds a user to org</p> | ||||
| <p></p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#initiate">initiate (result)</a></td> | ||||
| 	<td class="summary">Adds the user to the org</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "initiate"></a> | ||||
|     <strong>initiate (result)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Adds the user to the org | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">result</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										145
									
								
								documentation/doc/modules/join_org_consent.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										145
									
								
								documentation/doc/modules/join_org_consent.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,145 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>join_org_consent</code></h1> | ||||
| <p>Join org (consent).</p> | ||||
| <p> | ||||
|  A simple module that calls a consent process on an org to add a member. | ||||
|  Depends on the Consent module.</p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#initiate">initiate (result)</a></td> | ||||
| 	<td class="summary">Initiate join org with consent</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#complete">complete ()</a></td> | ||||
| 	<td class="summary">Adds member to org, notifies org, and deletes process</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "initiate"></a> | ||||
|     <strong>initiate (result)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Initiate join org with consent | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">result</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "complete"></a> | ||||
|     <strong>complete ()</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Adds member to org, notifies org, and deletes process | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										145
									
								
								documentation/doc/modules/join_org_consent.lua.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										145
									
								
								documentation/doc/modules/join_org_consent.lua.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,145 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>join_org_consent.lua</code></h1> | ||||
| <p>Join org (consent).</p> | ||||
| <p> | ||||
|  A simple module that calls a consent process on an org to add a member. | ||||
|  Depends on the Consent module.</p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#join_org_consent:initiate">join_org_consent:initiate (result)</a></td> | ||||
| 	<td class="summary">Initiate join org with consent</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#join_org_consent:complete">join_org_consent:complete ()</a></td> | ||||
| 	<td class="summary">Adds member to org, notifies org, and deletes process</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "join_org_consent:initiate"></a> | ||||
|     <strong>join_org_consent:initiate (result)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Initiate join org with consent | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">result</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "join_org_consent:complete"></a> | ||||
|     <strong>join_org_consent:complete ()</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Adds member to org, notifies org, and deletes process | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:46:26 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										125
									
								
								documentation/doc/modules/leave_org.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										125
									
								
								documentation/doc/modules/leave_org.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,125 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>leave_org</code></h1> | ||||
| <p>Removes initiator from org</p> | ||||
| <p></p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#initiate">initiate (result)</a></td> | ||||
| 	<td class="summary">Removes user from org</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "initiate"></a> | ||||
|     <strong>initiate (result)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Removes user from org | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">result</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										125
									
								
								documentation/doc/modules/message_org.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										125
									
								
								documentation/doc/modules/message_org.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,125 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>message_org</code></h1> | ||||
| <p>Messages all org members</p> | ||||
| <p></p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#initiate">initiate (result)</a></td> | ||||
| 	<td class="summary">Allows user to send input message to all org members</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "initiate"></a> | ||||
|     <strong>initiate (result)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Allows user to send input message to all org members | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">result</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										307
									
								
								documentation/doc/modules/modpol.interactions.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										307
									
								
								documentation/doc/modules/modpol.interactions.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,307 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>modpol.interactions</code></h1> | ||||
| <p>INTERACTIONS.LUA (CLI).</p> | ||||
| <p> | ||||
|  User interaction functions for Modular Politics | ||||
|  Called by modpol.lua</p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.interactions.dashboard">modpol.interactions.dashboard (user)</a></td> | ||||
| 	<td class="summary">Output: Display a menu of commands to the user</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.interactions.org_dashboard">modpol.interactions.org_dashboard (user, org_string)</a></td> | ||||
| 	<td class="summary">Output: Displays a menu of org-specific commands to the user</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.interactions.message">modpol.interactions.message (user, message)</a></td> | ||||
| 	<td class="summary">Output: Prints message to CLI</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.interactions.text_query">modpol.interactions.text_query (user, query, func)</a></td> | ||||
| 	<td class="summary">Output: Applies "func" to user input.</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.interactions.dropdown_query">modpol.interactions.dropdown_query (user, label, options, func)</a></td> | ||||
| 	<td class="summary">Output: Calls func on choice.</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.binary_poll_user">modpol.binary_poll_user (user, question, func)</a></td> | ||||
| 	<td class="summary">Output: Applies "func" to user input.</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.interactions.message_org">modpol.interactions.message_org (initiator, org, message)</a></td> | ||||
| 	<td class="summary">Output: broadcasts message to all org members</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "modpol.interactions.dashboard"></a> | ||||
|     <strong>modpol.interactions.dashboard (user)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Output: Display a menu of commands to the user | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">user</span> | ||||
|          (string) | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.interactions.org_dashboard"></a> | ||||
|     <strong>modpol.interactions.org_dashboard (user, org_string)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Output: Displays a menu of org-specific commands to the user | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">user</span> | ||||
|          (string) | ||||
|         </li> | ||||
|         <li><span class="parameter">org_string</span> | ||||
|          (string or id) | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.interactions.message"></a> | ||||
|     <strong>modpol.interactions.message (user, message)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Output: Prints message to CLI | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">user</span> | ||||
|          (string) | ||||
|         </li> | ||||
|         <li><span class="parameter">message</span> | ||||
|          (string) | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.interactions.text_query"></a> | ||||
|     <strong>modpol.interactions.text_query (user, query, func)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Output: Applies "func" to user input. | ||||
|  Func input: user input (string) | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">user</span> | ||||
|          (string) | ||||
|         </li> | ||||
|         <li><span class="parameter">query</span> | ||||
|          (string) | ||||
|         </li> | ||||
|         <li><span class="parameter">func</span> | ||||
|          (function) | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.interactions.dropdown_query"></a> | ||||
|     <strong>modpol.interactions.dropdown_query (user, label, options, func)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Output: Calls func on choice. | ||||
|  func input: choice (string) | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">user</span> | ||||
|          (string) | ||||
|         </li> | ||||
|         <li><span class="parameter">label</span> | ||||
|          (string) | ||||
|         </li> | ||||
|         <li><span class="parameter">options</span> | ||||
|          (table of strings) | ||||
|         </li> | ||||
|         <li><span class="parameter">func</span> | ||||
|          (choice) (function) | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.binary_poll_user"></a> | ||||
|     <strong>modpol.binary_poll_user (user, question, func)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Output: Applies "func" to user input. | ||||
|  Func input: user input (string: y/n) | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">user</span> | ||||
|          (string) | ||||
|         </li> | ||||
|         <li><span class="parameter">question</span> | ||||
|          (string) | ||||
|         </li> | ||||
|         <li><span class="parameter">func</span> | ||||
|          (function) | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.interactions.message_org"></a> | ||||
|     <strong>modpol.interactions.message_org (initiator, org, message)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Output: broadcasts message to all org members | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">initiator</span> | ||||
|          (string) | ||||
|         </li> | ||||
|         <li><span class="parameter">org</span> | ||||
|          (number or string) | ||||
|         </li> | ||||
|         <li><span class="parameter">message</span> | ||||
|          (string) | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										475
									
								
								documentation/doc/modules/modpol.orgs.base.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										475
									
								
								documentation/doc/modules/modpol.orgs.base.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,475 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>modpol.orgs.base</code></h1> | ||||
| <p>Basic function for orgs</p> | ||||
| <p></p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs.get_org">modpol.orgs.get_org (arg)</a></td> | ||||
| 	<td class="summary">Return org when given its id or name</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs.list_all">modpol.orgs.list_all ()</a></td> | ||||
| 	<td class="summary">Return a table list of all org names</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs.user_orgs">modpol.orgs.user_orgs (user)</a></td> | ||||
| 	<td class="summary">Return the orgs of a user</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs.reset">modpol.orgs.reset ()</a></td> | ||||
| 	<td class="summary">Deletes all orgs except for the</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs.init_instance">modpol.orgs.init_instance ()</a></td> | ||||
| 	<td class="summary">Initializes the instance (root org) | ||||
|  can only be run once, as only one instance can exist</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs:record">modpol.orgs:record ()</a></td> | ||||
| 	<td class="summary">Records a log message to the modpol ledger</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs:add_org">modpol.orgs:add_org (name, user)</a></td> | ||||
| 	<td class="summary">Adds a new sub org to the org it is called on.</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs:delete">modpol.orgs:delete ()</a></td> | ||||
| 	<td class="summary">Recursively deletes an org and its suborgs | ||||
|  Leaves entry in modpol.orgs.array as a string "removed".</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs:get_member_index">modpol.orgs:get_member_index (member)</a></td> | ||||
| 	<td class="summary">Internal function to get the index of a member name</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs:add_member">modpol.orgs:add_member (user)</a></td> | ||||
| 	<td class="summary">Adds a user to an org</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs:remove_member">modpol.orgs:remove_member (user)</a></td> | ||||
| 	<td class="summary">Removes a user from an org</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs:has_member">modpol.orgs:has_member (user)</a></td> | ||||
| 	<td class="summary">Boolean check whether user is an org</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs:list_members">modpol.orgs:list_members ()</a></td> | ||||
| 	<td class="summary"></td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs:get_member_count">modpol.orgs:get_member_count ()</a></td> | ||||
| 	<td class="summary">Because member list uses lazy deletion, using #org.members will not show an accurate number</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs:set_policy">modpol.orgs:set_policy (policy_type, process_type, must_be_member)</a></td> | ||||
| 	<td class="summary">Adds a new policy to the policy table.</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs.get_org"></a> | ||||
|     <strong>modpol.orgs.get_org (arg)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Return org when given its id or name | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">arg</span> | ||||
|          string for name of org or id of org | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|     <h3>Returns:</h3> | ||||
|     <ol> | ||||
|  | ||||
|         org specified by id or name | ||||
|     </ol> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs.list_all"></a> | ||||
|     <strong>modpol.orgs.list_all ()</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Return a table list of all org names | ||||
|  | ||||
|  | ||||
|  | ||||
|     <h3>Returns:</h3> | ||||
|     <ol> | ||||
|  | ||||
|         a table list of all org names | ||||
|     </ol> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs.user_orgs"></a> | ||||
|     <strong>modpol.orgs.user_orgs (user)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Return the orgs of a user | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">user</span> | ||||
|          string of user name | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|     <h3>Returns:</h3> | ||||
|     <ol> | ||||
|  | ||||
|         table of strings of org names | ||||
|     </ol> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs.reset"></a> | ||||
|     <strong>modpol.orgs.reset ()</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Deletes all orgs except for the | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs.init_instance"></a> | ||||
|     <strong>modpol.orgs.init_instance ()</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Initializes the instance (root org) | ||||
|  can only be run once, as only one instance can exist | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs:record"></a> | ||||
|     <strong>modpol.orgs:record ()</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Records a log message to the modpol ledger | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs:add_org"></a> | ||||
|     <strong>modpol.orgs:add_org (name, user)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Adds a new sub org to the org it is called on. | ||||
|  Ex: instance:add_org('town hall') | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">name</span> | ||||
|          (string) name of new org | ||||
|         </li> | ||||
|         <li><span class="parameter">user</span> | ||||
|          (string) | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|     <h3>Returns:</h3> | ||||
|     <ol> | ||||
|  | ||||
|         child org created | ||||
|     </ol> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs:delete"></a> | ||||
|     <strong>modpol.orgs:delete ()</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Recursively deletes an org and its suborgs | ||||
|  Leaves entry in modpol.orgs.array as a string "removed". | ||||
|  Note: "reason" param was removed, can be added back | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs:get_member_index"></a> | ||||
|     <strong>modpol.orgs:get_member_index (member)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Internal function to get the index of a member name | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">member</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|     <h3>Returns:</h3> | ||||
|     <ol> | ||||
|  | ||||
|         index of given member | ||||
|     </ol> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs:add_member"></a> | ||||
|     <strong>modpol.orgs:add_member (user)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Adds a user to an org | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">user</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs:remove_member"></a> | ||||
|     <strong>modpol.orgs:remove_member (user)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Removes a user from an org | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">user</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs:has_member"></a> | ||||
|     <strong>modpol.orgs:has_member (user)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Boolean check whether user is an org | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">user</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|     <h3>Returns:</h3> | ||||
|     <ol> | ||||
|  | ||||
|         true if user is in org, false if not | ||||
|     </ol> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs:list_members"></a> | ||||
|     <strong>modpol.orgs:list_members ()</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|     <h3>Returns:</h3> | ||||
|     <ol> | ||||
|  | ||||
|         a table of the names (string) of members | ||||
|     </ol> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs:get_member_count"></a> | ||||
|     <strong>modpol.orgs:get_member_count ()</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Because member list uses lazy deletion, using #org.members will not show an accurate number | ||||
|  | ||||
|  | ||||
|  | ||||
|     <h3>Returns:</h3> | ||||
|     <ol> | ||||
|  | ||||
|         numbers of members | ||||
|     </ol> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs:set_policy"></a> | ||||
|     <strong>modpol.orgs:set_policy (policy_type, process_type, must_be_member)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Adds a new policy to the policy table. | ||||
|  Must define the policy type, process associated with it, and whether the request must be made by an org member | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">policy_type</span> | ||||
|  | ||||
|         </li> | ||||
|         <li><span class="parameter">process_type</span> | ||||
|  | ||||
|         </li> | ||||
|         <li><span class="parameter">must_be_member</span> | ||||
|          Boolean | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										295
									
								
								documentation/doc/modules/modpol.orgs.process.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										295
									
								
								documentation/doc/modules/modpol.orgs.process.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,295 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>modpol.orgs.process</code></h1> | ||||
| <p>Process functions for orgs</p> | ||||
| <p></p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs.call_module">modpol.orgs.call_module (module_slug, intiator, config, result)</a></td> | ||||
| 	<td class="summary">Call modules</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs:delete_process">modpol.orgs:delete_process (id)</a></td> | ||||
| 	<td class="summary">Delete process by id</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs:add_pending_action">modpol.orgs:add_pending_action (process_id, user, callback)</a></td> | ||||
| 	<td class="summary">Add a new pending action</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs:remove_pending_action">modpol.orgs:remove_pending_action (process_id, user)</a></td> | ||||
| 	<td class="summary">Remove a pending action</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs:wipe_pending_actions">modpol.orgs:wipe_pending_actions (process_id)</a></td> | ||||
| 	<td class="summary">Wipe all pending actions for process</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs:has_pending_actions">modpol.orgs:has_pending_actions (user)</a></td> | ||||
| 	<td class="summary">Check if there are pending actions for user</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.orgs:interact">modpol.orgs:interact (process_id, user)</a></td> | ||||
| 	<td class="summary">Interact a user with given process</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs.call_module"></a> | ||||
|     <strong>modpol.orgs.call_module (module_slug, intiator, config, result)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Call modules | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">module_slug</span> | ||||
|          Same as module name | ||||
|         </li> | ||||
|         <li><span class="parameter">intiator</span> | ||||
|          Initiator for module | ||||
|         </li> | ||||
|         <li><span class="parameter">config</span> | ||||
|          Config for module | ||||
|         </li> | ||||
|         <li><span class="parameter">result</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs:delete_process"></a> | ||||
|     <strong>modpol.orgs:delete_process (id)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Delete process by id | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">id</span> | ||||
|          Id of process | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs:add_pending_action"></a> | ||||
|     <strong>modpol.orgs:add_pending_action (process_id, user, callback)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Add a new pending action | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">process_id</span> | ||||
|          Process id | ||||
|         </li> | ||||
|         <li><span class="parameter">user</span> | ||||
|          User adding the action | ||||
|         </li> | ||||
|         <li><span class="parameter">callback</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs:remove_pending_action"></a> | ||||
|     <strong>modpol.orgs:remove_pending_action (process_id, user)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Remove a pending action | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">process_id</span> | ||||
|          Process id to be removed | ||||
|         </li> | ||||
|         <li><span class="parameter">user</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs:wipe_pending_actions"></a> | ||||
|     <strong>modpol.orgs:wipe_pending_actions (process_id)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Wipe all pending actions for process | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">process_id</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs:has_pending_actions"></a> | ||||
|     <strong>modpol.orgs:has_pending_actions (user)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Check if there are pending actions for user | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">user</span> | ||||
|          User | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|     <h3>Returns:</h3> | ||||
|     <ol> | ||||
|  | ||||
|         True if there are pending actions for a user, false if not | ||||
|     </ol> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.orgs:interact"></a> | ||||
|     <strong>modpol.orgs:interact (process_id, user)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Interact a user with given process | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">process_id</span> | ||||
|  | ||||
|         </li> | ||||
|         <li><span class="parameter">user</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										159
									
								
								documentation/doc/modules/modpol.util.misc.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										159
									
								
								documentation/doc/modules/modpol.util.misc.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,159 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>modpol.util.misc</code></h1> | ||||
| <p>Miscellaneous functions</p> | ||||
| <p></p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.util.copy_table">modpol.util.copy_table (t)</a></td> | ||||
| 	<td class="summary">Returns a copy of the table inputted</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.util.num_pairs">modpol.util.num_pairs (t)</a></td> | ||||
| 	<td class="summary">Returns the number of elements in a pairs table</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "modpol.util.copy_table"></a> | ||||
|     <strong>modpol.util.copy_table (t)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Returns a copy of the table inputted | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">t</span> | ||||
|          table to copy | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|     <h3>Returns:</h3> | ||||
|     <ol> | ||||
|  | ||||
|         copy of table | ||||
|     </ol> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "modpol.util.num_pairs"></a> | ||||
|     <strong>modpol.util.num_pairs (t)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Returns the number of elements in a pairs table | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">t</span> | ||||
|          pairs table | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|     <h3>Returns:</h3> | ||||
|     <ol> | ||||
|  | ||||
|         number of elements in pairs table | ||||
|     </ol> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
| @@ -0,0 +1,145 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>modpol_core.modules.join_org_consent</code></h1> | ||||
| <p>Join org (consent).</p> | ||||
| <p> | ||||
|  A simple module that calls a consent process on an org to add a member. | ||||
|  Depends on the Consent module.</p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#initiate">initiate (result)</a></td> | ||||
| 	<td class="summary">Initiate join org with consent</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#complete">complete ()</a></td> | ||||
| 	<td class="summary">Adds member to org, notifies org, and deletes process</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "initiate"></a> | ||||
|     <strong>initiate (result)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Initiate join org with consent | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">result</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "complete"></a> | ||||
|     <strong>complete ()</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Adds member to org, notifies org, and deletes process | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:46:04 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
| @@ -0,0 +1,127 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>modpol_core.modules.remove_org_consent</code></h1> | ||||
| <p>Remove org (consent) | ||||
|  A simple module that calls a consent process on an org to remove it.</p> | ||||
| <p> | ||||
|  Depends on the Consent module.</p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#initiate">initiate (result)</a></td> | ||||
| 	<td class="summary">Remove org if all members consent</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "initiate"></a> | ||||
|     <strong>initiate (result)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Remove org if all members consent | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">result</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:30:14 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										90
									
								
								documentation/doc/modules/modpol_minetest.api.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										90
									
								
								documentation/doc/modules/modpol_minetest.api.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,90 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>modpol_minetest.api</code></h1> | ||||
| <p>Script for loading Minetest files</p> | ||||
| <p></p> | ||||
|  | ||||
|  | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										221
									
								
								documentation/doc/modules/module_template.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										221
									
								
								documentation/doc/modules/module_template.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,221 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| <li><a href="#Tables">Tables</a></li> | ||||
| <li><a href="#Fields">Fields</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>module_template</code></h1> | ||||
| <p>Template for module writers</p> | ||||
| <p></p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#initiate">initiate (result)</a></td> | ||||
| 	<td class="summary">(Required): Initiate function | ||||
|  Modules have access to the following instance variables: | ||||
|  <li><code>self.org</code> (the org the module was called in),</li> | ||||
|  <li><code>self.initiator</code> (the user that callced the module),</li> | ||||
|  <li><code>self.id</code> (the process id of the module instance)</li></td> | ||||
| 	</tr> | ||||
| </table> | ||||
| <h2><a href="#Tables">Tables</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#data">data</a></td> | ||||
| 	<td class="summary">(Required) Data for module | ||||
|  Variables that module uses during the course of a process.</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#config">config</a></td> | ||||
| 	<td class="summary">(Required): Config for module | ||||
|  Defines the input parameters to the module initiate function.</td> | ||||
| 	</tr> | ||||
| </table> | ||||
| <h2><a href="#Fields">Fields</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#modpol.modules.module_template">modpol.modules.module_template</a></td> | ||||
| 	<td class="summary">(Required) Add to module table</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "initiate"></a> | ||||
|     <strong>initiate (result)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     (Required): Initiate function | ||||
|  Modules have access to the following instance variables: | ||||
|  <li><code>self.org</code> (the org the module was called in),</li> | ||||
|  <li><code>self.initiator</code> (the user that callced the module),</li> | ||||
|  <li><code>self.id</code> (the process id of the module instance)</li> | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">result</span> | ||||
|          (optional) Callback if this module is embedded in other modules | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|     <h2 class="section-header "><a name="Tables"></a>Tables</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "data"></a> | ||||
|     <strong>data</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     (Required) Data for module | ||||
|  Variables that module uses during the course of a process. | ||||
|  Can be blank | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "config"></a> | ||||
|     <strong>config</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     (Required): Config for module | ||||
|  Defines the input parameters to the module initiate function. | ||||
|  Can be blank | ||||
|  When calling a module from within another module, | ||||
|  variables not defined in config will be ignored. | ||||
|  Default values set in config can be overridden | ||||
|  | ||||
|  | ||||
|     <h3>Fields:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">field_1</span> | ||||
|          ex: votes_required, default = 5 | ||||
|         </li> | ||||
|         <li><span class="parameter">field_2</span> | ||||
|          ex: voting_type, default = "majority" | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|     <h2 class="section-header "><a name="Fields"></a>Fields</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "modpol.modules.module_template"></a> | ||||
|     <strong>modpol.modules.module_template</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     (Required) Add to module table | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										125
									
								
								documentation/doc/modules/priv_to_org.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										125
									
								
								documentation/doc/modules/priv_to_org.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,125 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>priv_to_org</code></h1> | ||||
| <p>Set privilege to org members | ||||
|  Allows initiator to grant a priv they have to all members of an org</p> | ||||
| <p></p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#initiate">initiate (result)</a></td> | ||||
| 	<td class="summary">Initiate function</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "initiate"></a> | ||||
|     <strong>initiate (result)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Initiate function | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">result</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										127
									
								
								documentation/doc/modules/remove_child_consent.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										127
									
								
								documentation/doc/modules/remove_child_consent.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,127 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>remove_child_consent</code></h1> | ||||
| <p>Remove child (consent) | ||||
|  A simple module that calls a consent process on an org to remove its child | ||||
|  Depends on the Consent module.</p> | ||||
| <p></p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#initiate">initiate (result)</a></td> | ||||
| 	<td class="summary">Removes a child org with consent</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "initiate"></a> | ||||
|     <strong>initiate (result)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Removes a child org with consent | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">result</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										124
									
								
								documentation/doc/modules/remove_member_consent.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										124
									
								
								documentation/doc/modules/remove_member_consent.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,124 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>remove_member_consent</code></h1> | ||||
| <p>Calls consent to remove member from org</p> | ||||
| <p></p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#initiate">initiate (result)</a></td> | ||||
| 	<td class="summary">Removes given member from org</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "initiate"></a> | ||||
|     <strong>initiate (result)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Removes given member from org | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">result</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										125
									
								
								documentation/doc/modules/remove_org.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										125
									
								
								documentation/doc/modules/remove_org.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,125 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>remove_org</code></h1> | ||||
| <p>A simple module that removes an org.</p> | ||||
| <p></p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#initiate">initiate (result)</a></td> | ||||
| 	<td class="summary">Removes org</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "initiate"></a> | ||||
|     <strong>initiate (result)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Removes org | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">result</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										127
									
								
								documentation/doc/modules/remove_org_consent.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										127
									
								
								documentation/doc/modules/remove_org_consent.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,127 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>remove_org_consent</code></h1> | ||||
| <p>Remove org (consent) | ||||
|  A simple module that calls a consent process on an org to remove it.</p> | ||||
| <p> | ||||
|  Depends on the Consent module.</p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#initiate">initiate (result)</a></td> | ||||
| 	<td class="summary">Remove org if all members consent</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "initiate"></a> | ||||
|     <strong>initiate (result)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Remove org if all members consent | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">result</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										145
									
								
								documentation/doc/modules/rename_org_consent.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										145
									
								
								documentation/doc/modules/rename_org_consent.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,145 @@ | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
|    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
| <html> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
| <head> | ||||
|     <title>Reference</title> | ||||
|     <link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
|  | ||||
| <div id="container"> | ||||
|  | ||||
| <div id="product"> | ||||
| 	<div id="product_logo"></div> | ||||
| 	<div id="product_name"><big><b></b></big></div> | ||||
| 	<div id="product_description"></div> | ||||
| </div> <!-- id="product" --> | ||||
|  | ||||
|  | ||||
| <div id="main"> | ||||
|  | ||||
|  | ||||
| <!-- Menu --> | ||||
|  | ||||
| <div id="navigation"> | ||||
| <br/> | ||||
| <h1>modpol</h1> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="../index.html">Index</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Contents</h2> | ||||
| <ul> | ||||
| <li><a href="#Functions">Functions</a></li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
| <h2>Basic Functions</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/modpol.interactions.html">modpol.interactions</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.base.html">modpol.orgs.base</a></li> | ||||
|   <li><a href="../modules/modpol.orgs.process.html">modpol.orgs.process</a></li> | ||||
|   <li><a href="../modules/modpol.util.misc.html">modpol.util.misc</a></li> | ||||
|   <li><a href="../modules/modpol_minetest.api.html">modpol_minetest.api</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Core Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/add_child_org_consent.html">add_child_org_consent</a></li> | ||||
|   <li><a href="../modules/change_modules.html">change_modules</a></li> | ||||
|   <li><a href="../modules/consent.html">consent</a></li> | ||||
|   <li><a href="../modules/join_org.html">join_org</a></li> | ||||
|   <li><a href="../modules/join_org_consent.html">join_org_consent</a></li> | ||||
|   <li><a href="../modules/leave_org.html">leave_org</a></li> | ||||
|   <li><a href="../modules/message_org.html">message_org</a></li> | ||||
|   <li><a href="../modules/remove_child_consent.html">remove_child_consent</a></li> | ||||
|   <li><a href="../modules/remove_member_consent.html">remove_member_consent</a></li> | ||||
|   <li><a href="../modules/remove_org.html">remove_org</a></li> | ||||
|   <li><a href="../modules/remove_org_consent.html">remove_org_consent</a></li> | ||||
|   <li><a href="../modules/rename_org_consent.html">rename_org_consent</a></li> | ||||
|   <li><a href="../modules/module_template.html">module_template</a></li> | ||||
| </ul> | ||||
|  | ||||
| <h2>Minetest Modules</h2> | ||||
| <ul class="nowrap"> | ||||
|   <li><a href="../modules/priv_to_org.html">priv_to_org</a></li> | ||||
| </ul> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <div id="content"> | ||||
|  | ||||
| <h1>Module <code>rename_org_consent</code></h1> | ||||
| <p>Rename org (consent) | ||||
|  A simple module that calls a consent process on an org to rename it.</p> | ||||
| <p> | ||||
|  Depends on the Consent module.</p> | ||||
|  | ||||
|  | ||||
| <h2><a href="#Functions">Functions</a></h2> | ||||
| <table class="function_list"> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#initiate">initiate (result)</a></td> | ||||
| 	<td class="summary">Renames the org after consent is reached</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<td class="name" nowrap><a href="#complete">complete ()</a></td> | ||||
| 	<td class="summary">Changes the name of the org after consent is reached</td> | ||||
| 	</tr> | ||||
| </table> | ||||
|  | ||||
| <br/> | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|     <h2 class="section-header "><a name="Functions"></a>Functions</h2> | ||||
|  | ||||
|     <dl class="function"> | ||||
|     <dt> | ||||
|     <a name = "initiate"></a> | ||||
|     <strong>initiate (result)</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Renames the org after consent is reached | ||||
|  | ||||
|  | ||||
|     <h3>Parameters:</h3> | ||||
|     <ul> | ||||
|         <li><span class="parameter">result</span> | ||||
|  | ||||
|         </li> | ||||
|     </ul> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
|     <dt> | ||||
|     <a name = "complete"></a> | ||||
|     <strong>complete ()</strong> | ||||
|     </dt> | ||||
|     <dd> | ||||
|     Changes the name of the org after consent is reached | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| </dd> | ||||
| </dl> | ||||
|  | ||||
|  | ||||
| </div> <!-- id="content" --> | ||||
| </div> <!-- id="main" --> | ||||
| <div id="about"> | ||||
| <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||||
| <i style="float:right;">Last updated 2022-01-20 10:54:01 </i> | ||||
| </div> <!-- id="about" --> | ||||
| </div> <!-- id="container" --> | ||||
| </body> | ||||
| </html> | ||||
		Reference in New Issue
	
	Block a user