public function pageCreate() { // just put some data in there without actually creating or returning any objects DbObject::_insert('PersonStuff', array('firstname' => 'Common', 'lastname' => 'Name')); // get it if it's there, create and return it if it's not there $promised = DbObject::_getOne('PersonStuff', array('firstname' => 'Definitely', 'lastname' => 'There')); $this->assign('promised', $promised); $new = DbObject::_create('PersonStuff', array('firstname' => 'Unique', 'lastname' => 'Person')); $this->assign('new', $new); $all = DbObject::_find('PersonStuff'); $this->assign('all', $all); }