function stooges()
{
    print "woo woo woo!\n";
    Fine::larry();
}
 function getFineByBorrowerid($Borrower_id)
 {
     $key = 'FineLog';
     $collection = CacheManager::get($key, TRUE);
     if ($collection) {
         return $collection;
     }
     $collection = new Collection();
     $this->connect();
     $result = $this->conn->query("CALL sp_get_fine_borrower_id('{$Borrower_id}')");
     if ($result) {
         //$row = $result->fetch_assoc();
         while ($obj = $result->fetch_object()) {
             $fine = new Fine();
             $fine->setFineId($obj->Fine_id);
             $fine->setBookTitle($obj->Title);
             $fine->setAmount($obj->Amount);
             $fine->setDueDate($obj->due_date);
             $fine->setReturnDate($obj->Return_date);
             $fine->setPaymentDate($obj->Payment_date);
             $collection->addItem($fine, $obj->Fine_id);
         }
         $result->close();
         // for fetch_object()
     }
     //$result->free_result(); // for fetch_assoc()
     $this->close();
     CacheManager::set($key, $collection, TRUE);
     return $collection;
 }