PntDbClassDescriptor for persistent peanuts. Main startingpont for . Retrieves peanuts from the database. Generates SqlFilters for searching. Override or reimplement this class to adapt persistency or create your own, see How to write your own persistency.
PntDbObject Abstract superclass of peanuts. classes must extend in order for the scaffolded default user interface to work. Most domain model classes however will extend PntDbObject so that they are mapped to the database.
PntQueryHandler Objects of this class are used for generating and executing database queries. This class is the database abstraction layer. Currently only MySQL is supported by PntQueryHandler, in future other classes will support more databases. Also see How to use multiple databases.
PntDbObjectTemplate (in file classTemplate.php) This file serves as a template for creating new subclasses of PntDbObject. |
User Contributed Notes