public function getParametersFromColumnName($columnName = null)
    {
        $array = [];
        if (null !== $columnName) {
            $this->cleanupParameters();
            foreach ($this->getParameters() as $key => $parameter) {
                if ($parameter['column'] === $columnName) {
                    $array[$key] = $parameter;
                }
            }
        }

        return $array;
    }
public function getParametersFromColumnName($columnName = null)
    {
        $array = [];
        if (null !== $columnName) {
            $this->cleanupParameters();
            foreach ($this->getParameters() as $key => $parameter) {
                if ($parameter['column'] === $columnName) {
                    $array[$key] = $parameter;
                }
            }
        }

        return $array;
    }
public function getParametersFromColumnName ( $ columnName = null ) { $ array = [ ] ; if ( null !== $ columnName ) { $ this -> cleanupParameters ( ) ; foreach ( $ this -> getParameters ( ) as $ key => $ parameter ) { if ( $ parameter [ 'column' ] === $ columnName ) { $ array [ $ key ] = $ parameter ; } } } return $ array ; }
Returns the parameters associated with a given column.
Useful for i18n behavior

@param  string $columnName The column name
@return array  The array of parameters associated to given column
Returns the parameters associated with a given column . Useful for i18n behavior