Esempio n. 1
0
 function __construct($Id, $Nombre, $Descripción, $Email, $Password)
 {
     $this->Id = $Id;
     $this->Nombre = $Nombre;
     $this->Descripción = $Descripción;
     $this->Email = $Email;
     $this->Password = $Password;
     $this->Salt = md5(time());
     $this->Slug = Auxiliar::getSlug($Nombre);
 }
Esempio n. 2
0
 function __construct($Id, $Nombre, $Descripción, $FechaCelebración, $Distancia, $FechaLímiteInscripción, $NúmeroMáximaParticipantes, $Imagen, $Organizacion)
 {
     $this->Id = $Id;
     $this->Nombre = $Nombre;
     $this->Descripción = $Descripción;
     $this->FechaCelebración = $FechaCelebración;
     $this->Distancia = $Distancia;
     $this->FechaLímiteInscripción = $FechaLímiteInscripción;
     $this->NúmeroMáximaParticipantes = $NúmeroMáximaParticipantes;
     $this->Imagen = $Imagen;
     $this->Slug = Auxiliar::getSlug($Nombre);
     $this->Organizacion = $Organizacion;
 }