ILIAS
Release_4_0_x_branch Revision 61816
|
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 12 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::add | ( | ) |
Definition at line 463 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 804 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::addCouponForBookingId | ( | $a_booking_id | ) |
Definition at line 824 of file class.ilPaymentCoupons.php.
References $current_coupon, and getCurrentCoupon().
ilPaymentCoupons::addTracking | ( | ) |
Definition at line 844 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 897 of file class.ilPaymentCoupons.php.
References getId().
ilPaymentCoupons::checkCouponValidity | ( | ) |
Definition at line 713 of file class.ilPaymentCoupons.php.
References $res, $row, and getCurrentCoupon().
ilPaymentCoupons::delete | ( | ) |
Definition at line 564 of file class.ilPaymentCoupons.php.
References getId().
ilPaymentCoupons::deleteAllCodesByCouponId | ( | $a_coupon_id | ) |
Definition at line 774 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::deleteCode | ( | $a_code_id | ) |
Definition at line 761 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::getChangeDate | ( | ) |
Definition at line 350 of file class.ilPaymentCoupons.php.
References $change_date.
Referenced by add(), and update().
ilPaymentCoupons::getCode | ( | $a_code_id | ) |
Definition at line 787 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::getCodesByCouponId | ( | $a_coupon_id | ) |
Definition at line 635 of file class.ilPaymentCoupons.php.
References $codes, $res, and $row.
Referenced by getCoupons().
ilPaymentCoupons::getCouponBonus | ( | $a_item_price | ) |
Definition at line 601 of file class.ilPaymentCoupons.php.
References getCurrentCoupon().
ilPaymentCoupons::getCouponByCode | ( | $a_coupon_code | ) |
Definition at line 681 of file class.ilPaymentCoupons.php.
References $res, $row, getObjectsByCouponId(), setCurrentCoupon(), and setId().
ilPaymentCoupons::getCouponById | ( | $a_coupon_id | ) |
Definition at line 578 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 65 of file class.ilPaymentCoupons.php.
References $coupons, $data, $from, $in, $query, $res, $row, $till, $vendor, getCodesByCouponId(), getObjectsByCouponId(), getSearchFromDateEnabled(), getSearchFromDay(), getSearchFromMonth(), getSearchFromYear(), getSearchTillDateEnabled(), getSearchTillDay(), getSearchTillMonth(), getSearchTillYear(), getSearchTitleType(), getSearchTitleValue(), getSearchType(), getUsedCouponsByCouponId(), and getVendorIds().
ilPaymentCoupons::getCouponUser | ( | ) |
Definition at line 273 of file class.ilPaymentCoupons.php.
References $coupon_user.
Referenced by add(), and update().
ilPaymentCoupons::getCurrentCoupon | ( | ) |
Definition at line 458 of file class.ilPaymentCoupons.php.
References $current_coupon.
Referenced by addCouponForBookingId(), addTracking(), checkCouponValidity(), and getCouponBonus().
ilPaymentCoupons::getDescription | ( | ) |
Definition at line 289 of file class.ilPaymentCoupons.php.
References $description.
Referenced by add(), and update().
ilPaymentCoupons::getFromDate | ( | ) |
Definition at line 313 of file class.ilPaymentCoupons.php.
References $from.
Referenced by add(), and update().
ilPaymentCoupons::getFromDateEnabled | ( | ) |
Definition at line 330 of file class.ilPaymentCoupons.php.
References $from_date_enabled.
Referenced by add(), and update().
ilPaymentCoupons::getId | ( | ) |
Definition at line 265 of file class.ilPaymentCoupons.php.
References $id.
Referenced by assignObjectToCoupon(), delete(), isObjectAssignedToCoupon(), unassignObjectFromCoupon(), and update().
ilPaymentCoupons::getObjectsByCouponId | ( | $a_coupon_id | ) |
Definition at line 617 of file class.ilPaymentCoupons.php.
References $objects, $res, and $row.
Referenced by getCouponByCode(), and getCoupons().
ilPaymentCoupons::getSearchFromDateEnabled | ( | ) |
Definition at line 441 of file class.ilPaymentCoupons.php.
References $search_from_enabled.
Referenced by getCoupons().
ilPaymentCoupons::getSearchFromDay | ( | ) |
Definition at line 392 of file class.ilPaymentCoupons.php.
References $search_from_day.
Referenced by getCoupons().
ilPaymentCoupons::getSearchFromMonth | ( | ) |
Definition at line 401 of file class.ilPaymentCoupons.php.
References $search_from_month.
Referenced by getCoupons().
ilPaymentCoupons::getSearchFromYear | ( | ) |
Definition at line 409 of file class.ilPaymentCoupons.php.
References $search_from_year.
Referenced by getCoupons().
ilPaymentCoupons::getSearchTillDateEnabled | ( | ) |
Definition at line 449 of file class.ilPaymentCoupons.php.
References $search_till_enabled.
Referenced by getCoupons().
ilPaymentCoupons::getSearchTillDay | ( | ) |
Definition at line 417 of file class.ilPaymentCoupons.php.
References $search_till_day.
Referenced by getCoupons().
ilPaymentCoupons::getSearchTillMonth | ( | ) |
Definition at line 425 of file class.ilPaymentCoupons.php.
References $search_till_month.
Referenced by getCoupons().
ilPaymentCoupons::getSearchTillYear | ( | ) |
Definition at line 433 of file class.ilPaymentCoupons.php.
References $search_till_year.
Referenced by getCoupons().
ilPaymentCoupons::getSearchTitleType | ( | ) |
Definition at line 368 of file class.ilPaymentCoupons.php.
References $search_title_type.
Referenced by getCoupons().
ilPaymentCoupons::getSearchTitleValue | ( | ) |
Definition at line 376 of file class.ilPaymentCoupons.php.
References $search_title_value.
Referenced by getCoupons().
ilPaymentCoupons::getSearchType | ( | ) |
Definition at line 384 of file class.ilPaymentCoupons.php.
References $search_type.
Referenced by getCoupons().
ilPaymentCoupons::getTillDate | ( | ) |
Definition at line 321 of file class.ilPaymentCoupons.php.
References $till.
Referenced by add(), and update().
ilPaymentCoupons::getTillDateEnabled | ( | ) |
Definition at line 339 of file class.ilPaymentCoupons.php.
References $till_date_enabled.
Referenced by add(), and update().
ilPaymentCoupons::getTitle | ( | ) |
Definition at line 281 of file class.ilPaymentCoupons.php.
References $title.
Referenced by add(), and update().
ilPaymentCoupons::getType | ( | ) |
Definition at line 297 of file class.ilPaymentCoupons.php.
References $type.
Referenced by add(), and update().
ilPaymentCoupons::getUsedCouponsByCouponId | ( | $a_coupon_id | ) |
Definition at line 658 of file class.ilPaymentCoupons.php.
References $res, $row, and $used_codes.
Referenced by getCoupons().
ilPaymentCoupons::getUses | ( | ) |
Definition at line 358 of file class.ilPaymentCoupons.php.
References $uses.
Referenced by add(), and update().
ilPaymentCoupons::getValue | ( | ) |
Definition at line 305 of file class.ilPaymentCoupons.php.
References $value.
Referenced by add(), and update().
|
private |
Definition at line 224 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 51 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::isObjectAssignedToCoupon | ( | $a_ref_id | ) |
Checks if an object is assigned to the current coupon.
public
Definition at line 873 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setChangeDate | ( | $a_date | ) |
Definition at line 343 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setCouponUser | ( | $a_user_id | ) |
Definition at line 269 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setCurrentCoupon | ( | $coupon = array() | ) |
Definition at line 454 of file class.ilPaymentCoupons.php.
Referenced by getCouponByCode().
ilPaymentCoupons::setDescription | ( | $a_description | ) |
Definition at line 285 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setFromDate | ( | $a_from | ) |
Definition at line 309 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setFromDateEnabled | ( | $a_from_date_enabled = 0 | ) |
Definition at line 325 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setId | ( | $a_id | ) |
Definition at line 261 of file class.ilPaymentCoupons.php.
Referenced by getCouponByCode(), and getCouponById().
ilPaymentCoupons::setSearchFromDateEnabled | ( | $a_from_enabled | ) |
Definition at line 437 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchFromDay | ( | $a_day | ) |
Definition at line 388 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchFromMonth | ( | $a_month | ) |
Definition at line 396 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchFromYear | ( | $a_year | ) |
Definition at line 405 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTillDateEnabled | ( | $a_till_enabled | ) |
Definition at line 445 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTillDay | ( | $a_day | ) |
Definition at line 413 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTillMonth | ( | $a_month | ) |
Definition at line 421 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTillYear | ( | $a_year | ) |
Definition at line 429 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTitleType | ( | $a_title_type | ) |
Definition at line 364 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTitleValue | ( | $a_title_value | ) |
Definition at line 372 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchType | ( | $a_type | ) |
Definition at line 380 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setTillDate | ( | $a_till | ) |
Definition at line 317 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setTillDateEnabled | ( | $a_till_date_enabled = 0 | ) |
Definition at line 334 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setTitle | ( | $a_title | ) |
Definition at line 277 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setType | ( | $a_type | ) |
Definition at line 293 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setUses | ( | $a_uses | ) |
Definition at line 354 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setValue | ( | $a_value | ) |
Definition at line 301 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::unassignObjectFromCoupon | ( | $a_ref_id | ) |
Unassigns an object from the current coupon.
public
Definition at line 920 of file class.ilPaymentCoupons.php.
References getId().
ilPaymentCoupons::update | ( | ) |
Definition at line 515 of file class.ilPaymentCoupons.php.
References getChangeDate(), getCouponUser(), getDescription(), getFromDate(), getFromDateEnabled(), getId(), getTillDate(), getTillDateEnabled(), getTitle(), getType(), getUses(), and getValue().
|
private |
Definition at line 35 of file class.ilPaymentCoupons.php.
Referenced by getChangeDate().
|
private |
Definition at line 21 of file class.ilPaymentCoupons.php.
Referenced by getCodesByCouponId().
|
private |
Definition at line 26 of file class.ilPaymentCoupons.php.
Referenced by getCouponUser().
|
private |
Definition at line 19 of file class.ilPaymentCoupons.php.
Referenced by getCoupons().
|
private |
Definition at line 20 of file class.ilPaymentCoupons.php.
Referenced by addCouponForBookingId(), addTracking(), and getCurrentCoupon().
|
private |
Definition at line 14 of file class.ilPaymentCoupons.php.
|
private |
Definition at line 28 of file class.ilPaymentCoupons.php.
Referenced by getDescription().
|
private |
Definition at line 31 of file class.ilPaymentCoupons.php.
Referenced by getCoupons(), and getFromDate().
|
private |
Definition at line 33 of file class.ilPaymentCoupons.php.
Referenced by getFromDateEnabled().
|
private |
Definition at line 25 of file class.ilPaymentCoupons.php.
Referenced by getId().
|
private |
Definition at line 23 of file class.ilPaymentCoupons.php.
Referenced by getObjectsByCouponId().
|
private |
Definition at line 40 of file class.ilPaymentCoupons.php.
Referenced by getSearchFromDay().
|
private |
Definition at line 46 of file class.ilPaymentCoupons.php.
Referenced by getSearchFromDateEnabled().
|
private |
Definition at line 41 of file class.ilPaymentCoupons.php.
Referenced by getSearchFromMonth().
|
private |
Definition at line 42 of file class.ilPaymentCoupons.php.
Referenced by getSearchFromYear().
|
private |
Definition at line 43 of file class.ilPaymentCoupons.php.
Referenced by getSearchTillDay().
|
private |
Definition at line 47 of file class.ilPaymentCoupons.php.
Referenced by getSearchTillDateEnabled().
|
private |
Definition at line 44 of file class.ilPaymentCoupons.php.
Referenced by getSearchTillMonth().
|
private |
Definition at line 45 of file class.ilPaymentCoupons.php.
Referenced by getSearchTillYear().
|
private |
Definition at line 37 of file class.ilPaymentCoupons.php.
Referenced by getSearchTitleType().
|
private |
Definition at line 38 of file class.ilPaymentCoupons.php.
Referenced by getSearchTitleValue().
|
private |
Definition at line 39 of file class.ilPaymentCoupons.php.
Referenced by getSearchType().
|
private |
Definition at line 32 of file class.ilPaymentCoupons.php.
Referenced by getCoupons(), and getTillDate().
|
private |
Definition at line 34 of file class.ilPaymentCoupons.php.
Referenced by getTillDateEnabled().
|
private |
Definition at line 27 of file class.ilPaymentCoupons.php.
Referenced by getTitle().
|
private |
Definition at line 29 of file class.ilPaymentCoupons.php.
Referenced by getType().
|
private |
Definition at line 22 of file class.ilPaymentCoupons.php.
Referenced by getUsedCouponsByCouponId().
|
private |
Definition at line 16 of file class.ilPaymentCoupons.php.
Referenced by ilPaymentCoupons().
|
private |
Definition at line 36 of file class.ilPaymentCoupons.php.
Referenced by getUses().
|
private |
Definition at line 30 of file class.ilPaymentCoupons.php.
Referenced by getValue().
|
private |
Definition at line 17 of file class.ilPaymentCoupons.php.