Пример #1
0
 public function selectFull()
 {
     $sql = "select * from perfil";
     $result = $this->retrieve($sql);
     $lista = array();
     while ($qr = mysqli_fetch_array($result)) {
         $prf = new Perfil();
         $prf->setPrf_id($qr["prf_id"]);
         $prf->setPrf_perfil($qr["prf_perfil"]);
         $prf->setPrf_url($qr["url"]);
         $prf->setPrf_pagina($qr["pagina"]);
         array_push($lista, $prf);
     }
     return $lista;
 }