_getTableName($this->_tableAlias) . '` ' . 'WHERE 1'; $days = $this->db->fetchOne($sql); } catch (Exception $e) { // nothing to do } return (int) $days; } }