Moski2.net Developer Documentation

Abstract

This is the authoritative developer documentation for the Moski2 Platform.


Table of Contents

1. Applications (Apps)
1.1. M2_Contacts
1.2. M2_Content
1.2.1. M2_Content::get($contentType, [$options])
1.2.2. M2_Content::getTree($contentType, [$options])
1.2.3. M2_Content::put($contentType, $fields, [$options])
1.2.4. M2_Content::update($contentType, $fields, [$options])
1.2.5. M2_Content::delete($contentType, $nodeID, $token)
1.2.6. M2_Content::streamBinary($binary, [$streamType])
1.3. M2_Event
1.4. M2_FileManager
1.5. M2_Order
1.6. M2_Payment
1.6.1. Getting callback
1.7. M2_Search
1.8. M2_User
1.9. General Information About Applications
1.9.1. Return Data for Presentation
2. The M2 Object
3. Utilities
3.1. M2_Util
3.2. M2_Util_Image
3.3. M2_Validate
4. Error Handling
4.1. Logging PHP errors
5. Defining Content Types
5.1. Field Types
5.1.1. date
5.1.2. file
5.1.3. filemanager
5.1.4. image
5.1.5. link
5.2. Common Field Attributes
5.3. Field Rules
5.4. Controlling Behavior
5.4.1. Sorting
5.4.2. Presentation in the administration
5.5. Common Issues
5.5.1. Illegal field ID attribute values
5.5.2. Sacred variable names
6. The File System