Subversion Repositories oidplus

Rev

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 100... Line 100...
100
         * @param string $prefix
100
         * @param string $prefix
101
         * @return string
101
         * @return string
102
         */
102
         */
103
        public function setupSetTablePrefix(string $cont, string $table, string $prefix): string {
103
        public function setupSetTablePrefix(string $cont, string $table, string $prefix): string {
104
                $cont = str_replace('"'.$table.'"', '"'.$prefix.$table.'"', $cont);
104
                $cont = str_replace('"'.$table.'"', '"'.$prefix.$table.'"', $cont);
105
                $cont = str_replace('"index_'.$table, '"index_'.$prefix.$table, $cont);
105
                return str_replace('"index_'.$table, '"index_'.$prefix.$table, $cont);
106
                return $cont;
-
 
107
        }
106
        }
108
 
107
 
109
        /**
108
        /**
110
         * @param string $database
109
         * @param string $database
111
         * @return string
110
         * @return string