Пример #1
0
 /**
  * Restituisce la tupla
  * della Tabella UtenteRegistrato
  * tramite l'email
  * @param type $mail
  * @return type
  */
 function GetUtenteByMail($mail)
 {
     $Utente = parent::search_equals("UtenteRegistrato", "Email", $mail);
     return $Utente;
 }
Пример #2
0
 /**
  * Restituisce la tupla
  * selezionata dalla Tabella Amministratori  grazie 
  * alla username
  * 
  * @param type $Username
  * @return type
  */
 function GetUtenteByUsername($Username)
 {
     $Utente = parent::search_equals("Amministratori", "Username", $Username);
     return $Utente;
 }
Пример #3
0
 /**
  * Ricerca un immagine
  * sulla Tabella Immgine
  * tramite l'id
  * 
  * @param type $Id
  * @return type
  */
 function RicercaImmagine($Id)
 {
     $Risultato = parent::search_equals("Immagine", "Id", $Id);
     return $Risultato;
 }
Пример #4
0
 /**
  * Ricerca sulla Tabella
  * Catalogo il prodotto
  * tramite l'id
  * @param type $id
  * @return type
  */
 function GetProdottiById($id)
 {
     $Prodotto = parent::search_equals("Catalogo", "id", $id);
     return $Prodotto;
 }
Пример #5
0
 /**
  * Ricerca Il Supermercato
  * sulla Tabella Supermercato
  * tramite l'Ids
  * 
  * @param type $Ids
  * @return type
  */
 function RicercaPerIds($Ids)
 {
     $ArrayRisultati = parent::search_equals("Supermercato", "Ids", $Ids);
     return $ArrayRisultati;
 }