コード例 #1
0
ファイル: LineageQuery.php プロジェクト: gossi/trixionary
 /**
  * Exclude object from result
  *
  * @param   ChildLineage $lineage Object to remove from the list of results
  *
  * @return $this|ChildLineageQuery The current query, for fluid interface
  */
 public function prune($lineage = null)
 {
     if ($lineage) {
         $this->addUsingAlias(LineageTableMap::COL_ID, $lineage->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }