/** * Returns a new model containing all the statements which are in both this model and another. * * @param object Model $model * @return object MemModel * @access public * @throws phpErrpr */ function &intersect(&$model) { if (is_a($model, 'ResModel')) { return $this->model->intersect($model->getModel()); } return $this->model->intersect($model); }