This is the parent class of all account types.

package types

 Methods

Creates a new 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

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

Returns

booleantrue, if file upload is supported

 Properties