ILIAS
Release_3_10_x_branch Revision 61812
|
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() |
Definition at line 12 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::add | ( | ) |
Definition at line 370 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::addCode | ( | $a_code, | |
$a_coupon_id | |||
) |
Definition at line 652 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::addCouponForBookingId | ( | $a_booking_id | ) |
Definition at line 669 of file class.ilPaymentCoupons.php.
References $current_coupon, and getCurrentCoupon().
ilPaymentCoupons::addTracking | ( | ) |
Definition at line 689 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 739 of file class.ilPaymentCoupons.php.
References getId().
ilPaymentCoupons::checkCouponValidity | ( | ) |
Definition at line 562 of file class.ilPaymentCoupons.php.
References $res, DB_FETCHMODE_OBJECT, and getCurrentCoupon().
ilPaymentCoupons::delete | ( | ) |
Definition at line 418 of file class.ilPaymentCoupons.php.
References getId().
ilPaymentCoupons::deleteAllCodesByCouponId | ( | $a_coupon_id | ) |
Definition at line 622 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::deleteCode | ( | $a_code_id | ) |
Definition at line 609 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::getChangeDate | ( | ) |
Definition at line 257 of file class.ilPaymentCoupons.php.
Referenced by update().
ilPaymentCoupons::getCode | ( | $a_code_id | ) |
Definition at line 635 of file class.ilPaymentCoupons.php.
References $res, and DB_FETCHMODE_OBJECT.
ilPaymentCoupons::getCodesByCouponId | ( | $a_coupon_id | ) |
Definition at line 487 of file class.ilPaymentCoupons.php.
References $codes, $res, and DB_FETCHMODE_OBJECT.
Referenced by getCoupons().
ilPaymentCoupons::getCouponBonus | ( | $a_item_price | ) |
Definition at line 456 of file class.ilPaymentCoupons.php.
References getCurrentCoupon().
ilPaymentCoupons::getCouponByCode | ( | $a_coupon_code | ) |
Definition at line 531 of file class.ilPaymentCoupons.php.
References $res, DB_FETCHMODE_OBJECT, getObjectsByCouponId(), setCurrentCoupon(), and setId().
ilPaymentCoupons::getCouponById | ( | $a_coupon_id | ) |
Definition at line 431 of file class.ilPaymentCoupons.php.
References $res, DB_FETCHMODE_OBJECT, setChangeDate(), setCouponUser(), setDescription(), setFromDate(), setFromDateEnabled(), setId(), setTillDate(), setTillDateEnabled(), setTitle(), setType(), setUses(), and setValue().
ilPaymentCoupons::getCoupons | ( | ) |
Definition at line 39 of file class.ilPaymentCoupons.php.
References $coupons, $in, $res, DB_FETCHMODE_OBJECT, getCodesByCouponId(), getObjectsByCouponId(), getSearchFromDateEnabled(), getSearchFromDay(), getSearchFromMonth(), getSearchFromYear(), getSearchTillDateEnabled(), getSearchTillDay(), getSearchTillMonth(), getSearchTillYear(), getSearchTitleType(), getSearchTitleValue(), getSearchType(), getUsedCouponsByCouponId(), and getVendorIds().
ilPaymentCoupons::getCouponUser | ( | ) |
Definition at line 185 of file class.ilPaymentCoupons.php.
Referenced by update().
ilPaymentCoupons::getCurrentCoupon | ( | ) |
Definition at line 365 of file class.ilPaymentCoupons.php.
References $current_coupon.
Referenced by addCouponForBookingId(), addTracking(), checkCouponValidity(), and getCouponBonus().
ilPaymentCoupons::getDescription | ( | ) |
Definition at line 201 of file class.ilPaymentCoupons.php.
Referenced by update().
ilPaymentCoupons::getFromDate | ( | ) |
Definition at line 225 of file class.ilPaymentCoupons.php.
Referenced by update().
ilPaymentCoupons::getFromDateEnabled | ( | ) |
Definition at line 241 of file class.ilPaymentCoupons.php.
Referenced by update().
ilPaymentCoupons::getId | ( | ) |
Definition at line 177 of file class.ilPaymentCoupons.php.
Referenced by assignObjectToCoupon(), delete(), isObjectAssignedToCoupon(), unassignObjectFromCoupon(), and update().
ilPaymentCoupons::getObjectsByCouponId | ( | $a_coupon_id | ) |
Definition at line 472 of file class.ilPaymentCoupons.php.
References $objects, $res, and DB_FETCHMODE_OBJECT.
Referenced by getCouponByCode(), and getCoupons().
ilPaymentCoupons::getSearchFromDateEnabled | ( | ) |
Definition at line 347 of file class.ilPaymentCoupons.php.
Referenced by getCoupons().
ilPaymentCoupons::getSearchFromDay | ( | ) |
Definition at line 299 of file class.ilPaymentCoupons.php.
Referenced by getCoupons().
ilPaymentCoupons::getSearchFromMonth | ( | ) |
Definition at line 307 of file class.ilPaymentCoupons.php.
Referenced by getCoupons().
ilPaymentCoupons::getSearchFromYear | ( | ) |
Definition at line 315 of file class.ilPaymentCoupons.php.
Referenced by getCoupons().
ilPaymentCoupons::getSearchTillDateEnabled | ( | ) |
Definition at line 355 of file class.ilPaymentCoupons.php.
Referenced by getCoupons().
ilPaymentCoupons::getSearchTillDay | ( | ) |
Definition at line 323 of file class.ilPaymentCoupons.php.
Referenced by getCoupons().
ilPaymentCoupons::getSearchTillMonth | ( | ) |
Definition at line 331 of file class.ilPaymentCoupons.php.
Referenced by getCoupons().
ilPaymentCoupons::getSearchTillYear | ( | ) |
Definition at line 339 of file class.ilPaymentCoupons.php.
Referenced by getCoupons().
ilPaymentCoupons::getSearchTitleType | ( | ) |
Definition at line 275 of file class.ilPaymentCoupons.php.
Referenced by getCoupons().
ilPaymentCoupons::getSearchTitleValue | ( | ) |
Definition at line 283 of file class.ilPaymentCoupons.php.
Referenced by getCoupons().
ilPaymentCoupons::getSearchType | ( | ) |
Definition at line 291 of file class.ilPaymentCoupons.php.
Referenced by getCoupons().
ilPaymentCoupons::getTillDate | ( | ) |
Definition at line 233 of file class.ilPaymentCoupons.php.
Referenced by update().
ilPaymentCoupons::getTillDateEnabled | ( | ) |
Definition at line 249 of file class.ilPaymentCoupons.php.
Referenced by update().
ilPaymentCoupons::getTitle | ( | ) |
Definition at line 193 of file class.ilPaymentCoupons.php.
References $title.
Referenced by update().
ilPaymentCoupons::getType | ( | ) |
Definition at line 209 of file class.ilPaymentCoupons.php.
Referenced by update().
ilPaymentCoupons::getUsedCouponsByCouponId | ( | $a_coupon_id | ) |
Definition at line 508 of file class.ilPaymentCoupons.php.
References $res, $used_codes, and DB_FETCHMODE_OBJECT.
Referenced by getCoupons().
ilPaymentCoupons::getUses | ( | ) |
Definition at line 265 of file class.ilPaymentCoupons.php.
Referenced by update().
ilPaymentCoupons::getValue | ( | ) |
Definition at line 217 of file class.ilPaymentCoupons.php.
Referenced by update().
|
private |
Definition at line 136 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 25 of file class.ilPaymentCoupons.php.
References $user_obj.
ilPaymentCoupons::isObjectAssignedToCoupon | ( | $a_ref_id | ) |
Checks if an object is assigned to the current coupon.
public
Definition at line 714 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setChangeDate | ( | $a_date | ) |
Definition at line 253 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setCouponUser | ( | $a_user_id | ) |
Definition at line 181 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setCurrentCoupon | ( | $coupon = array() | ) |
Definition at line 361 of file class.ilPaymentCoupons.php.
Referenced by getCouponByCode().
ilPaymentCoupons::setDescription | ( | $a_description | ) |
Definition at line 197 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setFromDate | ( | $a_from | ) |
Definition at line 221 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setFromDateEnabled | ( | $a_from_date_enabled = 0 | ) |
Definition at line 237 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setId | ( | $a_id | ) |
Definition at line 173 of file class.ilPaymentCoupons.php.
Referenced by getCouponByCode(), and getCouponById().
ilPaymentCoupons::setSearchFromDateEnabled | ( | $a_from_enabled | ) |
Definition at line 343 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchFromDay | ( | $a_day | ) |
Definition at line 295 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchFromMonth | ( | $a_month | ) |
Definition at line 303 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchFromYear | ( | $a_year | ) |
Definition at line 311 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTillDateEnabled | ( | $a_till_enabled | ) |
Definition at line 351 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTillDay | ( | $a_day | ) |
Definition at line 319 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTillMonth | ( | $a_month | ) |
Definition at line 327 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTillYear | ( | $a_year | ) |
Definition at line 335 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTitleType | ( | $a_title_type | ) |
Definition at line 271 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchTitleValue | ( | $a_title_value | ) |
Definition at line 279 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setSearchType | ( | $a_type | ) |
Definition at line 287 of file class.ilPaymentCoupons.php.
ilPaymentCoupons::setTillDate | ( | $a_till | ) |
Definition at line 229 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setTillDateEnabled | ( | $a_till_date_enabled = 0 | ) |
Definition at line 245 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setTitle | ( | $a_title | ) |
Definition at line 189 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setType | ( | $a_type | ) |
Definition at line 205 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setUses | ( | $a_uses | ) |
Definition at line 261 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::setValue | ( | $a_value | ) |
Definition at line 213 of file class.ilPaymentCoupons.php.
Referenced by getCouponById().
ilPaymentCoupons::unassignObjectFromCoupon | ( | $a_ref_id | ) |
Unassigns an object from the current coupon.
public
Definition at line 761 of file class.ilPaymentCoupons.php.
References getId().
ilPaymentCoupons::update | ( | ) |
Definition at line 393 of file class.ilPaymentCoupons.php.
References getChangeDate(), getCouponUser(), getDescription(), getFromDate(), getFromDateEnabled(), getId(), getTillDate(), getTillDateEnabled(), getTitle(), getType(), getUses(), and getValue().
|
private |
Definition at line 21 of file class.ilPaymentCoupons.php.
Referenced by getCodesByCouponId().
|
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 23 of file class.ilPaymentCoupons.php.
Referenced by getObjectsByCouponId().
|
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 17 of file class.ilPaymentCoupons.php.