Per documentation, Doctrine_Record after saving should set id of newly created record as object property. In my case, new record is created, but not value is set on object (while database has this new id value). What has caused this?
$user1 = new ModelUsers();
$user1->save();
echo "last insert id=" . $user1->UserId;
PS UserId 'primary' => true, 'autoincrement' => true
ile Model sınıfından yapılandırılmış