This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
en:dev:284:helloworld [17.08.2015 20:46] – [uninstall.php (erforderlich)] translated mrbaseman | en:dev:284:helloworld [17.08.2015 21:16] – [delete.php (erforderlich)] translated mrbaseman | ||
---|---|---|---|
Line 185: | Line 185: | ||
</ | </ | ||
- | ==== upgrade.php (erforderlich) ==== | + | ==== upgrade.php (required) ==== |
- | Diese Datei hat die Angewohnheit, | + | This file has a habit that they can always continue to grow over time. Each transition from one version to another may require that the information about the addon must be adapted to new conditions. One of the most important rules for this file is: It must be possible to update from any version to the latest version. |
<code php upgrade.php> | <code php upgrade.php> | ||
Line 207: | Line 207: | ||
/* **** END UPGRADE ********************************************************* */ | /* **** END UPGRADE ********************************************************* */ | ||
- | </ | + | </ |
- | ===== Die Dateien eines Addons Type ' | + | ===== The files of addons of type ' |
- | Ein sogenanntes | + | A so-called |
- | Auch für diese Dateien gilt folgende Regel:\\ | + | For these files, the following rule applies: |
- | :!: **//Achtung: Verlassen Sie sich niemals darauf, dass die Basis-Dateien eines Addons im ' | + | :!: **//Warning: Never assume that the base files of addons are loaded and run in the ' |
- | Gehen Sie grundsätzlich immer von der Annahme aus, dass diese Dateien innerhalb einer Funktion/ | + | |
- | [[dev: | + | Always assume that the files are called from inside a function/ |
- | Ein Page-Addon benötigt wenigstens eine Basis-Tabelle | + | [[dev: |
+ | A Page addon requires at least one base table in the database. The table must be according to the pattern: it must be named mod_AddonName | ||
==== add.php (erforderlich) ==== | ==== add.php (erforderlich) ==== | ||
Line 247: | Line 248: | ||
</ | </ | ||
- | ==== delete.php (erforderlich) ==== | + | ==== delete.php (required) ==== |
<file php delete.php> | <file php delete.php> | ||
Line 288: | Line 289: | ||
- | FIXME ... und es geht noch weiter... | + | FIXME ... and many more things to be added... |