';
// If we have found missing indexes inform about them
if (count($missing_indexes)) {
$r.= ' ' . $this->str['yesmissingindexesfound'] . ' ';
$r.= ' ';
foreach ($missing_indexes as $obj) {
$xmldb_table = $obj->table;
$xmldb_index = $obj->index;
$sqlarr = $dbman->generator->getAddIndexSQL($xmldb_table, $xmldb_index);
$r.= ' - ' . $this->str['table'] . ': ' . $xmldb_table->getName() . '. ' .
$this->str['index'] . ': ' . $xmldb_index->readableInfo() . '
';
$sqlarr = $dbman->generator->getEndedStatements($sqlarr);
$s.= '' . str_replace("\n", ' ', implode(' ', $sqlarr)) . ' ';
}
$r.= ' ';
// Add the SQL statements (all together)
$r.= ' ' . $s;
} else {
$r.= ' ' . $this->str['nomissingindexesfound'] . ' ';
}
$r.= ' |