/**
  * Filter the query by a related helpHour object
  *
  * @param   helpHour|PropelObjectCollection $helpHour The related object(s) to use as filter
  * @param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return                 helpHourSigninQuery The current query, for fluid interface
  * @throws PropelException - if the provided filter is invalid.
  */
 public function filterByhelpHour($helpHour, $comparison = null)
 {
     if ($helpHour instanceof helpHour) {
         return $this->addUsingAlias(helpHourSigninPeer::HELPHOUR_ID, $helpHour->getId(), $comparison);
     } elseif ($helpHour instanceof PropelObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(helpHourSigninPeer::HELPHOUR_ID, $helpHour->toKeyValue('PrimaryKey', 'Id'), $comparison);
     } else {
         throw new PropelException('filterByhelpHour() only accepts arguments of type helpHour or PropelCollection');
     }
 }