lists

# Class: lamUserList Source Location: /lib/types/user.inc
### Class Overview
    lamList
       |
       --lamUserList
Generates the list view. #### Author(s): Roland Gruber | ### Constants TRANS_PRIMARY_OPTION_NAME | ### Methods __construct getAdditionalTools listConfigurationChanged listGetAllConfigOptions listGetParams listPrintTableCellContent listRefreshData refreshPrimaryGroupTranslation
### Inherited Constants #### Class: lamList lamList::LIST_SIZE_OPTION_NAME | ### Inherited Variables #### Class: lamList lamList::$attrArray lamList::$descArray lamList::$entries lamList::$filterText lamList::$labels lamList::$maxPageEntries lamList::$page lamList::$possibleSuffixes lamList::$refresh lamList::$sortColumn lamList::$sortDirection lamList::$suffix lamList::$type | ### Inherited Methods #### Class: lamList lamList::__construct() Constructor lamList::cmp_array() Compare function used for usort-method lamList::getAdditionalTools() Returns a list of lamListTool objects to display next to the edit/delete buttons. lamList::listBuildFilter() Builds the regular expressions from the filter values. lamList::listConfigurationChanged() Called when the configuration options changed. lamList::listDoPost() Manages all POST actions (e.g. button pressed) for the account lists. lamList::listDrawNavigationBar() Draws a navigation bar to switch between pages lamList::listFilterAccounts() Removes all entries which do not fit to the filter. lamList::listGetAllConfigOptions() Returns a list of possible configuration options. lamList::listGetConfigOptionByID() Returns the configuration option with the given ID. lamList::listGetParams() Sets some internal parameters. lamList::listPrintButtons() Prints the create and delete buttons. lamList::listPrintConfigurationPage() Prints the list configuration page. lamList::listPrintFooter() Prints the HTML footer. lamList::listPrintHeader() Prints the HTML header. lamList::listPrintTableBody() Prints the entry list lamList::listPrintTableCellContent() Prints the content of a cell in the account list for a given LDAP entry and attribute. lamList::listPrintTableHeader() Prints the attribute and filter row at the account table head lamList::listRefreshData() Rereads the entries from LDAP. lamList::listShowOUSelection() Prints a combobox with possible sub-DNs. lamList::listSort() Sorts an account list by a given attribute lamList::showPage() Prints the HTML code to display the list view.
### Class Details [line 106] Generates the list view. #### Tags:
author: | Roland Gruber
[ Top ] ### Class Methods ### constructor __construct [line 123]
`lamList __construct( string $type)`
Constructor #### Tags:
return: | list object
access: | public
Overrides lamList::__construct() (Constructor) #### Parameters:
string | $type | account type
[ Top ] ### method getAdditionalTools [line 234]
`lamListTool[] getAdditionalTools( )`
Returns a list of lamListTool objects to display next to the edit/delete buttons. #### Tags:
return: | tools
access: | protected
Overrides lamList::getAdditionalTools() (Returns a list of lamListTool objects to display next to the edit/delete buttons.) [ Top ] ### method listConfigurationChanged [line 256]
`void listConfigurationChanged( )`
Called when the configuration options changed. #### Tags:
access: | protected
Overrides lamList::listConfigurationChanged() (Called when the configuration options changed.) [ Top ] ### method listGetAllConfigOptions [line 247]
`array listGetAllConfigOptions( )`
Returns a list of possible configuration options. #### Tags:
return: | list of lamListOption objects
access: | protected
Overrides lamList::listGetAllConfigOptions() (Returns a list of possible configuration options.) [ Top ] ### method listGetParams [line 137]
`void listGetParams( )`
Sets some internal parameters. #### Tags:
access: | protected
Overrides lamList::listGetParams() (Sets some internal parameters.) [ Top ] ### method listPrintTableCellContent [line 179]
`void listPrintTableCellContent( &$entry, &$attribute, array $entry, string $attribute)`
Prints the content of a cell in the account list for a given LDAP entry and attribute. #### Tags:
access: | protected
Overrides lamList::listPrintTableCellContent() (Prints the content of a cell in the account list for a given LDAP entry and attribute.) #### Parameters:
array | $entry | LDAP attributes
string | $attribute | attribute name
| &$entry |
| &$attribute |
[ Top ] ### method listRefreshData [line 148]
`void listRefreshData( )`
Rereads the entries from LDAP. #### Tags:
access: | protected
Overrides lamList::listRefreshData() (Rereads the entries from LDAP.) [ Top ] ### method refreshPrimaryGroupTranslation [line 158]
`void refreshPrimaryGroupTranslation( )`
Refreshes the GID to group name cache. #### Tags:
access: | protected
[ Top ] ### Class Constants #### TRANS_PRIMARY_OPTION_NAME = "LU_TP" [line 115] ID for config option [ Top ] Documentation generated on Thu, 07 Feb 2008 20:27:02 +0100 by phpDocumentor 1.4.0