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