API Documentation
From LifeType Wiki
The most up-to-date and automagically generated version of the LifeType API can be reached at [1].
The following pages are articles that go into more detail about some areas useful for both plugin developers and advanced users wishing to make changes to the LifeType core.
- PDb, the LifeType database abstraction layer sits at the bottom of the data access layers and hides the intricacies of the underlying database server.
- Model and DAO classes will guide you through how to create your own data access object classes, which in LifeType are used to map database tables and rows to "business" objects.
- Forms and data validation describes the classes and process involved in form and data validation. This is specially useful for users seeking to develop plugins that need to validate data.
- The Global Configuration API is a set of classes used to store and retrive site-wide configuration settings.
- The Menu API is used by plugins and allows code to dynamically register new entries in the menu structure and the menu itself is rendered based on the contents of the menu tree.
- The logging framework allows PHP code to send debug information to certain configurable log files.
- User data providers is a framework that allows LifeType to load user data from other sources, allowing for integration of LifeType with other tools/systems.
- Choosers are generic methods to select information in LifeType, such as the user chooser or the blog chooser. These choosers can be incorporated in custom templates or plugins.
- Integrating LifeType into external non-LifeType pages. This page contains code that shows how to load data from the database or how to integrate LifeType's registration system into your pages.
