コード例 #1
0
 public static function doSelectStmt(Criteria $criteria, PropelPDO $con = null)
 {
     if ($con === null) {
         $con = Propel::getConnection(TipodocentePeer::DATABASE_NAME, Propel::CONNECTION_READ);
     }
     if (!$criteria->hasSelectClause()) {
         $criteria = clone $criteria;
         TipodocentePeer::addSelectColumns($criteria);
     }
     $criteria->setDbName(self::DATABASE_NAME);
     return BasePeer::doSelect($criteria, $con);
 }