original_string: public static function get_device_type_list($includecustomtypes = true) {
          $types = self::$devicetypes;
          if ($includecustomtypes) {
              $instance = self::instance();
              $types = array_merge($types, array_keys($instance->devicetypecustoms));
          }
          return $types;
      }
code: public static function get_device_type_list($includecustomtypes = true) {
          $types = self::$devicetypes;
          if ($includecustomtypes) {
              $instance = self::instance();
              $types = array_merge($types, array_keys($instance->devicetypecustoms));
          }
          return $types;
      }
code_tokens: public static function get_device_type_list ( $ includecustomtypes = true ) { $ types = self :: $ devicetypes ; if ( $ includecustomtypes ) { $ instance = self :: instance ( ) ; $ types = array_merge ( $ types , array_keys ( $ instance -> devicetypecustoms ) ) ; } return $ types ; }
docstring: Gets a list of known device types.
  
  @param bool $includecustomtypes If set to true we'll include types that have been added by the admin.
  @return array
docstring_tokens: Gets a list of known device types .