it works?!

This commit is contained in:
Igor Barkov [iwork] 2019-01-14 16:06:26 +02:00
parent 19316744ce
commit 6257325206

View File

@ -72,8 +72,10 @@ abstract class Item
public function __construct($row)
{
foreach ($this as $key=>$value) {
if (!empty($key)) {
$this->$key = $row[$key];
}
}
// ТА ЛААААДНО?!
// $this->name = $row['name'];
// $this->massa = $row['massa'];