Basic Components - Record - Creating new records.php 311 Bytes
Newer Older
doctrine's avatar
doctrine committed
1 2 3
There are couple of ways for creating new records. Propably the easiest is using
native php new -operator. The other ways are calling Doctrine_Table::create() or Doctrine_Session::create().
The last two exists only for backward compatibility. The recommended way of creating new objects is the new operator.