2007-11-10 15:40:24 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2007-11-19 19:16:08 +00:00
< html > < head > < title > Upgrade notes< / title >
2007-11-18 10:35:56 +00:00
2007-11-11 14:01:16 +00:00
2007-11-10 15:40:24 +00:00
2007-11-18 10:35:56 +00:00
2007-11-19 19:16:08 +00:00
< link rel = "stylesheet" type = "text/css" href = "style/layout.css" > < / head > < body >
2007-11-10 15:40:24 +00:00
< div style = "text-align: center;" >
< h1 > Upgrade notes< / h1 > < / div >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< h2 > 2.1.0 -> 2.2.0< / h2 >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
Account lists now support to define tools. These are displayed as linked images like the edit and delete links in the list.< br >
2007-11-18 10:35:56 +00:00
2007-11-11 14:01:16 +00:00
Overwrite < span style = "font-weight: bold;" > lamList::getAdditionalTools()< / span > to use this feature.< br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< br >
2007-11-18 10:35:56 +00:00
2007-11-11 14:01:16 +00:00
The definition of account list options changed. The function < span style = "font-weight: bold;" > lamList::getAdditionalTools()< / span > is no longer available. Use these functions instead: < span style = "font-weight: bold;" > lamList::listGetAllConfigOptions()< / span > and < span style = "font-weight: bold;" > lamList::listConfigurationChanged()< / span > .< br >
2007-11-18 10:35:56 +00:00
2007-11-11 14:01:16 +00:00
All options are now saved in cookies for one year.< br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< br >
2007-11-18 10:35:56 +00:00
The < span style = "font-weight: bold;" > baseModule< / span > class has a new protected option: < span style = "font-weight: bold;" > $autoAddObjectClasses < / span > You can set it to false if you do not want that your module's object classes are added when creating or loading an account.< br >
2007-11-19 19:16:08 +00:00
< br >
Account modules can now have icons. See < span style = "font-weight: bold;" > baseModule-> getIcon()< / span > .< br >
2007-11-18 10:35:56 +00:00
< br >
2007-11-10 15:40:24 +00:00
< h2 > 2.0.0 -> 2.1.0< / h2 >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< span style = "font-weight: bold;" > Style changes:< / span > < br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< ul >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< li > "fieldset.< type> edit fieldset" and "fieldset.< type> edit fieldset fieldset" were removed.< / li >
< li > "table.< type> list input" changed to "table.< type> list input,select"< / li >
< / ul >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< span style = "font-weight: bold;" > baseModule:< / span > < br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
The class variable< span style = "font-style: italic;" > $base< / span > is no longer visible in child classes. Please use < span style = "font-style: italic;" > $this-> getAccountContainer()< / span > to access the accountContainer object.< br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
Several other class variables in accountContainer etc. are now private. Use the new access methods.< br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< h2 > 1.3.0 -> 2.0.0< / h2 >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
LAM is now PHP5 only. Several variables are now private and need to be accessed via functions.< br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< h2 > 1.2.0 -> 1.3.0< / h2 >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< span style = "font-weight: bold;" > New lamList function:< / span > < br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< ul >
2007-11-18 10:35:56 +00:00
2007-11-11 14:01:16 +00:00
< li > < span style = "font-weight: bold;" > listPrintTableCellContent():< / span >
This function allows you to control how the LDAP attributes are
displayed in the table. This can be used to display links or binary
data.< / li >
< li > < span style = "font-weight: bold;" > listPrintAdditionalOptions():< / span >
If you want to display additional conrols for a list please use this
function. The controls will be placed under the account table.< br >
2007-11-10 15:40:24 +00:00
< / li >
< / ul >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
No more lamdaemon commands via delete_attributes() and save_attributes() in account modules.< br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
Please use these new functions to call lamdaemon directly:< br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< ul >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< li > preModifyActions()< / li >
< li > postModifyActions()< / li >
< li > preDeleteActions()< / li >
< li > postDeleteActions()< / li >
< / ul >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< h2 > 1.1.x -> 1.2.0< / h2 >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< span style = "font-weight: bold;" > API changes:< / span > < br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< ul >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< li > removed get_configDescription() from module interface< / li >
< / ul >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< h2 > 1.0.4 -> 1.1.0< / h2 >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< span style = "font-weight: bold;" > API changes:< / span > < br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< ul >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< li > removed $post parameters from module functions (delete_attributes(), process_...(), display_html_...()). Use $_POST instead.< / li >
2007-11-11 14:01:16 +00:00
< li > process_...()
functions: returned messages are no longer grouped (e.g. return:
array(array('INFO', 'headline', 'text'), array('INFO', 'headline2',
'text2')))< / li >
2007-11-10 15:40:24 +00:00
< / ul >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< h2 > 1.0.0 -> 1.0.2< / h2 >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< span style = "font-weight: bold;" > New module functions:< / span > < br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< ul >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< li > getRequiredExtensions: Allows to define required PHP extensions< / li >
< li > getManagedObjectClasses: Definition of managed object classes for this module< / li >
< li > getLDAPAliases: list of LDAP alias names which are replaced by LAM< / li >
< li > getManagedAttributes: list of LDAP attributes which are managed by this module< / li >
< / ul >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
The LDAP attributes are no longer loaded by reading the LDAP schema. If
your module does not implement the load_attributes() function then you
have to use getManagedAttributes() or the meta data to specify them.< br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
< br >
2007-11-18 10:35:56 +00:00
2007-11-10 15:40:24 +00:00
The class variable "triggered_messages" in baseModule was removed.< br >
2007-11-18 10:35:56 +00:00
< br >
2007-11-10 15:40:24 +00:00
< / body > < / html >