public function edit() { // Check the table in so it can be edited.... we are done with it anyway $model = KFactory::get('admin::com.duuka.model.item'); $model->checkout(); parent::edit(); }