예제 #1
0
 public function getRolResponsable(PropelPDO $con = null)
 {
     if ($this->aRolResponsable === null && $this->fk_rolresponsable_id !== null) {
         $c = new Criteria(RolResponsablePeer::DATABASE_NAME);
         $c->add(RolResponsablePeer::ID, $this->fk_rolresponsable_id);
         $this->aRolResponsable = RolResponsablePeer::doSelectOne($c, $con);
     }
     return $this->aRolResponsable;
 }