Update:Archive/2.0/Developers/Common Code: Difference between revisions
Jump to navigation
Jump to search
m (Update:Development:Common Code moved to Update:Archive/2.0/Developers/Common Code: outdated) |
No edit summary |
||
Line 1: | Line 1: | ||
{{AmoArchive}} | |||
== OOP or not? == | == OOP or not? == |
Latest revision as of 00:51, 29 April 2007
« Back to Archive | Update: Main
OOP or not?
It has been discussed on the #umo channel that we may want to use OOP design to develop v2.0 of the UMO service. The following documents discuss the use of OOP with PHP:
Functions We Need
- isSpecialCategory($categoryName)
- addMain() returns $mainID
- deleteMain($mainID)
- addVersion() returns $versionID
- deleteVersion($versionID)
- disableUser($userID)
- addRating($versionID)
- deleteRating($versionID)
- sendEmail($userID)
- mainTypeToName($mainType) returns string such as "extensions", "themes", or "plugins"
Global Variables We Need
- CSS Path
- Image Path
- Mirror Path