Example #1
0
 public static function getInstance()
 {
     if (!self::$instancia instanceof self) {
         self::$instancia = new self();
     }
     return self::$instancia;
 }
Example #2
0
 public function __construct($ident, $fecha_nac, $fecha_sac, $peso)
 {
     $this->db = Dbconnector::getInstance();
     $this->identificador = $ident;
     $this->fecha_nac = $fecha_nac;
     $this->fecha_sac = $fecha_sac;
     $this->peso;
 }