public function setModel(Model $model)
    {
        $this->model = $model;
        $this->fm = $this->model->loadFunctionMap();
    }
public function setModel(Model $model)
    {
        $this->model = $model;
        $this->fm = $this->model->loadFunctionMap();
    }
public function setModel ( Model $ model ) { $ this -> model = $ model ; $ this -> fm = $ this -> model -> loadFunctionMap ( ) ; }
sets the current model.

@param Model $model
sets the current model .