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