Ejemplo n.º 1
0
 public function getConcepto(PropelPDO $con = null)
 {
     if ($this->aConcepto === null && $this->fk_concepto_id !== null) {
         $c = new Criteria(ConceptoPeer::DATABASE_NAME);
         $c->add(ConceptoPeer::ID, $this->fk_concepto_id);
         $this->aConcepto = ConceptoPeer::doSelectOne($c, $con);
     }
     return $this->aConcepto;
 }