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 155... Line 155...
155
 
155
 
156
        public function sqlDate(): string {
156
        public function sqlDate(): string {
157
                return 'now()';
157
                return 'now()';
158
        }
158
        }
159
 
159
 
160
        public function getSlang(bool $mustExist=true)/*: ?OIDplusSqlSlangPlugin*/ {
160
        protected function doGetSlang(bool $mustExist=true)/*: ?OIDplusSqlSlangPlugin*/ {
161
                $slang = OIDplus::getSqlSlangPlugin('pgsql');
161
                $slang = OIDplus::getSqlSlangPlugin('pgsql');
162
                if (is_null($slang)) {
162
                if (is_null($slang)) {
163
                        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.','pgsql'));
163
                        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.','pgsql'));
164
                }
164
                }
165
                return $slang;
165
                return $slang;