The Easiest Way to Save and Share Code Snippets on the web

Your snipt has been migrated to #newsnipt successfully.

Koowa

php

last edit: May, 26th 2009 | jump to bottom

//automatically wraps a table object around 
//the table jos_example_people
$people = KFactory::get('site::com.example.table.people');
//return a row object representing a row
// in the table people
$person = $people->find(20);
$person->name = 'John';
$person->save();
6 views