getPrimaryKey(); if (!empty($key)) { return $this->_getTable()->updateByKey(['viewed' => (($value) ? true : false)], $key); } return false; } public function getTableMeta() { return $this->_getTable()->getMetaData(); } public function prepareExportRow(array &$row) { $row = str_replace(["\n", "\r"], ' ', $row); return $this; } }