Esempio n. 1
0
 /**
  * Exclude object from result
  *
  * @param   ChildPreference $preference Object to remove from the list of results
  *
  * @return $this|ChildPreferenceQuery The current query, for fluid interface
  */
 public function prune($preference = null)
 {
     if ($preference) {
         $this->addUsingAlias(PreferenceTableMap::COL_KEY, $preference->getKey(), Criteria::NOT_EQUAL);
     }
     return $this;
 }