Subversion Repositories oidplus

Rev

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

Rev 496 Rev 502
Line 175... Line 175...
175
                // This collation is defined in the database plugin using SQLite3::createCollation()
175
                // This collation is defined in the database plugin using SQLite3::createCollation()
176
                return "$fieldname COLLATE NATURAL_CMP $order";
176
                return "$fieldname COLLATE NATURAL_CMP $order";
177
 
177
 
178
        }
178
        }
179
 
179
 
180
        public function getSlang(bool $mustExist=true)/*: ?OIDplusSqlSlangPlugin*/ {
180
        protected function doGetSlang(bool $mustExist=true)/*: ?OIDplusSqlSlangPlugin*/ {
181
                $slang = OIDplus::getSqlSlangPlugin('sqlite');
181
                $slang = OIDplus::getSqlSlangPlugin('sqlite');
182
                if (is_null($slang)) {
182
                if (is_null($slang)) {
183
                        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.','sqlite'));
183
                        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.','sqlite'));
184
                }
184
                }
185
                return $slang;
185
                return $slang;