1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/manual/docs/Basic Components - Record - Creating new records.php

4 lines
314 B
PHP
Raw Normal View History

2006-07-24 01:08:06 +04:00
There are couple of ways for creating new records. Propably the easiest is using
2006-08-22 02:55:11 +04:00
native php new -operator. The other ways are calling Doctrine_Table::create() or Doctrine_Connection::create().
2006-07-24 01:08:06 +04:00
The last two exists only for backward compatibility. The recommended way of creating new objects is the new operator.