ILIAS
Release_4_4_x_branch Revision 61816
|
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 __read(), and ilPaymentSettings\_getInstance().
|
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().
|
private |
Definition at line 339 of file class.ilPaymentBookings.php.
References __calculateAccessEnddate(), getCustomerId(), getDuration(), getOrderDate(), getPobjectId(), and setAccessStartdate().
Referenced by add().
ilPaymentBookings::__getVendorIds | ( | ) |
Definition at line 865 of file class.ilPaymentBookings.php.
References $user_id, ilPaymentTrustees\_getVendorsForStatisticsByTrusteeId(), and ilPaymentTrustees\_hasStatisticPermissionByVendor().
Referenced by __read(), and getUniqueTitles().
ilPaymentBookings::__read | ( | ) |
Definition at line 720 of file class.ilPaymentBookings.php.
References $_SESSION, $ilUser, $query, $res, $row, and __getVendorIds().
Referenced by __construct().
|
static |
Definition at line 888 of file class.ilPaymentBookings.php.
References $bookings, $query, $res, and $row.
Referenced by ilShopBoughtObjectsGUI\createBill().
|
static |
Definition at line 622 of file class.ilPaymentBookings.php.
|
static |
Definition at line 642 of file class.ilPaymentBookings.php.
Referenced by ilPaymentObjectGUI\deleteObject(), ilObjPaymentSettingsGUI\deleteObjectObject(), ilObjPaymentSettingsGUI\editDetailsObject(), and ilObjPaymentSettingsGUI\objectsObject().
|
static |
Definition at line 605 of file class.ilPaymentBookings.php.
Referenced by ilObjPaymentSettingsGUI\deleteVendorsObject(), and ilObjPaymentSettingsGUI\vendorsObject().
|
static |
Definition at line 659 of file class.ilPaymentBookings.php.
References $ilUser, $res, $row, and $usr_id.
Referenced by ilPaymentObject\_hasAccess(), and ilObjectListGUI\insertPayment().
|
static |
Definition at line 1019 of file class.ilPaymentBookings.php.
Referenced by ilShopPurchaseGUI\showDetails().
|
static |
Definition at line 1035 of file class.ilPaymentBookings.php.
References $ilUser, $res, and $row.
Referenced by ilObjectListGUI\insertPayment().
|
static |
Definition at line 953 of file class.ilPaymentBookings.php.
References $res, $row, and $user_id.
Referenced by ilObjFileGUI\executeCommand().
ilPaymentBookings::add | ( | ) |
Definition at line 422 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.
ilPaymentBookings::delete | ( | ) |
Definition at line 542 of file class.ilPaymentBookings.php.
References getBookingId().
ilPaymentBookings::deleteAddressesByPaymethod | ( | $pay_method | ) |
Definition at line 937 of file class.ilPaymentBookings.php.
References $pay_method.
ilPaymentBookings::getAccessEnddate | ( | ) |
Definition at line 325 of file class.ilPaymentBookings.php.
References $access_enddate.
Referenced by add().
ilPaymentBookings::getAccessExtension | ( | ) |
Definition at line 334 of file class.ilPaymentBookings.php.
References $access_extension.
Referenced by add().
ilPaymentBookings::getAccessStartdate | ( | ) |
Definition at line 316 of file class.ilPaymentBookings.php.
References $access_startdate.
Referenced by __calculateAccessEnddate(), and add().
ilPaymentBookings::getAccessStatus | ( | ) |
Definition at line 195 of file class.ilPaymentBookings.php.
References $access.
Referenced by add(), and update().
ilPaymentBookings::getBooking | ( | $a_booking_id | ) |
Definition at line 587 of file class.ilPaymentBookings.php.
ilPaymentBookings::getBookingId | ( | ) |
Definition at line 85 of file class.ilPaymentBookings.php.
References $booking_id.
Referenced by delete(), and update().
ilPaymentBookings::getBookings | ( | ) |
Definition at line 582 of file class.ilPaymentBookings.php.
ilPaymentBookings::getBookingsByPaymethod | ( | $pay_method | ) |
Definition at line 923 of file class.ilPaymentBookings.php.
References $pay_method, $res, and $row.
|
static |
Definition at line 557 of file class.ilPaymentBookings.php.
Referenced by ilShopBoughtObjectsGUI\showItems().
ilPaymentBookings::getCity | ( | ) |
Definition at line 242 of file class.ilPaymentBookings.php.
References $city.
Referenced by add().
ilPaymentBookings::getCountry | ( | ) |
Definition at line 251 of file class.ilPaymentBookings.php.
References $country.
Referenced by add().
ilPaymentBookings::getCurrencyUnit | ( | ) |
Definition at line 307 of file class.ilPaymentBookings.php.
References $currency_unit.
Referenced by add().
ilPaymentBookings::getCustomerId | ( | ) |
Definition at line 109 of file class.ilPaymentBookings.php.
References $customer_id.
Referenced by __checkExtensionDependencies(), and add().
ilPaymentBookings::getDiscount | ( | ) |
Definition at line 178 of file class.ilPaymentBookings.php.
References $discount.
Referenced by add().
ilPaymentBookings::getDistinctTransactions | ( | $a_user_id | ) |
ilPaymentBookings::getDuration | ( | ) |
Definition at line 141 of file class.ilPaymentBookings.php.
References $duration.
Referenced by __calculateAccessEnddate(), __checkExtensionDependencies(), and add().
ilPaymentBookings::getEmailExtern | ( | ) |
Definition at line 290 of file class.ilPaymentBookings.php.
References $email_extern.
Referenced by add().
ilPaymentBookings::getNameExtern | ( | ) |
Definition at line 299 of file class.ilPaymentBookings.php.
References $name_extern.
Referenced by add().
ilPaymentBookings::getObjectTitle | ( | ) |
Definition at line 281 of file class.ilPaymentBookings.php.
References $object_title.
Referenced by add().
ilPaymentBookings::getOrderDate | ( | ) |
Definition at line 133 of file class.ilPaymentBookings.php.
References $order_date.
Referenced by __checkExtensionDependencies(), and add().
ilPaymentBookings::getPayedStatus | ( | ) |
Definition at line 187 of file class.ilPaymentBookings.php.
References $payed.
Referenced by add(), and update().
ilPaymentBookings::getPayMethod | ( | ) |
Definition at line 125 of file class.ilPaymentBookings.php.
References $pay_method.
Referenced by add().
ilPaymentBookings::getPobjectId | ( | ) |
Definition at line 101 of file class.ilPaymentBookings.php.
References $pobject_id.
Referenced by __checkExtensionDependencies(), and add().
ilPaymentBookings::getPoBox | ( | ) |
Definition at line 225 of file class.ilPaymentBookings.php.
References $po_box.
Referenced by add().
ilPaymentBookings::getPrice | ( | ) |
Definition at line 169 of file class.ilPaymentBookings.php.
References $price.
Referenced by add().
ilPaymentBookings::getPriceType | ( | ) |
Definition at line 160 of file class.ilPaymentBookings.php.
References $price_type.
Referenced by add().
ilPaymentBookings::getStreet | ( | ) |
Definition at line 216 of file class.ilPaymentBookings.php.
References $street.
Referenced by add().
ilPaymentBookings::getTransaction | ( | ) |
Definition at line 93 of file class.ilPaymentBookings.php.
References $transaction.
Referenced by add().
ilPaymentBookings::getTransactionExtern | ( | ) |
Definition at line 211 of file class.ilPaymentBookings.php.
References $transaction_extern.
Referenced by add().
ilPaymentBookings::getUniqueTitles | ( | ) |
Definition at line 974 of file class.ilPaymentBookings.php.
References $query, $res, $row, __getVendorIds(), and DB_FETCHMODE_OBJECT.
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().
ilPaymentBookings::getVatUnit | ( | ) |
Definition at line 264 of file class.ilPaymentBookings.php.
References $vat_unit.
Referenced by add().
ilPaymentBookings::getVendorId | ( | ) |
Definition at line 117 of file class.ilPaymentBookings.php.
References $vendor_id.
Referenced by add().
ilPaymentBookings::getVoucher | ( | ) |
Definition at line 203 of file class.ilPaymentBookings.php.
References $voucher.
Referenced by add().
ilPaymentBookings::getZipcode | ( | ) |
Definition at line 234 of file class.ilPaymentBookings.php.
References $zipcode.
Referenced by add().
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().
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().
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.
Referenced by ilPurchase\purchase().
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 525 of file class.ilPaymentBookings.php.
References getAccessStatus(), getBookingId(), and getPayedStatus().
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().