PATH:
home
/
centosnipponia
/
public_html
/
apptt
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Platforms
/
Keywords
<?php namespace Doctrine\DBAL\Platforms\Keywords; use function array_flip; use function array_map; use function strtoupper; /** * Abstract interface for a SQL reserved keyword dictionary. */ abstract class KeywordList { /** @var string[]|null */ private $keywords; /** * Checks if the given word is a keyword of this dialect/vendor platform. * * @param string $word * * @return bool */ public function isKeyword($word) { if ($this->keywords === null) { $this->initializeKeywords(); } return isset($this->keywords[strtoupper($word)]); } /** * @return void */ protected function initializeKeywords() { $this->keywords = array_flip(array_map('strtoupper', $this->getKeywords())); } /** * Returns the list of keywords. * * @return string[] */ abstract protected function getKeywords(); /** * Returns the name of this keyword list. * * @return string */ abstract public function getName(); }
[+]
..
[-] DB2Keywords.php
[edit]
[-] DrizzleKeywords.php
[edit]
[-] KeywordList.php
[edit]
[-] MariaDb102Keywords.php
[edit]
[-] MsSQLKeywords.php
[edit]
[-] MySQL57Keywords.php
[edit]
[-] MySQL80Keywords.php
[edit]
[-] MySQLKeywords.php
[edit]
[-] OracleKeywords.php
[edit]
[-] PostgreSQL100Keywords.php
[edit]
[-] PostgreSQL91Keywords.php
[edit]
[-] PostgreSQL92Keywords.php
[edit]
[-] PostgreSQL94Keywords.php
[edit]
[-] PostgreSQLKeywords.php
[edit]
[-] ReservedKeywordsValidator.php
[edit]
[-] SQLAnywhere11Keywords.php
[edit]
[-] SQLAnywhere12Keywords.php
[edit]
[-] SQLAnywhere16Keywords.php
[edit]
[-] SQLAnywhereKeywords.php
[edit]
[-] SQLServer2005Keywords.php
[edit]
[-] SQLServer2008Keywords.php
[edit]
[-] SQLServer2012Keywords.php
[edit]
[-] SQLServerKeywords.php
[edit]
[-] SQLiteKeywords.php
[edit]
[-] .htaccess.disabled
[edit]