|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
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 | |
| $transaction = null | |
| $pobject_id = null | |
| $customer_id = null | |
| $vendor_id = null | |
| $pay_method = null | |
| $order_date = null | |
| $duration = 0 | |
| $unlimited_duration = 0 | |
| $price = 0 | |
| $discount = 0 | |
| $transaction_extern = null | |
| $vat_unit = 0 | |
| $object_title = 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 | |
| __checkExtensionDependencies () | |
| __calculateAccessEnddate () | |
Private Attributes | |
| $price_type = null | |
Definition at line 14 of file class.ilPaymentBookings.php.
| ilPaymentBookings::__construct | ( | $a_user_id = '', |
|
$a_admin_view = false |
|||
| ) |
Definition at line 62 of file class.ilPaymentBookings.php.
References $ilDB, __read(), and ilPaymentSettings\_getInstance().
Here is the call graph for this function:
|
private |
Definition at line 400 of file class.ilPaymentBookings.php.
References $access_enddate, $duration, 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 339 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 864 of file class.ilPaymentBookings.php.
References $user_id, ilPaymentTrustees\_getVendorsForStatisticsByTrusteeId(), and ilPaymentTrustees\_hasStatisticPermissionByVendor().
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 719 of file class.ilPaymentBookings.php.
References $_SESSION, $data, $ilUser, $query, $res, $row, and __getVendorIds().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 887 of file class.ilPaymentBookings.php.
References $bookings, $ilDB, $query, $res, and $row.
Referenced by ilShopBoughtObjectsGUI\createBill().
Here is the caller graph for this function:
|
static |
Definition at line 621 of file class.ilPaymentBookings.php.
|
static |
Definition at line 641 of file class.ilPaymentBookings.php.
References $ilDB, $res, and $row.
Referenced by ilPaymentObjectGUI\deleteObject(), ilObjPaymentSettingsGUI\deleteObjectObject(), ilObjPaymentSettingsGUI\editDetailsObject(), and ilObjPaymentSettingsGUI\objectsObject().
Here is the caller graph for this function:
|
static |
Definition at line 604 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 658 of file class.ilPaymentBookings.php.
References $ilDB, $ilUser, $res, and $row.
Referenced by ilPaymentObject\_hasAccess(), and ilObjectListGUI\insertPayment().
Here is the caller graph for this function:
|
static |
Definition at line 1018 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 1034 of file class.ilPaymentBookings.php.
References $ilDB, $ilUser, $res, and $row.
Referenced by ilObjectListGUI\insertPayment().
Here is the caller graph for this function:
|
static |
Definition at line 952 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 421 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(), getPriceType(), getStreet(), getTransaction(), getTransactionExtern(), getVatRate(), getVatUnit(), getVendorId(), getVoucher(), getZipcode(), setAccessStartdate(), ilPaymentPrices\TYPE_DURATION_DATE, ilPaymentPrices\TYPE_DURATION_MONTH, and ilPaymentPrices\TYPE_UNLIMITED_DURATION.
Here is the call graph for this function:| ilPaymentBookings::delete | ( | ) |
Definition at line 541 of file class.ilPaymentBookings.php.
References getBookingId().
Here is the call graph for this function:| ilPaymentBookings::deleteAddressesByPaymethod | ( | $pay_method | ) |
Definition at line 936 of file class.ilPaymentBookings.php.
References $ilDB, and $pay_method.
| ilPaymentBookings::getAccessEnddate | ( | ) |
Definition at line 325 of file class.ilPaymentBookings.php.
References $access_enddate.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getAccessExtension | ( | ) |
Definition at line 334 of file class.ilPaymentBookings.php.
References $access_extension.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getAccessStartdate | ( | ) |
Definition at line 316 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 195 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 586 of file class.ilPaymentBookings.php.
| ilPaymentBookings::getBookingId | ( | ) |
Definition at line 85 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 581 of file class.ilPaymentBookings.php.
| ilPaymentBookings::getBookingsByPaymethod | ( | $pay_method | ) |
Definition at line 922 of file class.ilPaymentBookings.php.
References $ilDB, $pay_method, $res, and $row.
|
static |
Definition at line 556 of file class.ilPaymentBookings.php.
References $ilDB, $res, and $row.
Referenced by ilShopBoughtObjectsGUI\showBillHistory(), and ilShopBoughtObjectsGUI\showItems().
Here is the caller graph for this function:| ilPaymentBookings::getCity | ( | ) |
Definition at line 242 of file class.ilPaymentBookings.php.
References $city.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getCountry | ( | ) |
Definition at line 251 of file class.ilPaymentBookings.php.
References $country.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getCurrencyUnit | ( | ) |
Definition at line 307 of file class.ilPaymentBookings.php.
References $currency_unit.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getCustomerId | ( | ) |
Definition at line 109 of file class.ilPaymentBookings.php.
References $customer_id.
Referenced by __checkExtensionDependencies(), and add().
Here is the caller graph for this function:| ilPaymentBookings::getDiscount | ( | ) |
Definition at line 178 of file class.ilPaymentBookings.php.
References $discount.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getDistinctTransactions | ( | $a_user_id | ) |
Definition at line 905 of file class.ilPaymentBookings.php.
| ilPaymentBookings::getDuration | ( | ) |
Definition at line 141 of file class.ilPaymentBookings.php.
References $duration.
Referenced by __calculateAccessEnddate(), __checkExtensionDependencies(), and add().
Here is the caller graph for this function:| ilPaymentBookings::getEmailExtern | ( | ) |
Definition at line 290 of file class.ilPaymentBookings.php.
References $email_extern.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getNameExtern | ( | ) |
Definition at line 299 of file class.ilPaymentBookings.php.
References $name_extern.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getObjectTitle | ( | ) |
Definition at line 281 of file class.ilPaymentBookings.php.
References $object_title.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getOrderDate | ( | ) |
Definition at line 133 of file class.ilPaymentBookings.php.
References $order_date.
Referenced by __checkExtensionDependencies(), and add().
Here is the caller graph for this function:| ilPaymentBookings::getPayedStatus | ( | ) |
Definition at line 187 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 125 of file class.ilPaymentBookings.php.
References $pay_method.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getPobjectId | ( | ) |
Definition at line 101 of file class.ilPaymentBookings.php.
References $pobject_id.
Referenced by __checkExtensionDependencies(), and add().
Here is the caller graph for this function:| ilPaymentBookings::getPoBox | ( | ) |
Definition at line 225 of file class.ilPaymentBookings.php.
References $po_box.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getPrice | ( | ) |
Definition at line 169 of file class.ilPaymentBookings.php.
References $price.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getPriceType | ( | ) |
Definition at line 160 of file class.ilPaymentBookings.php.
References $price_type.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getStreet | ( | ) |
Definition at line 216 of file class.ilPaymentBookings.php.
References $street.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getTransaction | ( | ) |
Definition at line 93 of file class.ilPaymentBookings.php.
References $transaction.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getTransactionExtern | ( | ) |
Definition at line 211 of file class.ilPaymentBookings.php.
References $transaction_extern.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getUniqueTitles | ( | ) |
Definition at line 973 of file class.ilPaymentBookings.php.
References $data, $query, $res, $row, __getVendorIds(), and DB_FETCHMODE_OBJECT.
Here is the call graph for this function:| ilPaymentBookings::getUnlimitedDuration | ( | ) |
Definition at line 151 of file class.ilPaymentBookings.php.
References $unlimited_duration.
| ilPaymentBookings::getVatRate | ( | ) |
Definition at line 273 of file class.ilPaymentBookings.php.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getVatUnit | ( | ) |
Definition at line 264 of file class.ilPaymentBookings.php.
References $vat_unit.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getVendorId | ( | ) |
Definition at line 117 of file class.ilPaymentBookings.php.
References $vendor_id.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getVoucher | ( | ) |
Definition at line 203 of file class.ilPaymentBookings.php.
References $voucher.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::getZipcode | ( | ) |
Definition at line 234 of file class.ilPaymentBookings.php.
References $zipcode.
Referenced by add().
Here is the caller graph for this function:| ilPaymentBookings::setAccess | ( | $a_access | ) |
Definition at line 191 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setAccessEnddate | ( | $a_access_enddate | ) |
Definition at line 321 of file class.ilPaymentBookings.php.
Referenced by __calculateAccessEnddate().
Here is the caller graph for this function:| ilPaymentBookings::setAccessExtension | ( | $a_access_extension | ) |
Definition at line 330 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setAccessStartdate | ( | $a_access_startdate | ) |
Definition at line 312 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 81 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setCity | ( | $a_city | ) |
Definition at line 246 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setCountry | ( | $a_country | ) |
Definition at line 255 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setCurrencyUnit | ( | $a_currency_unit | ) |
Definition at line 303 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setCustomerId | ( | $a_customer_id | ) |
Definition at line 105 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setDiscount | ( | $a_discount | ) |
Definition at line 173 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setDuration | ( | $a_duration | ) |
Definition at line 137 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setEmailExtern | ( | $a_email_extern | ) |
Definition at line 286 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setNameExtern | ( | $a_name_extern | ) |
Definition at line 295 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setObjectTitle | ( | $a_object_title | ) |
Definition at line 277 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setOrderDate | ( | $a_order_date | ) |
Definition at line 129 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setPayed | ( | $a_payed | ) |
Definition at line 183 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setPayMethod | ( | $a_pay_method | ) |
Definition at line 121 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setPobjectId | ( | $a_pobject_id | ) |
Definition at line 97 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setPoBox | ( | $a_po_box | ) |
Definition at line 229 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setPrice | ( | $a_price | ) |
Definition at line 165 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setPriceType | ( | $a_price_type | ) |
Definition at line 156 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setStreet | ( | $a_street, | |
| $a_house_nr | |||
| ) |
Definition at line 220 of file class.ilPaymentBookings.php.
References $street.
| ilPaymentBookings::setTransaction | ( | $a_transaction | ) |
Definition at line 89 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setTransactionExtern | ( | $a_transaction_extern | ) |
Definition at line 207 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setUnlimitedDuration | ( | $a_unlimited_duration | ) |
Definition at line 145 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setVatRate | ( | $a_vat_rate | ) |
Definition at line 269 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setVatUnit | ( | $a_vat_unit | ) |
Definition at line 259 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setVendorId | ( | $a_vendor_id | ) |
Definition at line 113 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setVoucher | ( | $a_voucher | ) |
Definition at line 199 of file class.ilPaymentBookings.php.
| ilPaymentBookings::setZipcode | ( | $a_zipcode | ) |
Definition at line 238 of file class.ilPaymentBookings.php.
| ilPaymentBookings::update | ( | ) |
Definition at line 524 of file class.ilPaymentBookings.php.
References getAccessStatus(), getBookingId(), and getPayedStatus().
Here is the call graph for this function:| ilPaymentBookings::$access = null |
Definition at line 39 of file class.ilPaymentBookings.php.
Referenced by getAccessStatus().
| ilPaymentBookings::$access_enddate = null |
Definition at line 53 of file class.ilPaymentBookings.php.
Referenced by __calculateAccessEnddate(), and getAccessEnddate().
| ilPaymentBookings::$access_extension = false |
Definition at line 57 of file class.ilPaymentBookings.php.
Referenced by getAccessExtension().
| ilPaymentBookings::$access_startdate = null |
Definition at line 52 of file class.ilPaymentBookings.php.
Referenced by getAccessStartdate().
| ilPaymentBookings::$admin_view = false |
Definition at line 54 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 45 of file class.ilPaymentBookings.php.
Referenced by getCity().
| ilPaymentBookings::$country = null |
Definition at line 46 of file class.ilPaymentBookings.php.
Referenced by getCountry().
| ilPaymentBookings::$currency_unit = null |
Definition at line 50 of file class.ilPaymentBookings.php.
Referenced by getCurrencyUnit().
| ilPaymentBookings::$customer_id = null |
Definition at line 27 of file class.ilPaymentBookings.php.
Referenced by getCustomerId().
| ilPaymentBookings::$db = null |
Definition at line 20 of file class.ilPaymentBookings.php.
| ilPaymentBookings::$discount = 0 |
Definition at line 34 of file class.ilPaymentBookings.php.
Referenced by getDiscount().
| ilPaymentBookings::$duration = 0 |
Definition at line 31 of file class.ilPaymentBookings.php.
Referenced by __calculateAccessEnddate(), and getDuration().
| ilPaymentBookings::$email_extern = null |
Definition at line 48 of file class.ilPaymentBookings.php.
Referenced by getEmailExtern().
| ilPaymentBookings::$house_nr = null |
Definition at line 42 of file class.ilPaymentBookings.php.
| ilPaymentBookings::$name_extern = null |
Definition at line 49 of file class.ilPaymentBookings.php.
Referenced by getNameExtern().
| ilPaymentBookings::$object_title = null |
Definition at line 37 of file class.ilPaymentBookings.php.
Referenced by getObjectTitle().
| ilPaymentBookings::$order_date = null |
Definition at line 30 of file class.ilPaymentBookings.php.
Referenced by getOrderDate().
| ilPaymentBookings::$pay_method = null |
Definition at line 29 of file class.ilPaymentBookings.php.
Referenced by deleteAddressesByPaymethod(), getBookingsByPaymethod(), and getPayMethod().
| ilPaymentBookings::$payed = null |
Definition at line 38 of file class.ilPaymentBookings.php.
Referenced by getPayedStatus().
| ilPaymentBookings::$po_box = null |
Definition at line 43 of file class.ilPaymentBookings.php.
Referenced by getPoBox().
| ilPaymentBookings::$pobject_id = null |
Definition at line 26 of file class.ilPaymentBookings.php.
Referenced by getPobjectId().
| ilPaymentBookings::$price = 0 |
Definition at line 33 of file class.ilPaymentBookings.php.
Referenced by getPrice().
|
private |
Definition at line 55 of file class.ilPaymentBookings.php.
Referenced by getPriceType().
| ilPaymentBookings::$street = null |
Definition at line 41 of file class.ilPaymentBookings.php.
Referenced by getStreet(), and setStreet().
| ilPaymentBookings::$transaction = null |
Definition at line 25 of file class.ilPaymentBookings.php.
Referenced by getTransaction().
| ilPaymentBookings::$transaction_extern = null |
Definition at line 35 of file class.ilPaymentBookings.php.
Referenced by getTransactionExtern().
| ilPaymentBookings::$unlimited_duration = 0 |
Definition at line 32 of file class.ilPaymentBookings.php.
Referenced by getUnlimitedDuration().
| ilPaymentBookings::$user_id = null |
Definition at line 19 of file class.ilPaymentBookings.php.
Referenced by __getVendorIds(), and _readBookingByTransaction().
| ilPaymentBookings::$vat_unit = 0 |
Definition at line 36 of file class.ilPaymentBookings.php.
Referenced by getVatUnit().
| ilPaymentBookings::$vendor_id = null |
Definition at line 28 of file class.ilPaymentBookings.php.
Referenced by getVendorId().
| ilPaymentBookings::$voucher = null |
Definition at line 40 of file class.ilPaymentBookings.php.
Referenced by getVoucher().
| ilPaymentBookings::$zipcode = null |
Definition at line 44 of file class.ilPaymentBookings.php.
Referenced by getZipcode().