_db->query('TRUNCATE ' . $this->_db->quoteIdentifier($this->_getTableName())); return $this; } public function getListSelect() { if (null !== $this->_select) { return $this->_select; } $select = parent::getListSelect(); $select->joinLeft( $this->_getPair('DNotFoundMode'), "`DNotFoundMode`.`id` = `{$this->_tableAlias}`.`modeId`", array('referrerMode' => 'title') ); return $select; } public function getNotFoundModes() { return $this->_get4Select('DNotFoundMode'); } }