Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:entwickler:changes_to_functions_and_methods [2021/10/21 16:43] fasseen:entwickler:changes_to_functions_and_methods [2022/04/15 20:11] (current) fasse
Line 2: Line 2:
  
 With this page we want to help plugin developers to stay compatible with the changes that were made in the Admidio core and that could affect plugins. During the development of Admidio we try to not change our existing methods and functions but sometimes it's necessary and could break your working plugin. Here you will find a list of methods and functions that we changed in a specific Admidio version with a notice how you could fix this in your plugin if you have used that method or function. With this page we want to help plugin developers to stay compatible with the changes that were made in the Admidio core and that could affect plugins. During the development of Admidio we try to not change our existing methods and functions but sometimes it's necessary and could break your working plugin. Here you will find a list of methods and functions that we changed in a specific Admidio version with a notice how you could fix this in your plugin if you have used that method or function.
 +
 +===== Admidio version 4.2 =====
 +
 +=== Changes/Deprecations ===
 +== Class ==
 +  * **Menu** renamed to **MainMenu**
 +== Class methods ==
 +  * **HtmlPage->hasNavbar()** was removed
 +  * **Email->adminNotification()**: 'Email->sendNotification()'
 +  * **Email->addBlindCopy()**: 'Email->addRecipient()'
  
 ===== Admidio version 4.1 ===== ===== Admidio version 4.1 =====
Line 10: Line 20:
  
 === Call Admidio scripts with the UUID for user or role === === Call Admidio scripts with the UUID for user or role ===
-The following methods are removed: +The following methods are removed:\\  
-**Session::renewMenuObject()** +**Session::renewMenuObject()**\\  
-**Session::renewOrganizationObject** +**Session::renewOrganizationObject**\\  
-**Session::renewUserObject(int $userId = 0)** +**Session::renewUserObject(int $userId = 0)**\\  
-New methods that could be used instead of them: +New methods that could be used instead of them:\\  
-**Session::reloadAllSessions()** +**Session::reloadAllSessions()**\\  
-**Session::reloadSessionOfUser(int $userId)** +**Session::reloadSession(int $userId)**\\ 
-**Session::reloadThisSession()**+
  
  
  • en/entwickler/changes_to_functions_and_methods.1634827409.txt.gz
  • Last modified: 2021/10/21 16:43
  • by fasse