ILIAS
Release_4_1_x_branch Revision 61804
|
Private Member Functions | |
getVendorIds () |
Private Attributes | |
$db = null | |
$user_obj = null | |
$vendor_view = false | |
$coupons = array() | |
$current_coupon = array() | |
$codes = array() | |
$used_codes = array() | |
$objects = array() | |
$id = null | |
$coupon_user = null | |
$title = null | |
$description = null | |
$type = null | |
$value = null | |
$from = null | |
$till = null | |
$from_date_enabled = null | |
$till_date_enabled = null | |
$change_date = null | |
$uses = null | |
$search_title_type = null | |
$search_title_value = null | |
$search_type = null | |
$search_from_day = null | |
$search_from_month = null | |
$search_from_year = null | |
$search_till_day = null | |
$search_till_month = null | |
$search_till_year = null | |
$search_from_enabled = null | |
$search_till_enabled = null |
Definition at line 14 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::add | ( | ) |
Definition at line 421 of file class.ilPaymentCoupons.php.
References getChangeDate(), getCouponUser(), getDescription(), getFromDate(), getFromDateEnabled(), getTillDate(), getTillDateEnabled(), getTitle(), getType(), getUses(), and getValue().
ilPaymentCoupons::addCode | ( | $a_code, | |
$a_coupon_id | |||
) |
Definition at line 762 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::addCouponForBookingId | ( | $a_booking_id | ) |
Definition at line 782 of file class.ilPaymentCoupons.php.
References $current_coupon, and getCurrentCoupon().
ilPaymentCoupons::addTracking | ( | ) |
Definition at line 800 of file class.ilPaymentCoupons.php.
References $current_coupon, and getCurrentCoupon().
ilPaymentCoupons::assignObjectToCoupon | ( | $a_ref_id | ) |
Assigns an object to the current coupon.
public
Definition at line 853 of file class.ilPaymentCoupons.php.
References getId().
ilPaymentCoupons::checkCouponValidity | ( | ) |
Definition at line 671 of file class.ilPaymentCoupons.php.
References $res, $row, and getCurrentCoupon().
ilPaymentCoupons::delete | ( | ) |
Definition at line 522 of file class.ilPaymentCoupons.php.
References getId().
ilPaymentCoupons::deleteAllCodesByCouponId | ( | $a_coupon_id | ) |
Definition at line 732 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::deleteCode | ( | $a_code_id | ) |
Definition at line 719 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::getChangeDate | ( | ) |
Definition at line 308 of file class.ilPaymentCoupons.php.
References $change_date.
Referenced by add(), and update().
ilPaymentCoupons::getCode | ( | $a_code_id | ) |
Definition at line 745 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::getCodesByCouponId | ( | $a_coupon_id | ) |
Definition at line 593 of file class.ilPaymentCoupons.php.
References $codes, $res, and $row.
Referenced by getCoupons().
ilPaymentCoupons::getCouponBonus | ( | $a_item_price | ) |
Definition at line 559 of file class.ilPaymentCoupons.php.
References getCurrentCoupon().
ilPaymentCoupons::getCouponByCode | ( | $a_coupon_code | ) |
Definition at line 639 of file class.ilPaymentCoupons.php.
References $res, $row, getObjectsByCouponId(), setCurrentCoupon(), and setId().
ilPaymentCoupons::getCouponById | ( | $a_coupon_id | ) |
Definition at line 536 of file class.ilPaymentCoupons.php.
References $res, $row, setChangeDate(), setCouponUser(), setDescription(), setFromDate(), setFromDateEnabled(), setId(), setTillDate(), setTillDateEnabled(), setTitle(), setType(), setUses(), and setValue().
ilPaymentCoupons::getCoupons | ( | ) |
Definition at line 67 of file class.ilPaymentCoupons.php.
References $_SESSION, $coupons, $data, $from, $in, $query, $res, $row, $vendor, getCodesByCouponId(), getObjectsByCouponId(), getSearchTitleType(), getSearchTitleValue(), getSearchType(), getUsedCouponsByCouponId(), and getVendorIds().
ilPaymentCoupons::getCouponUser | ( | ) |
Definition at line 231 of file class.ilPaymentCoupons.php.
References $coupon_user.
Referenced by add(), and update().
ilPaymentCoupons::getCurrentCoupon | ( | ) |
Definition at line 416 of file class.ilPaymentCoupons.php.
References $current_coupon.
Referenced by addCouponForBookingId(), addTracking(), checkCouponValidity(), and getCouponBonus().
ilPaymentCoupons::getDescription | ( | ) |
Definition at line 247 of file class.ilPaymentCoupons.php.
References $description.
Referenced by add(), and update().
ilPaymentCoupons::getFromDate | ( | ) |
Definition at line 271 of file class.ilPaymentCoupons.php.
References $from.
Referenced by add(), and update().
ilPaymentCoupons::getFromDateEnabled | ( | ) |
Definition at line 288 of file class.ilPaymentCoupons.php.
References $from_date_enabled.
Referenced by add(), and update().
ilPaymentCoupons::getId | ( | ) |
Definition at line 223 of file class.ilPaymentCoupons.php.
References $id.
Referenced by assignObjectToCoupon(), delete(), isObjectAssignedToCoupon(), unassignObjectFromCoupon(), and update().
ilPaymentCoupons::getObjectsByCouponId | ( | $a_coupon_id | ) |
Definition at line 575 of file class.ilPaymentCoupons.php.
References $objects, $res, and $row.
Referenced by getCouponByCode(), and getCoupons().
ilPaymentCoupons::getSearchFromDateEnabled | ( | ) |
Definition at line 399 of file class.ilPaymentCoupons.php.
References $search_from_enabled.
ilPaymentCoupons::getSearchFromDay | ( | ) |
Definition at line 350 of file class.ilPaymentCoupons.php.
References $search_from_day.
ilPaymentCoupons::getSearchFromMonth | ( | ) |
Definition at line 359 of file class.ilPaymentCoupons.php.
References $search_from_month.
ilPaymentCoupons::getSearchFromYear | ( | ) |
Definition at line 367 of file class.ilPaymentCoupons.php.
References $search_from_year.
ilPaymentCoupons::getSearchTillDateEnabled | ( | ) |
Definition at line 407 of file class.ilPaymentCoupons.php.
References $search_till_enabled.
ilPaymentCoupons::getSearchTillDay | ( | ) |
Definition at line 375 of file class.ilPaymentCoupons.php.
References $search_till_day.
ilPaymentCoupons::getSearchTillMonth | ( | ) |
Definition at line 383 of file class.ilPaymentCoupons.php.
References $search_till_month.
ilPaymentCoupons::getSearchTillYear | ( | ) |
Definition at line 391 of file class.ilPaymentCoupons.php.
References $search_till_year.
ilPaymentCoupons::getSearchTitleType | ( | ) |
Definition at line 326 of file class.ilPaymentCoupons.php.
References $search_title_type.
Referenced by getCoupons().
ilPaymentCoupons::getSearchTitleValue | ( | ) |
Definition at line 334 of file class.ilPaymentCoupons.php.
References $search_title_value.
Referenced by getCoupons().
ilPaymentCoupons::getSearchType | ( | ) |
Definition at line 342 of file class.ilPaymentCoupons.php.
References $search_type.
Referenced by getCoupons().
ilPaymentCoupons::getTillDate | ( | ) |
Definition at line 279 of file class.ilPaymentCoupons.php.
References $till.
Referenced by add(), and update().
ilPaymentCoupons::getTillDateEnabled | ( | ) |
Definition at line 297 of file class.ilPaymentCoupons.php.
References $till_date_enabled.
Referenced by add(), and update().
ilPaymentCoupons::getTitle | ( | ) |
Definition at line 239 of file class.ilPaymentCoupons.php.
References $title.
Referenced by add(), and update().
ilPaymentCoupons::getType | ( | ) |
Definition at line 255 of file class.ilPaymentCoupons.php.
References $type.
Referenced by add(), and update().
ilPaymentCoupons::getUsedCouponsByCouponId | ( | $a_coupon_id | ) |
Definition at line 616 of file class.ilPaymentCoupons.php.
References $res, $row, and $used_codes.
Referenced by getCoupons().
ilPaymentCoupons::getUses | ( | ) |
Definition at line 316 of file class.ilPaymentCoupons.php.
References $uses.
Referenced by add(), and update().
ilPaymentCoupons::getValue | ( | ) |
Definition at line 263 of file class.ilPaymentCoupons.php.
References $value.
Referenced by add(), and update().
|
private |
Definition at line 182 of file class.ilPaymentCoupons.php.
References $t, ilPaymentTrustees\_getTrusteesForCouponsByVendorId(), ilPaymentTrustees\_getVendorsForCouponsByTrusteeId(), and ilPaymentVendors\_isVendor().
Referenced by getCoupons().
ilPaymentCoupons::ilPaymentCoupons | ( | $user_obj, | |
$a_vendor_view = false |
|||
) |
Definition at line 53 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::isObjectAssignedToCoupon | ( | $a_ref_id | ) |
Checks if an object is assigned to the current coupon.
public
Definition at line 829 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setChangeDate | ( | $a_date | ) |
Definition at line 301 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setCouponUser | ( | $a_user_id | ) |
Definition at line 227 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setCurrentCoupon | ( | $coupon = array() | ) |
Definition at line 412 of file class.ilPaymentCoupons.php.
Referenced by getCouponByCode().
ilPaymentCoupons::setDescription | ( | $a_description | ) |
Definition at line 243 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setFromDate | ( | $a_from | ) |
Definition at line 267 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setFromDateEnabled | ( | $a_from_date_enabled = 0 | ) |
Definition at line 283 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setId | ( | $a_id | ) |
Definition at line 219 of file class.ilPaymentCoupons.php.
Referenced by getCouponByCode(), and getCouponById().
ilPaymentCoupons::setSearchFromDateEnabled | ( | $a_from_enabled | ) |
Definition at line 395 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchFromDay | ( | $a_day | ) |
Definition at line 346 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchFromMonth | ( | $a_month | ) |
Definition at line 354 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchFromYear | ( | $a_year | ) |
Definition at line 363 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTillDateEnabled | ( | $a_till_enabled | ) |
Definition at line 403 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTillDay | ( | $a_day | ) |
Definition at line 371 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTillMonth | ( | $a_month | ) |
Definition at line 379 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTillYear | ( | $a_year | ) |
Definition at line 387 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTitleType | ( | $a_title_type | ) |
Definition at line 322 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTitleValue | ( | $a_title_value | ) |
Definition at line 330 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchType | ( | $a_type | ) |
Definition at line 338 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setTillDate | ( | $a_till | ) |
Definition at line 275 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setTillDateEnabled | ( | $a_till_date_enabled = 0 | ) |
Definition at line 292 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setTitle | ( | $a_title | ) |
Definition at line 235 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setType | ( | $a_type | ) |
Definition at line 251 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setUses | ( | $a_uses | ) |
Definition at line 312 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setValue | ( | $a_value | ) |
Definition at line 259 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::unassignObjectFromCoupon | ( | $a_ref_id | ) |
Unassigns an object from the current coupon.
public
Definition at line 876 of file class.ilPaymentCoupons.php.
References getId().
ilPaymentCoupons::update | ( | ) |
Definition at line 473 of file class.ilPaymentCoupons.php.
References getChangeDate(), getCouponUser(), getDescription(), getFromDate(), getFromDateEnabled(), getId(), getTillDate(), getTillDateEnabled(), getTitle(), getType(), getUses(), and getValue().
|
private |
Definition at line 37 of file class.ilPaymentCoupons.php.
Referenced by getChangeDate().
|
private |
Definition at line 23 of file class.ilPaymentCoupons.php.
Referenced by getCodesByCouponId().
|
private |
Definition at line 28 of file class.ilPaymentCoupons.php.
Referenced by getCouponUser().
|
private |
Definition at line 21 of file class.ilPaymentCoupons.php.
Referenced by getCoupons().
|
private |
Definition at line 22 of file class.ilPaymentCoupons.php.
Referenced by addCouponForBookingId(), addTracking(), and getCurrentCoupon().
|
private |
Definition at line 16 of file class.ilPaymentCoupons.php.
|
private |
Definition at line 30 of file class.ilPaymentCoupons.php.
Referenced by getDescription().
|
private |
Definition at line 33 of file class.ilPaymentCoupons.php.
Referenced by getCoupons(), and getFromDate().
|
private |
Definition at line 35 of file class.ilPaymentCoupons.php.
Referenced by getFromDateEnabled().
|
private |
Definition at line 27 of file class.ilPaymentCoupons.php.
Referenced by getId().
|
private |
Definition at line 25 of file class.ilPaymentCoupons.php.
Referenced by getObjectsByCouponId().
|
private |
Definition at line 42 of file class.ilPaymentCoupons.php.
Referenced by getSearchFromDay().
|
private |
Definition at line 48 of file class.ilPaymentCoupons.php.
Referenced by getSearchFromDateEnabled().
|
private |
Definition at line 43 of file class.ilPaymentCoupons.php.
Referenced by getSearchFromMonth().
|
private |
Definition at line 44 of file class.ilPaymentCoupons.php.
Referenced by getSearchFromYear().
|
private |
Definition at line 45 of file class.ilPaymentCoupons.php.
Referenced by getSearchTillDay().
|
private |
Definition at line 49 of file class.ilPaymentCoupons.php.
Referenced by getSearchTillDateEnabled().
|
private |
Definition at line 46 of file class.ilPaymentCoupons.php.
Referenced by getSearchTillMonth().
|
private |
Definition at line 47 of file class.ilPaymentCoupons.php.
Referenced by getSearchTillYear().
|
private |
Definition at line 39 of file class.ilPaymentCoupons.php.
Referenced by getSearchTitleType().
|
private |
Definition at line 40 of file class.ilPaymentCoupons.php.
Referenced by getSearchTitleValue().
|
private |
Definition at line 41 of file class.ilPaymentCoupons.php.
Referenced by getSearchType().
|
private |
Definition at line 34 of file class.ilPaymentCoupons.php.
Referenced by getTillDate().
|
private |
Definition at line 36 of file class.ilPaymentCoupons.php.
Referenced by getTillDateEnabled().
|
private |
Definition at line 29 of file class.ilPaymentCoupons.php.
Referenced by getTitle().
|
private |
Definition at line 31 of file class.ilPaymentCoupons.php.
Referenced by getType().
|
private |
Definition at line 24 of file class.ilPaymentCoupons.php.
Referenced by getUsedCouponsByCouponId().
|
private |
Definition at line 18 of file class.ilPaymentCoupons.php.
Referenced by ilPaymentCoupons().
|
private |
Definition at line 38 of file class.ilPaymentCoupons.php.
Referenced by getUses().
|
private |
Definition at line 32 of file class.ilPaymentCoupons.php.
Referenced by getValue().
|
private |
Definition at line 19 of file class.ilPaymentCoupons.php.