Teraz coś … : BooksToSell function booksToSell(&$output) { // Display books the user already have but do // not need and which might be lost or may be sold $books = $this->dbase->getOwnBooks($this->user); $needs = $this->dbase->getBooksNeededByUser( $this->user); $transactions = $this->dbase-> getBooksInTransactionsOfUser($this->user); $filtered = new FilterRecordset(&$books, 0, $this->selection, 3); $notransact = new RecordsetSubtract(&$filtered, &$transactions, 0, 3); $notneeded = new RecordsetSubtract(&$notransact, &$needs, 0, 3); if (!$notneeded->eof()) { $this->separator->render(&$output, Książki na sprzedaż );
{}