改名
This commit is contained in:
+3
-1
@@ -511,7 +511,9 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, T
|
|||||||
if (empty($param)) {
|
if (empty($param)) {
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
$this->_attributes = array_merge($this->_attributes, $param);
|
foreach ($param as $key => $value) {
|
||||||
|
$this->_setter($key, $value);
|
||||||
|
}
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user