|
ILIAS
Release_4_2_x_branch Revision 61807
|
Collaboration diagram for ilPaymentBookings:Static Public Member Functions | |
| static | getBookingsOfCustomer ($a_usr_id) |
| static | _getCountBookingsByVendor ($a_vendor_id) |
| static | _getCountBookingsByCustomer ($a_vendor_id) |
| static | _getCountBookingsByObject ($a_pobject_id) |
| static | _hasAccess ($a_pobject_id, $a_user_id=0, $a_transaction=0) |
| static | __readBillByTransaction ($a_user_id, $a_transaction_nr) |
| static | _readBookingByTransaction ($a_transaction) |
| static | _hasAccesstoExtensionPrice ($a_user_id, $a_pobject_id) |
| static | _lookupOrder ($a_pobject_id) |
Data Fields | |
| $user_id = null | |
| $db = null | |
| $bookings = array() | |
| $booking_id = null | |
| $payed = null | |
| $access = null | |
| $voucher = null | |
| $street = null | |
| $house_nr = null | |
| $po_box = null | |
| $zipcode = null | |
| $city = null | |
| $country = null | |
| $email_extern = null | |
| $name_extern = null | |
| $currency_unit = null | |
| $access_startdate = null | |
| $access_enddate = null | |
| $admin_view = false | |
| $access_extension = false | |
Private Member Functions | |
| setAccessStartdate ($a_access_startdate) | |
| setAccessEnddate ($a_access_enddate) | |
| __checkExtensionDependencies () | |
| __calculateAccessEnddate () | |
Definition at line 14 of file class.ilPaymentBookings.php.
|
private |
Definition at line 374 of file class.ilPaymentBookings.php.
References $access_enddate, getAccessStartdate(), getDuration(), IL_CAL_DATETIME, and setAccessEnddate().
Referenced by __checkExtensionDependencies(), and add().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 316 of file class.ilPaymentBookings.php.
References $ilDB, __calculateAccessEnddate(), getCustomerId(), getDuration(), getOrderDate(), getPobjectId(), and setAccessStartdate().
Referenced by add().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPaymentBookings::__getVendorIds | ( | ) |
Definition at line 853 of file class.ilPaymentBookings.php.
References $user_id, ilPaymentTrustees\_getVendorsForStatisticsByTrusteeId(), ilPaymentTrustees\_hasStatisticPermissionByVendor(), and ilPaymentVendors\_isVendor().
Referenced by __read(), and getUniqueTitles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPaymentBookings::__read | ( | ) |
Definition at line 708 of file class.ilPaymentBookings.php.
References $_SESSION, $data, $query, $res, $row, and __getVendorIds().
Referenced by ilPaymentBookings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 876 of file class.ilPaymentBookings.php.
References $bookings, $ilDB, $query, $res, and $row.
Referenced by ilShopBoughtObjectsGUI\createBill().
Here is the caller graph for this function:| ilPaymentBookings::_getActivation | ( | $a_pobject_id, | |
$a_user_id = 0 |
|||
| ) |
Definition at line 668 of file class.ilPaymentBookings.php.
References $ilDB, $res, $row, and $usr_id.
|
static |
Definition at line 582 of file class.ilPaymentBookings.php.
|
static |
Definition at line 602 of file class.ilPaymentBookings.php.
References $ilDB, $res, and $row.
Referenced by ilPaymentObjectGUI\deleteObject(), ilObjPaymentSettingsGUI\deleteObjectObject(), ilPaymentObjectGUI\editDetails(), ilObjPaymentSettingsGUI\editDetailsObject(), ilObjPaymentSettingsGUI\objectsObject(), and ilPaymentObjectGUI\showObjects().
Here is the caller graph for this function:
|
static |
Definition at line 565 of file class.ilPaymentBookings.php.
References $ilDB, $res, and $row.
Referenced by ilObjPaymentSettingsGUI\deleteVendorsObject(), and ilObjPaymentSettingsGUI\vendorsObject().
Here is the caller graph for this function:
|
static |
Definition at line 619 of file class.ilPaymentBookings.php.
References $ilDB, $res, $row, and $usr_id.
Referenced by ilPaymentObject\_hasAccess(), and ilObjectListGUI\insertPayment().
Here is the caller graph for this function:
|
static |
Definition at line 1008 of file class.ilPaymentBookings.php.
References $ilDB, $res, and $row.
Referenced by ilShopPurchaseGUI\showDetails().
Here is the caller graph for this function:
|
static |
Definition at line 1024 of file class.ilPaymentBookings.php.
References $ilDB, $res, and $row.
Referenced by ilObjectListGUI\insertPayment().
Here is the caller graph for this function:
|
static |
Definition at line 943 of file class.ilPaymentBookings.php.
References $ilDB, $res, $row, and $user_id.
Referenced by ilObjFileGUI\executeCommand().
Here is the caller graph for this function:| ilPaymentBookings::add | ( | ) |
Definition at line 396 of file class.ilPaymentBookings.php.
References __calculateAccessEnddate(), __checkExtensionDependencies(), ilPayMethods\_EnabledSaveUserAddress(), getAccessEnddate(), getAccessExtension(), getAccessStartdate(), getAccessStatus(), getCity(), getCountry(), getCurrencyUnit(), getCustomerId(), getDiscount(), getDuration(), getEmailExtern(), getNameExtern(), getObjectTitle(), getOrderDate(), getPayedStatus(), getPayMethod(), getPobjectId(), getPoBox(), getPrice(), getStreet(), getTransaction(), getTransactionExtern(), getVatRate(), getVatUnit(), getVendorId(), getVoucher(), getZipcode(), and setAccessStartdate().
Here is the call graph for this function:| ilPaymentBookings::delete | ( | ) |
Definition at line 503 of file class.ilPaymentBookings.php.
References getBookingId().
Here is the call graph for this function:| ilPaymentBookings::deleteAddressesByPaymethod | ( | $pay_method | ) |
Definition at line 927 of file class.ilPaymentBookings.php.
References $ilDB, and $pay_method.
| ilPaymentBookings::getAccessEnddate | ( | ) |
Definition at line 302 of file class.ilPaymentBookings.php.
References $access_enddate.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getAccessExtension | ( | ) |
Definition at line 311 of file class.ilPaymentBookings.php.
References $access_extension.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getAccessStartdate | ( | ) |
Definition at line 293 of file class.ilPaymentBookings.php.
References $access_startdate.
Referenced by __calculateAccessEnddate(), and add().
Here is the caller graph for this function:| ilPaymentBookings::getAccessStatus | ( | ) |
Definition at line 172 of file class.ilPaymentBookings.php.
References $access.
Referenced by add(), and update().
Here is the caller graph for this function:| ilPaymentBookings::getBooking | ( | $a_booking_id | ) |
Definition at line 548 of file class.ilPaymentBookings.php.
| ilPaymentBookings::getBookingId | ( | ) |
Definition at line 71 of file class.ilPaymentBookings.php.
References $booking_id.
Referenced by delete(), and update().
Here is the caller graph for this function:| ilPaymentBookings::getBookings | ( | ) |
Definition at line 543 of file class.ilPaymentBookings.php.
| ilPaymentBookings::getBookingsByPaymethod | ( | $pay_method | ) |
Definition at line 913 of file class.ilPaymentBookings.php.
References $ilDB, $pay_method, $res, and $row.
|
static |
Definition at line 518 of file class.ilPaymentBookings.php.
References $ilDB, $res, and $row.
Referenced by ilShopBoughtObjectsGUI\showItems().
Here is the caller graph for this function:| ilPaymentBookings::getCity | ( | ) |
Definition at line 219 of file class.ilPaymentBookings.php.
References $city.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getCountry | ( | ) |
Definition at line 228 of file class.ilPaymentBookings.php.
References $country.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getCurrencyUnit | ( | ) |
Definition at line 284 of file class.ilPaymentBookings.php.
References $currency_unit.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getCustomerId | ( | ) |
Definition at line 95 of file class.ilPaymentBookings.php.
Referenced by __checkExtensionDependencies(), and add().
Here is the caller graph for this function:| ilPaymentBookings::getDiscount | ( | ) |
Definition at line 155 of file class.ilPaymentBookings.php.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getDistinctTransactions | ( | $a_user_id | ) |
Definition at line 895 of file class.ilPaymentBookings.php.
| ilPaymentBookings::getDuration | ( | ) |
Definition at line 127 of file class.ilPaymentBookings.php.
Referenced by __calculateAccessEnddate(), __checkExtensionDependencies(), and add().
Here is the caller graph for this function:| ilPaymentBookings::getEmailExtern | ( | ) |
Definition at line 267 of file class.ilPaymentBookings.php.
References $email_extern.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getNameExtern | ( | ) |
Definition at line 276 of file class.ilPaymentBookings.php.
References $name_extern.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getObjectTitle | ( | ) |
Definition at line 258 of file class.ilPaymentBookings.php.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getOrderDate | ( | ) |
Definition at line 119 of file class.ilPaymentBookings.php.
Referenced by __checkExtensionDependencies(), and add().
Here is the caller graph for this function:| ilPaymentBookings::getPayedStatus | ( | ) |
Definition at line 164 of file class.ilPaymentBookings.php.
References $payed.
Referenced by add(), and update().
Here is the caller graph for this function:| ilPaymentBookings::getPayMethod | ( | ) |
Definition at line 111 of file class.ilPaymentBookings.php.
References $pay_method.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getPobjectId | ( | ) |
Definition at line 87 of file class.ilPaymentBookings.php.
Referenced by __checkExtensionDependencies(), and add().
Here is the caller graph for this function:| ilPaymentBookings::getPoBox | ( | ) |
Definition at line 202 of file class.ilPaymentBookings.php.
References $po_box.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getPrice | ( | ) |
Definition at line 146 of file class.ilPaymentBookings.php.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getStreet | ( | ) |
Definition at line 193 of file class.ilPaymentBookings.php.
References $street.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getTransaction | ( | ) |
Definition at line 79 of file class.ilPaymentBookings.php.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getTransactionExtern | ( | ) |
Definition at line 188 of file class.ilPaymentBookings.php.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getUniqueTitles | ( | ) |
Definition at line 963 of file class.ilPaymentBookings.php.
References $data, $query, $res, $row, $vendor, __getVendorIds(), and DB_FETCHMODE_OBJECT.
Here is the call graph for this function:| ilPaymentBookings::getUnlimitedDuration | ( | ) |
Definition at line 137 of file class.ilPaymentBookings.php.
| ilPaymentBookings::getVatRate | ( | ) |
Definition at line 250 of file class.ilPaymentBookings.php.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getVatUnit | ( | ) |
Definition at line 241 of file class.ilPaymentBookings.php.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getVendorId | ( | ) |
Definition at line 103 of file class.ilPaymentBookings.php.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getVoucher | ( | ) |
Definition at line 180 of file class.ilPaymentBookings.php.
References $voucher.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getZipcode | ( | ) |
Definition at line 211 of file class.ilPaymentBookings.php.
References $zipcode.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::ilPaymentBookings | ( | $a_user_id = '', |
|
$a_admin_view = false |
|||
| ) |
Definition at line 48 of file class.ilPaymentBookings.php.
References $ilDB, __read(), and ilPaymentSettings\_getInstance().
Here is the call graph for this function:| ilPaymentBookings::setAccess | ( | $a_access | ) |
Definition at line 168 of file class.ilPaymentBookings.php.
|
private |
Definition at line 298 of file class.ilPaymentBookings.php.
Referenced by __calculateAccessEnddate().
Here is the caller graph for this function:| ilPaymentBookings::setAccessExtension | ( | $a_access_extension | ) |
Definition at line 307 of file class.ilPaymentBookings.php.
|
private |
Definition at line 289 of file class.ilPaymentBookings.php.
Referenced by __checkExtensionDependencies(), and add().
Here is the caller graph for this function:| ilPaymentBookings::setBookingId | ( | $a_booking_id | ) |
Definition at line 67 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setCity | ( | $a_city | ) |
Definition at line 223 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setCountry | ( | $a_country | ) |
Definition at line 232 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setCurrencyUnit | ( | $a_currency_unit | ) |
Definition at line 280 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setCustomerId | ( | $a_customer_id | ) |
Definition at line 91 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setDiscount | ( | $a_discount | ) |
Definition at line 150 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setDuration | ( | $a_duration | ) |
Definition at line 123 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setEmailExtern | ( | $a_email_extern | ) |
Definition at line 263 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setNameExtern | ( | $a_name_extern | ) |
Definition at line 272 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setObjectTitle | ( | $a_object_title | ) |
Definition at line 254 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setOrderDate | ( | $a_order_date | ) |
Definition at line 115 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setPayed | ( | $a_payed | ) |
Definition at line 160 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setPayMethod | ( | $a_pay_method | ) |
Definition at line 107 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setPobjectId | ( | $a_pobject_id | ) |
Definition at line 83 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setPoBox | ( | $a_po_box | ) |
Definition at line 206 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setPrice | ( | $a_price | ) |
Definition at line 142 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setStreet | ( | $a_street, | |
| $a_house_nr | |||
| ) |
Definition at line 197 of file class.ilPaymentBookings.php.
References $street.
| ilPaymentBookings::setTransaction | ( | $a_transaction | ) |
Definition at line 75 of file class.ilPaymentBookings.php.
Referenced by ilPurchase\purchase().
Here is the caller graph for this function:| ilPaymentBookings::setTransactionExtern | ( | $a_transaction_extern | ) |
Definition at line 184 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setUnlimitedDuration | ( | $a_unlimited_duration | ) |
Definition at line 131 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setVatRate | ( | $a_vat_rate | ) |
Definition at line 246 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setVatUnit | ( | $a_vat_unit | ) |
Definition at line 236 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setVendorId | ( | $a_vendor_id | ) |
Definition at line 99 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setVoucher | ( | $a_voucher | ) |
Definition at line 176 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setZipcode | ( | $a_zipcode | ) |
Definition at line 215 of file class.ilPaymentBookings.php.
| ilPaymentBookings::update | ( | ) |
Definition at line 486 of file class.ilPaymentBookings.php.
References getAccessStatus(), getBookingId(), and getPayedStatus().
Here is the call graph for this function:| ilPaymentBookings::$access = null |
Definition at line 26 of file class.ilPaymentBookings.php.
Referenced by getAccessStatus().
| ilPaymentBookings::$access_enddate = null |
Definition at line 40 of file class.ilPaymentBookings.php.
Referenced by __calculateAccessEnddate(), and getAccessEnddate().
| ilPaymentBookings::$access_extension = false |
Definition at line 43 of file class.ilPaymentBookings.php.
Referenced by getAccessExtension().
| ilPaymentBookings::$access_startdate = null |
Definition at line 39 of file class.ilPaymentBookings.php.
Referenced by getAccessStartdate().
| ilPaymentBookings::$admin_view = false |
Definition at line 41 of file class.ilPaymentBookings.php.
| ilPaymentBookings::$booking_id = null |
Definition at line 24 of file class.ilPaymentBookings.php.
Referenced by getBookingId().
| ilPaymentBookings::$bookings = array() |
Definition at line 22 of file class.ilPaymentBookings.php.
Referenced by __readBillByTransaction().
| ilPaymentBookings::$city = null |
Definition at line 32 of file class.ilPaymentBookings.php.
Referenced by getCity().
| ilPaymentBookings::$country = null |
Definition at line 33 of file class.ilPaymentBookings.php.
Referenced by getCountry().
| ilPaymentBookings::$currency_unit = null |
Definition at line 37 of file class.ilPaymentBookings.php.
Referenced by getCurrencyUnit().
| ilPaymentBookings::$db = null |
Definition at line 20 of file class.ilPaymentBookings.php.
| ilPaymentBookings::$email_extern = null |
Definition at line 35 of file class.ilPaymentBookings.php.
Referenced by getEmailExtern().
| ilPaymentBookings::$house_nr = null |
Definition at line 29 of file class.ilPaymentBookings.php.
| ilPaymentBookings::$name_extern = null |
Definition at line 36 of file class.ilPaymentBookings.php.
Referenced by getNameExtern().
| ilPaymentBookings::$payed = null |
Definition at line 25 of file class.ilPaymentBookings.php.
Referenced by getPayedStatus().
| ilPaymentBookings::$po_box = null |
Definition at line 30 of file class.ilPaymentBookings.php.
Referenced by getPoBox().
| ilPaymentBookings::$street = null |
Definition at line 28 of file class.ilPaymentBookings.php.
Referenced by getStreet(), and setStreet().
| ilPaymentBookings::$user_id = null |
Definition at line 19 of file class.ilPaymentBookings.php.
Referenced by __getVendorIds(), and _readBookingByTransaction().
| ilPaymentBookings::$voucher = null |
Definition at line 27 of file class.ilPaymentBookings.php.
Referenced by getVoucher().
| ilPaymentBookings::$zipcode = null |
Definition at line 31 of file class.ilPaymentBookings.php.
Referenced by getZipcode().