PAMP:PHP S60 API
From OpenSource
[edit] General Notes
- You should use UTF-8 encoding everywhere. All Series 60 modules accept and return their strings only in UTF-8 format, unless otherwise noted. Use the functions utf8_encode and utf8_decode to convert between UTF-8 and ISO-8859-1, if necessary.
- All dates and times are in float format, meaning normal unix time (as returned by e.g. time()) but in higher precision.
- All module functions, classes and constants are prefixed by the module name (constants use uppercase letters). E.g. s60_inbox_Message, s60_inbox_get_messages, S60_CONTACTS_FIRST_NAME.
- Most classes can only be instantiated with a creator (factory) function or method.
- Method whose name is a noun is generally a getter, e.g. label() returns a label. Verbs can indicate either getters or modifiers, e.g. set_label() and remove() modify while get_contact() and query() do not.
- All methods return null on error, and never else. E.g. if a file is missing and this is not considered an error, false is returned.
[edit] Modules
More information will appear, but meanwhile you can get a terse overview here.
