改名
This commit is contained in:
@@ -425,16 +425,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
|
|||||||
if (empty($param)) {
|
if (empty($param)) {
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->_attributes = array_merge($this->_attributes, $param);
|
$this->_attributes = array_merge($this->_attributes, $param);
|
||||||
//
|
|
||||||
// foreach ($param as $key => $val) {
|
|
||||||
// if ($this->has($key)) {
|
|
||||||
// $this->setAttribute($key, $val);
|
|
||||||
// } else {
|
|
||||||
// $this->$key = $val;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user