Ejemplo n.º 1
0
 /**
  * Exclude object from result
  *
  * @param   ChildSubNote $subNote Object to remove from the list of results
  *
  * @return $this|ChildSubNoteQuery The current query, for fluid interface
  */
 public function prune($subNote = null)
 {
     if ($subNote) {
         $this->addUsingAlias(SubNoteTableMap::COL_ID, $subNote->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }