added $scope parameter to getModuleAlias
This commit is contained in:
parent
b27e550dde
commit
e9d9e5f4bc
|
@ -1,8 +1,8 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type"
|
||||
content="text/html; charset=ISO-8859-15">
|
||||
<meta content="text/html; charset=ISO-8859-15"
|
||||
http-equiv="content-type">
|
||||
<title>Module specification</title>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -27,8 +27,8 @@ allowed to call other static functions.<br>
|
|||
<br>
|
||||
<h3>2.1.1. Constructor</h3>
|
||||
<br>
|
||||
<table cellpadding="2" cellspacing="2" border="0"
|
||||
style="text-align: left; width: 300px; height: 30px;">
|
||||
<table style="text-align: left; width: 300px; height: 30px;" border="0"
|
||||
cellspacing="2" cellpadding="2">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
|
@ -47,13 +47,13 @@ several helper functions.<br>
|
|||
<br>
|
||||
<h3>2.1.2. get_alias</h3>
|
||||
<br>
|
||||
<table cellpadding="2" cellspacing="2" border="0"
|
||||
style="text-align: left; width: 300px;">
|
||||
<table style="text-align: left; width: 300px;" border="0"
|
||||
cellspacing="2" cellpadding="2">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
style="vertical-align: top; background-color: rgb(204, 204, 204); text-align: center;"><span
|
||||
style="font-weight: bold;">function get_alias()</span><br>
|
||||
style="font-weight: bold;">function get_alias($scope)</span><br>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -64,12 +64,13 @@ Alias names are used for the buttons of the account pages and the
|
|||
module selection of the configuration wizard.<br>
|
||||
Please take care that your alias name is not too long. It may contain
|
||||
a-z, A-Z, 0-9, -, _ and spaces.<br>
|
||||
<br>
|
||||
The <span style="font-weight: bold;">$scope</span> parameter defines
|
||||
the account type ("user", "group", "host" at this time).<br>
|
||||
<br>
|
||||
<h3>2.1.3. get_dependencies</h3>
|
||||
<br>
|
||||
<table cellpadding="2" cellspacing="2" border="0"
|
||||
style="text-align: left; width: 300px; font-weight: bold;">
|
||||
<table style="text-align: left; width: 300px; font-weight: bold;"
|
||||
border="0" cellspacing="2" cellpadding="2">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
|
@ -102,8 +103,8 @@ your module depends on one of these modules.<br>
|
|||
<br>
|
||||
<h3>2.1.4. module_ready</h3>
|
||||
<br>
|
||||
<table cellpadding="2" cellspacing="2" border="0"
|
||||
style="text-align: left; width: 300px; height: 30px;">
|
||||
<table style="text-align: left; width: 300px; height: 30px;" border="0"
|
||||
cellspacing="2" cellpadding="2">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
|
@ -122,8 +123,8 @@ your module accepts input, otherwise <span style="font-weight: bold;">false</spa
|
|||
<br>
|
||||
<h3>2.1.5. module_complete</h3>
|
||||
<br>
|
||||
<table cellpadding="2" cellspacing="2" border="0"
|
||||
style="text-align: left; width: 300px; height: 30px;">
|
||||
<table style="text-align: left; width: 300px; height: 30px;" border="0"
|
||||
cellspacing="2" cellpadding="2">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
|
@ -143,8 +144,8 @@ page will be displayed.<br>
|
|||
<br>
|
||||
<h3>2.1.6. is_base_module</h3>
|
||||
<br>
|
||||
<table cellpadding="2" cellspacing="2" border="0"
|
||||
style="text-align: left; width: 300px; height: 30px;">
|
||||
<table style="text-align: left; width: 300px; height: 30px;" border="0"
|
||||
cellspacing="2" cellpadding="2">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
|
@ -168,8 +169,8 @@ quota module is no base module as it needs posixAccount.<br>
|
|||
<br>
|
||||
<h3>2.1.7. get_ldap_filter</h3>
|
||||
<br>
|
||||
<table cellpadding="2" cellspacing="2" border="0"
|
||||
style="text-align: left; width: 300px; height: 30px;">
|
||||
<table style="text-align: left; width: 300px; height: 30px;" border="0"
|
||||
cellspacing="2" cellpadding="2">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
|
@ -197,8 +198,8 @@ is only used for base modules.</span><br>
|
|||
<br>
|
||||
<h3>2.1.8. get_profileOptions</h3>
|
||||
<br>
|
||||
<table cellpadding="2" cellspacing="2" border="0"
|
||||
style="text-align: left; width: 300px; height: 30px;">
|
||||
<table style="text-align: left; width: 300px; height: 30px;" border="0"
|
||||
cellspacing="2" cellpadding="2">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
|
|
Loading…
Reference in New Issue