User Tools

Site Tools


php:diffmodeltable

Difference between Model.class.php and ModelTable.class.php

14.01.2010

Model.class

  • refers to a single record, and therefore to a single record methods as save(), delete(), etc
  • inherits Doctrine_Record

ModelTable.class

  • refers to the whole table, and therefore to table methods as queries for example
  • inherits Doctrine_Table
php/diffmodeltable.txt · Last modified: 2013/03/16 17:40 (external edit)