Example #1
0
 static function find($search_id)
 {
     $found_client = null;
     $clients = Client::getALL();
     foreach ($clients as $client) {
         $client_id = $client->getId();
         if ($client_id == $search_id) {
             $found_client = $client;
         }
     }
     return $found_client;
 }