1
0
mirror of synced 2024-12-14 07:06:04 +03:00
doctrine2/manual/codes/Basic Components - Collection - Adding new elements.php

9 lines
137 B
PHP
Raw Normal View History

2006-07-24 01:08:06 +04:00
<?php
$users = $table->findAll();
print count($users); // 5
$users[5]->name = "new user 1";
$users[6]->name = "new user 2";
?>