public function getForeignModel($model)
    {
        $models = $this->foreignModels;
        if (isset($models[$model])) {
            return $models[$model];
        }

        return false;
    }
public function getForeignModel($model)
    {
        $models = $this->foreignModels;
        if (isset($models[$model])) {
            return $models[$model];
        }

        return false;
    }
public function getForeignModel ( $ model ) { $ models = $ this -> foreignModels ; if ( isset ( $ models [ $ model ] ) ) { return $ models [ $ model ] ; } return false ; }
Get foreign model.

@param [[@doctodo param_type:model]] $model [[@doctodo param_description:model]]

@return [[@doctodo return_type:getForeignModel]] [[@doctodo return_description:getForeignModel]]
Get foreign model .