You are here

public static function Enum::keys in Drupal driver for SQL Server and SQL Azure 7.2

Same name and namespace in other branches
  1. 7.3 sqlsrv/enum.inc \Enum::keys()

Returns the names (keys) of all constants in the Enum class

Return value

array

File

sqlsrv/enum.inc, line 64

Class

Enum
Base Enum class

Code

public static function keys() {
  return array_keys(self::toArray());
}