改名
This commit is contained in:
@@ -862,6 +862,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
|
|||||||
if (array_key_exists($name, $this->_attributes)) {
|
if (array_key_exists($name, $this->_attributes)) {
|
||||||
return static::getColumns()->_decode($name, $value);
|
return static::getColumns()->_decode($name, $value);
|
||||||
}
|
}
|
||||||
|
var_dump($name, $this->_with);
|
||||||
if (in_array($name, $this->_with)) {
|
if (in_array($name, $this->_with)) {
|
||||||
return $this->resolveClass($this->{$this->_relate[$name]}());
|
return $this->resolveClass($this->{$this->_relate[$name]}());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user