Rev 1116 | Rev 1148 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1116 | Rev 1130 | ||
---|---|---|---|
Line 118... | Line 118... | ||
118 | * @return string |
118 | * @return string |
119 | */ |
119 | */ |
120 | public function setupSetTablePrefix(string $cont, string $table, string $prefix): string { |
120 | public function setupSetTablePrefix(string $cont, string $table, string $prefix): string { |
121 | $table = strtoupper($table); |
121 | $table = strtoupper($table); |
122 | $prefix = strtoupper($prefix); |
122 | $prefix = strtoupper($prefix); |
123 | $cont = str_replace('"'.$table.'"', '"'.$prefix.$table.'"', $cont); |
123 | return str_replace('"'.$table.'"', '"'.$prefix.$table.'"', $cont); |
124 | return $cont; |
- | |
125 | } |
124 | } |
126 | 125 | ||
127 | /** |
126 | /** |
128 | * @param string $database |
127 | * @param string $database |
129 | * @return string |
128 | * @return string |