2006-08-22 22:36:34 +04:00
|
|
|
As with records the collection can be saved by calling the save method.
|
2007-04-13 00:52:30 +04:00
|
|
|
|
|
|
|
<code type="php">
|
|
|
|
$users = $table->findAll();
|
|
|
|
|
|
|
|
$users[0]->name = "Jack Daniels";
|
|
|
|
|
|
|
|
$users[1]->name = "John Locke";
|
|
|
|
|
|
|
|
$users->save();
|
|
|
|
</code>
|