コード例 #1
0
 /**
  * Filter the query by a related \мтр object
  *
  * @param \мтр|ObjectCollection $�тр the related object to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return ChildПроектыQuery The current query, for fluid interface
  */
 public function filterByмтр($�тр, $comparison = null)
 {
     if ($�тр instanceof \мтр) {
         return $this->addUsingAlias(ПроектыTableMap::COL_ID, $�тр->getпроект(), $comparison);
     } elseif ($�тр instanceof ObjectCollection) {
         return $this->useмтрQuery()->filterByPrimaryKeys($�тр->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByмтр() only accepts arguments of type \\мтр or Collection');
     }
 }
 /**
  * @param Childмтр $�тр The Childмтр object to add.
  */
 protected function doAddмтр(Childмтр $�тр)
 {
     $this->collмтрs[] = $�тр;
     $�тр->setтипытехникимтр($this);
 }
 /**
  * @param Childмтр $�тр The Childмтр object to add.
  */
 protected function doAddмтр(Childмтр $�тр)
 {
     $this->collмтрs[] = $�тр;
     $�тр->setстатуссостояниятехники($this);
 }
コード例 #4
0
 /**
  * @param Childмтр $�тр The Childмтр object to add.
  */
 protected function doAddмтр(Childмтр $�тр)
 {
     $this->collмтрs[] = $�тр;
     $�тр->setПроекты($this);
 }
 /**
  * @param Childмтр $�тр The Childмтр object to add.
  */
 protected function doAddмтр(Childмтр $�тр)
 {
     $this->collмтрs[] = $�тр;
     $�тр->setКалендарь($this);
 }
コード例 #6
0
 /**
  * Exclude object from result
  *
  * @param   Childмтр $�тр Object to remove from the list of results
  *
  * @return $this|ChildмтрQuery The current query, for fluid interface
  */
 public function prune($�тр = null)
 {
     if ($�тр) {
         $this->addUsingAlias(мтрTableMap::COL_ID, $�тр->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }
 /**
  * @param Childмтр $�тр The Childмтр object to add.
  */
 protected function doAddмтр(Childмтр $�тр)
 {
     $this->collмтрs[] = $�тр;
     $�тр->setподрядчикимтр($this);
 }