src/bbn/appui/history.php
public static function get_id_column(string $column, string $table): ?string
  {
    if (
      ($db = self::_get_db()) &&
      ($full_table = $db->tfn($table)) &&
      ($databases_obj = self::_get_databases())
    ){
      [$database, $table] = explode('.', $full_table);
      return $databases_obj->column_id($column, $table, $database, self::$db->host);
    }
    return false;
  }
public static function get_id_column(string $column, string $table): ?string
  {
    if (
      ($db = self::_get_db()) &&
      ($full_table = $db->tfn($table)) &&
      ($databases_obj = self::_get_databases())
    ){
      [$database, $table] = explode('.', $full_table);
      return $databases_obj->column_id($column, $table, $database, self::$db->host);
    }
    return false;
  }
public static function get_id_column ( string $ column , string $ table ) : ? string { if ( ( $ db = self :: _get_db ( ) ) && ( $ full_table = $ db -> tfn ( $ table ) ) && ( $ databases_obj = self :: _get_databases ( ) ) ) { [ $ database , $ table ] = explode ( '.' , $ full_table ) ; return $ databases_obj -> column_id ( $ column , $ table , $ database , self :: $ db -> host ) ; } return false ; }
Returns the column's corresponding option's ID
@param $column string
@param $table string
@return null|string
Returns the column s corresponding option s ID