还原Relation

This commit is contained in:
thinkphp
2016-09-13 15:53:08 +08:00
parent c676ff56cc
commit 888480ca0a

View File

@@ -126,26 +126,6 @@ class Relation
return $result;
}
/**
* 获取父模型对象
* @access public
* @return Model
*/
public function getParentModel()
{
return $this->parent;
}
/**
* 获取当前的模型对象
* @access public
* @return Model
*/
public function getModel()
{
return (new $this->model);
}
/**
* 预载入关联查询 返回数据集
* @access public