protected static function calculate(&$Row) { if (!$Row) { return; } $Attributes = dbdecode($Row['Attributes']); if (is_array($Attributes)) { $Row = array_merge($Attributes, $Row); } unset($Row['Attributes']); }