/**
  * Clears the current object, sets all attributes to their default values and removes
  * outgoing references as well as back-references (from other objects to this one. Results probably in a database
  * change of those foreign objects when you call `save` there).
  */
 public function clear()
 {
     if (null !== $this->aJaCategorias) {
         $this->aJaCategorias->removeJaPaginaCategorias($this);
     }
     if (null !== $this->aJaPaginas) {
         $this->aJaPaginas->removeJaPaginaCategorias($this);
     }
     $this->id = null;
     $this->id_pagina = null;
     $this->id_categoria = null;
     $this->alreadyInSave = false;
     $this->clearAllReferences();
     $this->resetModified();
     $this->setNew(true);
     $this->setDeleted(false);
 }
 /**
  * Exclude object from result
  *
  * @param   ChildJaCategorias $jaCategorias Object to remove from the list of results
  *
  * @return $this|ChildJaCategoriasQuery The current query, for fluid interface
  */
 public function prune($jaCategorias = null)
 {
     if ($jaCategorias) {
         $this->addUsingAlias(JaCategoriasTableMap::COL_ID, $jaCategorias->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }
 /**
  * Filter the query by a related \JaCategorias object
  *
  * @param \JaCategorias|ObjectCollection $jaCategorias The related object(s) to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @throws \Propel\Runtime\Exception\PropelException
  *
  * @return ChildJaPaginaCategoriasQuery The current query, for fluid interface
  */
 public function filterByJaCategorias($jaCategorias, $comparison = null)
 {
     if ($jaCategorias instanceof \JaCategorias) {
         return $this->addUsingAlias(JaPaginaCategoriasTableMap::COL_ID_CATEGORIA, $jaCategorias->getId(), $comparison);
     } elseif ($jaCategorias instanceof ObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(JaPaginaCategoriasTableMap::COL_ID_CATEGORIA, $jaCategorias->toKeyValue('PrimaryKey', 'Id'), $comparison);
     } else {
         throw new PropelException('filterByJaCategorias() only accepts arguments of type \\JaCategorias or Collection');
     }
 }