original_string: public static function columnName($column)
      {
          list($tableName, $fieldName) = pluginSplit((string)$column);
          if (!$fieldName) {
              $fieldName = $tableName;
          }
          $fieldName = preg_replace('/\s{2,}/', ' ', $fieldName);
          list($fieldName, ) = explode(' ', trim($fieldName));
  
          return $fieldName;
      }
code: public static function columnName($column)
      {
          list($tableName, $fieldName) = pluginSplit((string)$column);
          if (!$fieldName) {
              $fieldName = $tableName;
          }
          $fieldName = preg_replace('/\s{2,}/', ' ', $fieldName);
          list($fieldName, ) = explode(' ', trim($fieldName));
  
          return $fieldName;
      }
code_tokens: public static function columnName ( $ column ) { list ( $ tableName , $ fieldName ) = pluginSplit ( ( string ) $ column ) ; if ( ! $ fieldName ) { $ fieldName = $ tableName ; } $ fieldName = preg_replace ( '/\s{2,}/' , ' ' , $ fieldName ) ; list ( $ fieldName , ) = explode ( ' ' , trim ( $ fieldName ) ) ; return $ fieldName ; }
docstring: Gets a clean column name from query expression.
  
  ### Example:
  
  ```php
  EavToolbox::columnName('Tablename.some_column');
  // returns "some_column"
  
  EavToolbox::columnName('my_column');
  // returns "my_column"
  ```
  
  @param string $column Column name from query
  @return string
docstring_tokens: Gets a clean column name from query expression .