save()
on the node, you can just do echo $page->id
(or whatever your primary key is called) to get the inserted ID.$page = Model_Page::forge()->save();
$page = Model_Page::forge();
$page->save();
echo $page->id
It looks like you're new here. If you want to get involved, click one of these buttons!