public function getMappedForeignColumn($local)
    {
        $index = array_search($local, $this->localColumns);
        return $this->foreignColumns[$index];
    }
public function getMappedForeignColumn($local)
    {
        $index = array_search($local, $this->localColumns);
        return $this->foreignColumns[$index];
    }
public function getMappedForeignColumn ( $ local ) { $ index = array_search ( $ local , $ this -> localColumns ) ; return $ this -> foreignColumns [ $ index ] ; }
Returns the foreign column name mapped to a specified local column.

@param  string $local
@return string
Returns the foreign column name mapped to a specified local column .