constructor baseModule [line 71]
baseModule baseModule(
string
$scope)
|
|
Creates a new base module class
Parameters:
method build_uploadAccounts [line 498]
method can_manage [line 150]
Returns true if this module fits for the current scope.
Tags:
method check_configOptions [line 358]
array check_configOptions(
array
$scopes, array
$options)
|
|
Checks input values of module settings.
Tags:
Overridden in child classes as:
- posixAccount::check_configOptions()
- Checks input values of module settings.
Parameters:
method check_profileOptions [line 230]
array check_profileOptions(
array
$options)
|
|
Checks input values of account profiles.
Tags:
Overridden in child classes as:
- quota::check_profileOptions()
- Checks input values of account profiles.
Parameters:
method delete_attributes [line 653]
method display_html_delete [line 663]
method doUploadPostActions [line 624]
array doUploadPostActions(
array
$data, array
$ids, array
$failed, array
&$temp)
|
|
This function executes one post upload action.
Tags:
Overridden in child classes as:
- quota::doUploadPostActions()
- This function executes one post upload action.
- posixAccount::doUploadPostActions()
- This function executes one post upload action.
Parameters:
method getButtonStatus [line 548]
method get_alias [line 185]
Returns an alias name for the module.
This alias is used in various places instead of the less descriptive class name. The alias also has less syntax restrictions and may contain spaces or special characters.
Tags:
method get_configDescriptions [line 345]
array get_configDescriptions(
)
|
|
Returns an array containing descriptions shown on configuration pages.
The returned array has the format array('legend' => '...', descriptions => array('option1' => '...', ...)).
The "legend" value is used as text for the fieldset, the descriptions are used when the configuration is printed.
Tags:
method get_configOptions [line 328]
array get_configOptions(
array
$scopes)
|
|
Returns a list of elements for the configuration.
Tags:
Parameters:
method get_dependencies [line 209]
array get_dependencies(
)
|
|
This function returns a list with all depending and conflicting modules.
Tags:
method get_help [line 512]
array get_help(
string
$id, string
$scope)
|
|
This function return the help entry array for a specific help id. Normally this->meta can be used.
Tags:
Parameters:
method get_ldap_filter [line 172]
string get_ldap_filter(
)
|
|
returns an LDAP filter for the account lists
Tags:
method get_metaData [line 132]
method get_pdfFields [line 442]
array get_pdfFields(
string
$scope)
|
|
Returns an array with all fields available for this account type on the PDF output. This method may be overwritten by subclasses or it may be used by using entries in the $this->meta['PDF_fields'] array of the specific sub- class.
Tags:
Parameters:
method get_pdf_entries [line 457]
array get_pdf_entries(
[string
$scope = 'user'])
|
|
Returns a hastable with all entries that may be printed out in the PDF. The
syntax of the hashtable is specified by the module specification and the corresponding DTD. This method must be overwritten in case that there are non static things to be returned. The $this->meta['PDF_entries'] array may be used when there is only static content.
Tags:
Parameters:
method get_profileOptions [line 219]
method get_RDNAttributes [line 199]
array get_RDNAttributes(
)
|
|
Returns a list of possible LDAP attributes which can be used to form the RDN.
The returned elements have this form: <attribute> => <priority>
<attribute> is the name of the LDAP attribute
<priority> defines the priority of the attribute (can be "low", "normal", "high")
Tags:
method get_scope [line 141]
Returns the account type of this module (user, group, host)
Tags:
method get_uploadColumns [line 475]
array get_uploadColumns(
)
|
|
Returns an array containing all input columns for the file upload.
Syntax:
array(
string: name, // fixed non-translated name which is used as column name (should be of format: <module name>_<column name>)
string: description, // short descriptive name
string: help, // help ID
string: example, // example value
boolean: required // true, if user must set a value for this column
)
Tags:
Overridden in child classes as:
- quota::get_uploadColumns()
- Returns an array containing all input columns for the file upload.
method get_uploadPreDepends [line 485]
array get_uploadPreDepends(
)
|
|
Returns a list of module names which must be processed in building the account befor this module.
Tags:
method init [line 89]
method input_check [line 560]
Checks if the attribute values follow the LDAP syntax.
Not every LDAP attribute allows UTF-8 strings. Therefore we do a syntax check here and change UTF-8 strings to ASCII strings if needed. The maximum length of the attributes is checked, too.
Tags:
method is_base_module [line 162]
boolean is_base_module(
)
|
|
Returns true if this module is enough to provide a sensible account.
There is no relation to the name of this class.
Tags:
method load_attributes [line 109]
method load_Messages [line 81]
method load_profile [line 311]
method module_complete [line 539]
method module_ready [line 530]
method save_attributes [line 643]