Skip to content
nik-os edited this page Sep 17, 2014 · 2 revisions

\samson\activerecord\dbRecord - standart class for database tables.

Standart variables

  • $id - primery key
  • $onetoone - collection of related object
  • $onetomany - collection of related objects
  • $attached - flag this object connected to record in the database

Functions

  • save() - create or update object information in database record
  • delete() - delete record from database

Clone this wiki locally