The account type for user accounts (e.g.

Unix, Samba and Kolab).

package types

 Methods

Constructs a new user type object.

__construct() 

Returns the alias name of this account type.

getAlias() : string

This function must be overwritten by the child classes.

Returns

stringalias name

Returns the default attribute list for this account type.

getDefaultListAttributes() : string

This function must be overwritten by the child classes.

Returns

stringattribute list

Returns the description of this account type.

getDescription() : string

This function must be overwritten by the child classes.

Returns

stringdescription

Returns a list of attributes which have a translated description.

getListAttributeDescriptions() : array

This is used for the head row in the list view.

Returns

arraylist of descriptions

Returns the class name for the list object.

getListClassName() : string

Returns

stringclass name

Returns a list of LDAP suffixes for this type.

getSuffixList() : array
Inherited

inherited_from \baseType::getSuffixList()

Returns

arraysorted list of possible suffixes for this type.

Returns the the title text for the title bar on the new/edit page.

getTitleBarSubtitle(\accountContainer $container) : String

Parameters

$container

\accountContainer

account container

Returns

Stringtitle text

Returns the the title text for the title bar on the new/edit page.

getTitleBarTitle(\accountContainer $container) : String

Parameters

$container

\accountContainer

account container

Returns

Stringtitle text

This function is called after the edit page is processed and before the page content is generated.

runEditPagePostAction(\accountContainer $container) 

This can be used to run custom handlers after each page processing.

Parameters

$container

\accountContainer

account container

Returns if entries of this type may be created via file upload.

supportsFileUpload() : boolean
Inherited

inherited_from \baseType::supportsFileUpload()

Returns

booleantrue, if file upload is supported

Builds the dialog to (un)lock parts of an account.

buildAccountStatusDialogDiv(boolean $unixAvailable, boolean $unixLocked, boolean $sambaAvailable, boolean $sambaLocked, boolean $ppolicyAvailable, boolean $ppolicyLocked, boolean $windowsAvailable, boolean $windowsLocked) 

Parameters

$unixAvailable

boolean

Unix part is active

$unixLocked

boolean

Unix part is locked

$sambaAvailable

boolean

Samba part is active

$sambaLocked

boolean

Samba part is locked

$ppolicyAvailable

boolean

PPolicy part is active

$ppolicyLocked

boolean

PPolicy part is locked

$windowsAvailable

boolean

Windows part is active

$windowsLocked

boolean

Windows part is locked

Builds the HTML code for the icon that shows the account status (locked/unlocked).

buildAccountStatusIcon(\accountContainer $container) : String

Parameters

$container

\accountContainer

account container

Returns

StringHTML code for icon

 Properties