ILIAS
Release_4_1_x_branch Revision 61804
|
Public Member Functions | |
ilPaymentPrices ($a_pobject_id=0) | |
getPobjectId () | |
getPrices () | |
getPrice ($a_price_id) | |
setPrice ($a_price=0) | |
setCurrency ($a_currency_id) | |
setDuration ($a_duration) | |
setUnlimitedDuration ($a_unlimited_duration) | |
add () | |
update ($a_price_id) | |
delete ($a_price_id) | |
deleteAllPrices () | |
validate () | |
getNumberOfPrices () | |
getLowestPrice () |
Static Public Member Functions | |
static | _getPrice ($a_price_id) |
static | _countPrices ($a_pobject_id) |
static | _getPriceString ($a_price_id) |
static | _formatPriceToString ($a_price) |
static | _getPriceStringFromAmount ($a_price) |
static | _getTotalAmount ($a_price_ids) |
static | _priceExists ($a_price_id, $a_pobject_id) |
Private Member Functions | |
__getPrice () | |
__getCurrency () | |
__getDuration () | |
__getUnlimitedDuration () | |
__read () |
Private Attributes | |
$ilDB | |
$pobject_id | |
$price | |
$currency | |
$duration | |
$unlimited_duration = 0 | |
$currency_conversion_rate = 1 | |
$prices = array() |
Definition at line 11 of file class.ilPaymentPrices.php.
|
private |
Definition at line 342 of file class.ilPaymentPrices.php.
References $currency.
Referenced by add(), and update().
|
private |
Definition at line 349 of file class.ilPaymentPrices.php.
References $duration.
Referenced by add(), update(), and validate().
|
private |
Definition at line 338 of file class.ilPaymentPrices.php.
References $price.
Referenced by add(), update(), and validate().
|
private |
Definition at line 353 of file class.ilPaymentPrices.php.
References $unlimited_duration.
Referenced by add(), update(), and validate().
|
private |
Definition at line 358 of file class.ilPaymentPrices.php.
References $res, $row, and getPobjectId().
Referenced by add(), delete(), deleteAllPrices(), ilPaymentPrices(), and update().
|
static |
Definition at line 75 of file class.ilPaymentPrices.php.
|
static |
Definition at line 102 of file class.ilPaymentPrices.php.
Referenced by ilShopResultPresentationGUI\renderItems(), and ilShopPurchaseGUI\showDetails().
|
static |
Definition at line 55 of file class.ilPaymentPrices.php.
References $ilDB, $price, $res, and $row.
Referenced by ilPurchaseBaseGUI\__getShoppingCart(), ilPurchaseBaseGUI\__showItemsTable(), ilPurchaseBaseGUI\__showShoppingCart(), _getPriceString(), _getTotalAmount(), ilShopShoppingCartGUI\addBookings(), ilObjPaymentSettingsGUI\addCustomerObject(), ilPaymentShoppingCart\getShoppingCart(), ilPaymentStatisticGUI\saveCustomer(), ilObjPaymentSettingsGUI\saveCustomerObject(), ilShopShoppingCartGUI\showItems(), and ilShopShoppingCartGUI\showItemsTable().
|
static |
Definition at line 90 of file class.ilPaymentPrices.php.
References $lng, $price, and _getPrice().
Referenced by ilPurchaseBaseGUI\__showShoppingCart(), ilShopShoppingCartGUI\addBookings(), ilPaymentShoppingCart\getShoppingCart(), ilPaymentStatisticGUI\saveCustomer(), ilShopPurchaseGUI\showDetails(), and ilShopShoppingCartGUI\showItems().
|
static |
Definition at line 123 of file class.ilPaymentPrices.php.
References $lng.
|
static |
Definition at line 144 of file class.ilPaymentPrices.php.
References $ilDB, $lng, $price, and _getPrice().
Referenced by ilPaymentShoppingCart\__read().
|
static |
Definition at line 322 of file class.ilPaymentPrices.php.
Referenced by ilPaymentShoppingCart\__read().
ilPaymentPrices::add | ( | ) |
Definition at line 220 of file class.ilPaymentPrices.php.
References $res, __getCurrency(), __getDuration(), __getPrice(), __getUnlimitedDuration(), __read(), and getPobjectId().
ilPaymentPrices::delete | ( | $a_price_id | ) |
Definition at line 270 of file class.ilPaymentPrices.php.
References __read().
ilPaymentPrices::deleteAllPrices | ( | ) |
Definition at line 281 of file class.ilPaymentPrices.php.
References __read(), and getPobjectId().
ilPaymentPrices::getLowestPrice | ( | ) |
Definition at line 387 of file class.ilPaymentPrices.php.
References $data.
Referenced by ilShopResultPresentationGUI\renderItems().
ilPaymentPrices::getNumberOfPrices | ( | ) |
Definition at line 382 of file class.ilPaymentPrices.php.
ilPaymentPrices::getPobjectId | ( | ) |
Definition at line 39 of file class.ilPaymentPrices.php.
References $pobject_id.
Referenced by __read(), add(), and deleteAllPrices().
ilPaymentPrices::getPrice | ( | $a_price_id | ) |
Definition at line 48 of file class.ilPaymentPrices.php.
ilPaymentPrices::getPrices | ( | ) |
Definition at line 44 of file class.ilPaymentPrices.php.
ilPaymentPrices::ilPaymentPrices | ( | $a_pobject_id = 0 | ) |
ilPaymentPrices::setCurrency | ( | $a_currency_id | ) |
Definition at line 200 of file class.ilPaymentPrices.php.
ilPaymentPrices::setDuration | ( | $a_duration | ) |
Definition at line 204 of file class.ilPaymentPrices.php.
ilPaymentPrices::setPrice | ( | $a_price = 0 | ) |
Definition at line 193 of file class.ilPaymentPrices.php.
ilPaymentPrices::setUnlimitedDuration | ( | $a_unlimited_duration | ) |
Definition at line 212 of file class.ilPaymentPrices.php.
ilPaymentPrices::update | ( | $a_price_id | ) |
Definition at line 248 of file class.ilPaymentPrices.php.
References $res, __getCurrency(), __getDuration(), __getPrice(), __getUnlimitedDuration(), and __read().
ilPaymentPrices::validate | ( | ) |
Definition at line 294 of file class.ilPaymentPrices.php.
References __getDuration(), __getPrice(), and __getUnlimitedDuration().
|
private |
Definition at line 18 of file class.ilPaymentPrices.php.
Referenced by __getCurrency().
|
private |
Definition at line 23 of file class.ilPaymentPrices.php.
|
private |
Definition at line 19 of file class.ilPaymentPrices.php.
Referenced by __getDuration().
|
private |
Definition at line 13 of file class.ilPaymentPrices.php.
Referenced by _countPrices(), _getPrice(), _getTotalAmount(), _priceExists(), and ilPaymentPrices().
|
private |
Definition at line 15 of file class.ilPaymentPrices.php.
Referenced by getPobjectId().
|
private |
Definition at line 17 of file class.ilPaymentPrices.php.
Referenced by __getPrice(), _getPrice(), _getPriceString(), and _getTotalAmount().
|
private |
Definition at line 25 of file class.ilPaymentPrices.php.
|
private |
Definition at line 20 of file class.ilPaymentPrices.php.
Referenced by __getUnlimitedDuration().