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