Subversion Repositories oidplus

Rev

Rev 360 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 360 Rev 502
Line 195... Line 195...
195
                } else {
195
                } else {
196
                        return false;
196
                        return false;
197
                }
197
                }
198
        }
198
        }
199
 
199
 
200
        public function getSlang(bool $mustExist=true)/*: ?OIDplusSqlSlangPlugin*/ {
200
        protected function doGetSlang(bool $mustExist=true)/*: ?OIDplusSqlSlangPlugin*/ {
201
                $slang = OIDplus::getSqlSlangPlugin('mysql');
201
                $slang = OIDplus::getSqlSlangPlugin('mysql');
202
                if (is_null($slang)) {
202
                if (is_null($slang)) {
203
                        throw new OIDplusConfigInitializationException(_L('SQL-Slang plugin "%1" is missing. Please check if it exists in the directory "plugin/sqlSlang". If it is not existing, please recover it from an SVN snapshot or OIDplus ZIP file.','mysql'));
203
                        throw new OIDplusConfigInitializationException(_L('SQL-Slang plugin "%1" is missing. Please check if it exists in the directory "plugin/sqlSlang". If it is not existing, please recover it from an SVN snapshot or OIDplus ZIP file.','mysql'));
204
                }
204
                }
205
                return $slang;
205
                return $slang;