/** * Filter the query by a related LinkCategory object * * @param LinkCategory|PropelObjectCollection $linkCategory the related object to use as filter * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return UserQuery The current query, for fluid interface * @throws PropelException - if the provided filter is invalid. */ public function filterByLinkCategoryRelatedByUpdatedBy($linkCategory, $comparison = null) { if ($linkCategory instanceof LinkCategory) { return $this->addUsingAlias(UserPeer::ID, $linkCategory->getUpdatedBy(), $comparison); } elseif ($linkCategory instanceof PropelObjectCollection) { return $this->useLinkCategoryRelatedByUpdatedByQuery()->filterByPrimaryKeys($linkCategory->getPrimaryKeys())->endUse(); } else { throw new PropelException('filterByLinkCategoryRelatedByUpdatedBy() only accepts arguments of type LinkCategory or PropelCollection'); } }