Example #1
0
 public static function doSelectStmt(Criteria $criteria, PropelPDO $con = null)
 {
     $c1 = $criteria->getNewCriterion(TablaPeer::BORRADO, null, Criteria::ISNULL);
     $c2 = $criteria->getNewCriterion(TablaPeer::BORRADO, false, Criteria::EQUAL);
     $c1->addOr($c2);
     $criteria->addAnd($c1);
     return parent::doSelectStmt($criteria, $con);
 }
 /**
  * Clear the instance pool.
  *
  * @return     void
  */
 public static function clearInstancePool()
 {
     self::$instances = array();
 }