/** * Determine if all of the statements in a model are also contained in this model. * True if all of the statements in $model are also contained in this model and false otherwise. * * @param object Model &$model * @return boolean * @access public */ function containsAll(&$model) { if (is_a($model, 'ResModel')) { return $this->model->containsAll($model->getModel()); } return $this->model->containsAll($model); }