lib/types/group.inc
Properties
Description
The account type for group accounts (e.g. Unix and Samba).
Classes
group
Properties
No
No
Description
The account type for group accounts (e.g. Unix and Samba).
Methods
__construct,
getAlias,
getDefaultListAttributes,
getDescription,
getListAttributeDescriptions,
getListClassName,
getTitleBarSubtitle,
getTitleBarTitle,
__construct(
)
:
n/a
Description
Constructs a new group type object.Return value
getAlias(
)
:
string
Description
Returns the alias name of this account type.Return value
Type |
Description |
string |
alias name |
getDefaultListAttributes(
)
:
string
Description
Returns the default attribute list for this account type.Return value
Type |
Description |
string |
attribute list |
getDescription(
)
:
string
Description
Returns the description of this account type.Return value
Type |
Description |
string |
description |
getListAttributeDescriptions(
)
:
array
Description
Returns a list of attributes which have a translated description.This is used for the head row in the list view.Return value
Type |
Description |
array |
list of descriptions |
getListClassName(
)
:
string
Description
Returns the class name for the list object.Return value
Type |
Description |
string |
class name |
getTitleBarSubtitle(
\accountContainer
$container,
)
:
String
Description
Returns the the title text for the title bar on the new/edit page.Arguments
Name |
Type |
Description |
Default |
$container |
\accountContainer |
account container |
|
Return value
Type |
Description |
String |
title text |
getTitleBarTitle(
\accountContainer
$container,
)
:
String
Description
Returns the the title text for the title bar on the new/edit page.Arguments
Name |
Type |
Description |
Default |
$container |
\accountContainer |
account container |
|
Return value
Type |
Description |
String |
title text |
lamGroupList
Properties
No
No
Description
Generates the list view.
Methods
__construct,
groupRefreshPrimary,
listConfigurationChanged,
listGetAllConfigOptions,
listGetParams,
listPrintTableCellContent,
listRefreshData,
__construct(
string
$type,
)
:
\lamList
Description
ConstructorArguments
Name |
Type |
Description |
Default |
$type |
string |
account type |
|
Return value
Type |
Description |
\lamList |
list object |
groupRefreshPrimary(
)
:
n/a
Description
Refreshes the primary group members list.Return value
listConfigurationChanged(
)
:
n/a
Description
Called when the configuration options changed.Return value
listGetAllConfigOptions(
)
:
array
Description
Returns a list of possible configuration options.Return value
Type |
Description |
array |
list of lamListOption objects |
listGetParams(
)
:
n/a
Description
Sets some internal parameters.Return value
listPrintTableCellContent(
array
$entry,
string
$attribute,
)
:
n/a
Description
Prints the content of a cell in the account list for a given LDAP entry and attribute.Arguments
Name |
Type |
Description |
Default |
$entry |
array |
LDAP attributes |
|
$attribute |
string |
attribute name |
|
Return value
listRefreshData(
)
:
n/a
Description
Rereads the entries from LDAP.Return value
Properties
$include_primary,
$primary_hash,
$refresh_primary,
$use_primary,
private
$include_primary
=
false
specifies if primary group members are visible
private
$primary_hash
=
array()
Primary group members hash
private
$refresh_primary
=
false
Controls if primary group members needs refresh
private
$use_primary
=
false
Controls if include primary group members into group memebers
Constants
TRANS_PRIMARY_OPTION_NAME
= "LG_TP"
ID for config option