public function setMapping($map, $type = ''){
        if($type == 'area'){
            $this->areaMapping = $map;
        }else{
            $this->mapping = $map;
        }
    }
public function setMapping($map, $type = ''){
        if($type == 'area'){
            $this->areaMapping = $map;
        }else{
            $this->mapping = $map;
        }
    }
public function setMapping ( $ map , $ type = '' ) { if ( $ type == 'area' ) { $ this -> areaMapping = $ map ; } else { $ this -> mapping = $ map ; } }
Short description of method setMapping

@access public
@author Joel Bout, <joel.bout@tudor.lu>
@param  array map
@param  type
@return mixed
Short description of method setMapping