lists

# Class: lamGroupList Source Location: /lib/types/group.inc
### Class Overview
    lamList
       |
       --lamGroupList
Generates the list view. #### Author(s): Roland Gruber | ### Constants TRANS_PRIMARY_OPTION_NAME | ### Methods __construct groupRefreshPrimary listConfigurationChanged listGetAllConfigOptions listGetParams listPrintTableCellContent listRefreshData
### 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 109] Generates the list view. #### Tags:
author: | Roland Gruber
[ Top ] ### Class Methods ### constructor __construct [line 128]
`lamList __construct( string $type)`
Constructor #### Tags:
return: | list object
Overrides lamList::__construct() (Constructor) #### Parameters:
string | $type | account type
[ Top ] ### method groupRefreshPrimary [line 231]
`void groupRefreshPrimary( )`
Refreshes the primary group members list. [ Top ] ### method listConfigurationChanged [line 276]
`void listConfigurationChanged( )`
Called when the configuration options changed. #### Tags:
access: | protected
Overrides lamList::listConfigurationChanged() (Called when the configuration options changed.) [ Top ] ### method listGetAllConfigOptions [line 267]
`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 140]
`void listGetParams( )`
Sets some internal parameters. Overrides lamList::listGetParams() (Sets some internal parameters.) [ Top ] ### method listPrintTableCellContent [line 154]
`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. 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 221]
`void listRefreshData( )`
Rereads the entries from LDAP. Overrides lamList::listRefreshData() (Rereads the entries from LDAP.) [ Top ] ### Class Constants #### TRANS_PRIMARY_OPTION_NAME = "LG_TP" [line 118] ID for config option [ Top ] Documentation generated on Tue, 07 Apr 2009 20:35:04 +0200 by phpDocumentor 1.4.1