protected function getMapping($name)
    {
        foreach($this->mappings as $key => $data) {
            if (in_array(strtolower($name), $data['accepted_names'])) {
                return $key;
            }
        }

        return false;
    }
protected function getMapping($name)
    {
        foreach($this->mappings as $key => $data) {
            if (in_array(strtolower($name), $data['accepted_names'])) {
                return $key;
            }
        }

        return false;
    }
protected function getMapping ( $ name ) { foreach ( $ this -> mappings as $ key => $ data ) { if ( in_array ( strtolower ( $ name ) , $ data [ 'accepted_names' ] ) ) { return $ key ; } } return false ; }
Get a mapped column index

@param string $name
@return int|false
Get a mapped column index