Example #1
0
 /**
  * @param	Postulantes $postulantes The postulantes object to add.
  */
 protected function doAddPostulantes($postulantes)
 {
     $this->collPostulantess[] = $postulantes;
     $postulantes->setUsuario($this);
 }
 /**
  * Exclude object from result
  *
  * @param     Postulantes $postulantes Object to remove from the list of results
  *
  * @return    PostulantesQuery The current query, for fluid interface
  */
 public function prune($postulantes = null)
 {
     if ($postulantes) {
         $this->addUsingAlias(PostulantesPeer::ID, $postulantes->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }
 /**
  * Filter the query by a related Postulantes object
  *
  * @param     Postulantes $postulantes  the related object to use as filter
  * @param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return    UsuarioQuery The current query, for fluid interface
  */
 public function filterByPostulantes($postulantes, $comparison = null)
 {
     if ($postulantes instanceof Postulantes) {
         return $this->addUsingAlias(UsuarioPeer::ID, $postulantes->getId_postulante(), $comparison);
     } elseif ($postulantes instanceof PropelCollection) {
         return $this->usePostulantesQuery()->filterByPrimaryKeys($postulantes->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByPostulantes() only accepts arguments of type Postulantes or PropelCollection');
     }
 }