original_string: protected function formatName($column)
      {
          $columns = explode('.', $column);
  
          if (count($columns) == 1) {
              $name = $columns[0];
          } else {
              $name = array_shift($columns);
              foreach ($columns as $column) {
                  $name .= "[$column]";
              }
          }
  
          $parenName = $this->parent->getName();
  
          return $parenName ? "{$parenName}_{$name}" : $name;
      }
code: protected function formatName($column)
      {
          $columns = explode('.', $column);
  
          if (count($columns) == 1) {
              $name = $columns[0];
          } else {
              $name = array_shift($columns);
              foreach ($columns as $column) {
                  $name .= "[$column]";
              }
          }
  
          $parenName = $this->parent->getName();
  
          return $parenName ? "{$parenName}_{$name}" : $name;
      }
code_tokens: protected function formatName ( $ column ) { $ columns = explode ( '.' , $ column ) ; if ( count ( $ columns ) == 1 ) { $ name = $ columns [ 0 ] ; } else { $ name = array_shift ( $ columns ) ; foreach ( $ columns as $ column ) { $ name .= "[$column]" ; } } $ parenName = $ this -> parent -> getName ( ) ; return $ parenName ? "{$parenName}_{$name}" : $ name ; }
docstring: Format name.
  
  @param string $column
  
  @return string
docstring_tokens: Format name .