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 [2018/02/19 00:30]
ximex [Admidio version 3.3]
en:entwickler:changes_to_functions_and_methods [2018/04/02 09:06] (current)
fasse [Admidio version 3.3]
Line 76: Line 76:
  
 ===== Admidio version 3.3 ===== ===== Admidio version 3.3 =====
-**Under constructionNot finished yet.**+ 
 +=== Bootstrapping === 
 +Simplified the bootstrapping (initialization of the common Admidio stuff). 
 +Most stuff got extracted in separate ​**bootstrap.php**. 
 +Autoload is in it's own **autoload.php**. 
 +Now it could be enough to require only the **bootstrap.php** if you don't need a database connection. 
 + 
 +=== Prepared Statement === 
 +To improve the security move from **Database->​query()** to the new **Database->​queryPrepared()** method. You have to adapt the SQL queries and add the necessary parameters
  
 === New === === New ===
Line 100: Line 108:
   * **Email->​adminNotfication()**:​ '​Email->​adminNotification()'​   * **Email->​adminNotfication()**:​ '​Email->​adminNotification()'​
   * **Email::​getMaxAttachementSize()**:​ '​Email::​getMaxAttachmentSize()'​   * **Email::​getMaxAttachementSize()**:​ '​Email::​getMaxAttachmentSize()'​
-  * **Language->​get('​ID',​ '​PARAM1',​ '​PARAM2'​)**:​ '​Language->​get('​ID',​ array('​PARAM1',​ '​PARAM2'​))'​ 
-  * **Language->​getLanguage(true)**:​ '​LanguageData::​REFERENCE_LANGUAGE'​ 
-  * **Language->​getLanguageIsoCode(true)**:​ '​LanguageData::​REFERENCE_LANGUAGE'​ 
   * **Language->​addLanguageData()**:​ 'new Language()'​   * **Language->​addLanguageData()**:​ 'new Language()'​
   * **Language->​addLanguagePath()**:​ '​Language->​addLanguageFolderPath()'​   * **Language->​addLanguagePath()**:​ '​Language->​addLanguageFolderPath()'​
   * **Language->​getCountryByCode()**:​ '​Language->​getCountryName()'​   * **Language->​getCountryByCode()**:​ '​Language->​getCountryName()'​
   * **Language->​getCountryByName()**:​ '​Language->​getCountryIsoCode()'​   * **Language->​getCountryByName()**:​ '​Language->​getCountryIsoCode()'​
-  * **LanguageData->​getLanguage(true)**:​ '​LanguageData::​REFERENCE_LANGUAGE'​ 
   * **LanguageData->​addLanguagePath()**:​ '​LanguageData->​addLanguageFolderPath()'​   * **LanguageData->​addLanguagePath()**:​ '​LanguageData->​addLanguageFolderPath()'​
   * **LanguageData->​getLanguagePaths()**:​ '​LanguageData->​getLanguageFolderPaths()'​   * **LanguageData->​getLanguagePaths()**:​ '​LanguageData->​getLanguageFolderPaths()'​
Line 118: Line 122:
   * **TableFile->​getCompletePathOfFile()**:​ '​TableFile->​getFullFilePath()'​   * **TableFile->​getCompletePathOfFile()**:​ '​TableFile->​getFullFilePath()'​
   * **TableFolder->​getCompletePathOfFolder()**:​ '​TableFolder->​getFolderPath()'​   * **TableFolder->​getCompletePathOfFolder()**:​ '​TableFolder->​getFolderPath()'​
 +  * **TableRoles->​viewRole()**:​ '​TableRoles->​isVisible()'​
   * **User->​columnsValueChanged()**:​ '​User->​hasColumnsValueChanged()'​   * **User->​columnsValueChanged()**:​ '​User->​hasColumnsValueChanged()'​
 +== Class method params ==
 +  * **new AdmException('​MSG',​ '​PARAM1',​ '​PARAM2'​)**:​ 'new AdmException('​MSG',​ array('​PARAM1',​ '​PARAM2'​))'​
 +  * **AdmException->​setNewMessage('​ID',​ '​PARAM1',​ '​PARAM2'​)**:​ '​AdmException->​setNewMessage('​ID',​ array('​PARAM1',​ '​PARAM2'​))'​
 +  * **Language->​get('​ID',​ '​PARAM1',​ '​PARAM2'​)**:​ '​Language->​get('​ID',​ array('​PARAM1',​ '​PARAM2'​))'​
 +  * **Language->​getLanguage(true)**:​ '​LanguageData::​REFERENCE_LANGUAGE'​
 +  * **Language->​getLanguageIsoCode(true)**:​ '​LanguageData::​REFERENCE_LANGUAGE'​
 +  * **LanguageData->​getLanguage(true)**:​ '​LanguageData::​REFERENCE_LANGUAGE'​
 == Functions == == Functions ==
   * **admFuncMaxUploadSize()**:​ '​PhpIniUtils::​getUploadMaxSize()'​   * **admFuncMaxUploadSize()**:​ '​PhpIniUtils::​getUploadMaxSize()'​
   * **admFuncGetBytesFromSize()**:​ '​FileSystemUtils::​getHumanReadableBytes()'​   * **admFuncGetBytesFromSize()**:​ '​FileSystemUtils::​getHumanReadableBytes()'​
   * **admReadTemplateFile()**:​ '​FileSystemUtils::​readFile()'​   * **admReadTemplateFile()**:​ '​FileSystemUtils::​readFile()'​
  • en/entwickler/changes_to_functions_and_methods.1518996659.txt.gz
  • Last modified: 2018/02/19 00:30
  • by ximex