protected function _create_model_instance($orm)
{
if ($orm === false) {
return false;
}
$model = new $this->_class_name();
$orm->resultSetClass = $model->get_resultSetClass();
$orm->set_class_name($this->_class_name);
$model->set_orm($orm);
return $model;
}