ILIAS
Release_4_2_x_branch Revision 61807
|
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) | |
setExtension ($a_extension) | |
getExtension () | |
add () | |
update ($a_price_id) | |
delete ($a_price_id) | |
deleteAllPrices () | |
validate () | |
getExtensionPrices () | |
getNumberOfPrices () | |
getLowestPrice () |
Static Public Member Functions | |
static | _getPrice ($a_price_id) |
static | _countPrices ($a_pobject_id) |
static | _getPriceString ($a_price_id) |
static | _getGUIPrice ($a_price) |
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 ($with_extension_prices=false) |
Private Attributes | |
$ilDB | |
$pobject_id | |
$price | |
$currency | |
$duration | |
$unlimited_duration = 0 | |
$extension = 0 | |
$currency_conversion_rate = 1 | |
$prices = array() |
Definition at line 11 of file class.ilPaymentPrices.php.
|
private |
Definition at line 361 of file class.ilPaymentPrices.php.
References $currency.
Referenced by add(), and update().
|
private |
Definition at line 368 of file class.ilPaymentPrices.php.
References $duration.
Referenced by add(), update(), and validate().
|
private |
Definition at line 357 of file class.ilPaymentPrices.php.
References $price.
Referenced by add(), update(), and validate().
|
private |
Definition at line 372 of file class.ilPaymentPrices.php.
References $unlimited_duration.
Referenced by add(), update(), and validate().
|
private |
Definition at line 377 of file class.ilPaymentPrices.php.
References $res, $row, and getPobjectId().
Referenced by add(), delete(), deleteAllPrices(), ilPaymentPrices(), and update().
|
static |
Definition at line 78 of file class.ilPaymentPrices.php.
|
static |
Definition at line 125 of file class.ilPaymentPrices.php.
References _getGUIPrice(), and ilPaymentSettings\_getInstance().
Referenced by ilShopResultPresentationGUI\renderItems(), and ilShopPurchaseGUI\showDetails().
|
static |
Definition at line 103 of file class.ilPaymentPrices.php.
References $lng.
Referenced by _formatPriceToString(), _getPriceString(), and ilShopShoppingCartGUI\showItems().
|
static |
Definition at line 56 of file class.ilPaymentPrices.php.
References $ilDB, $price, $res, and $row.
Referenced by ilPurchaseBaseGUI\__getShoppingCart(), ilPurchaseBaseGUI\__showItemsTable(), ilPurchaseBaseGUI\__showShoppingCart(), _getPriceString(), _getTotalAmount(), ilShopShoppingCartGUI\addBookings(), ilPaymentShoppingCart\getShoppingCart(), ilPaymentStatisticGUI\saveCustomer(), ilObjPaymentSettingsGUI\saveCustomerObject(), ilShopShoppingCartGUI\showItems(), and ilShopShoppingCartGUI\showItemsTable().
|
static |
Definition at line 94 of file class.ilPaymentPrices.php.
References $price, _getGUIPrice(), and _getPrice().
Referenced by ilShopShoppingCartGUI\addBookings(), ilPaymentShoppingCart\getShoppingCart(), ilPaymentStatisticGUI\saveCustomer(), and ilShopShoppingCartGUI\showItems().
|
static |
Definition at line 148 of file class.ilPaymentPrices.php.
References $lng, and ilPaymentSettings\_getInstance().
|
static |
Definition at line 169 of file class.ilPaymentPrices.php.
References $ilDB, $lng, $price, ilPaymentSettings\_getInstance(), and _getPrice().
Referenced by ilPaymentShoppingCart\__read().
|
static |
Definition at line 341 of file class.ilPaymentPrices.php.
Referenced by ilPaymentShoppingCart\__read().
ilPaymentPrices::add | ( | ) |
Definition at line 258 of file class.ilPaymentPrices.php.
References $res, __getCurrency(), __getDuration(), __getPrice(), __getUnlimitedDuration(), __read(), getExtension(), and getPobjectId().
ilPaymentPrices::delete | ( | $a_price_id | ) |
Definition at line 290 of file class.ilPaymentPrices.php.
References __read().
ilPaymentPrices::deleteAllPrices | ( | ) |
Definition at line 301 of file class.ilPaymentPrices.php.
References __read(), and getPobjectId().
ilPaymentPrices::getExtension | ( | ) |
Definition at line 252 of file class.ilPaymentPrices.php.
References $extension.
Referenced by add(), and update().
ilPaymentPrices::getExtensionPrices | ( | ) |
Definition at line 415 of file class.ilPaymentPrices.php.
References $prices, $res, $row, and getPobjectId().
ilPaymentPrices::getLowestPrice | ( | ) |
Definition at line 445 of file class.ilPaymentPrices.php.
References $data.
Referenced by ilShopResultPresentationGUI\renderItems().
ilPaymentPrices::getNumberOfPrices | ( | ) |
Definition at line 440 of file class.ilPaymentPrices.php.
ilPaymentPrices::getPobjectId | ( | ) |
Definition at line 40 of file class.ilPaymentPrices.php.
References $pobject_id.
Referenced by __read(), add(), deleteAllPrices(), getExtensionPrices(), and update().
ilPaymentPrices::getPrice | ( | $a_price_id | ) |
Definition at line 49 of file class.ilPaymentPrices.php.
ilPaymentPrices::getPrices | ( | ) |
Definition at line 45 of file class.ilPaymentPrices.php.
ilPaymentPrices::ilPaymentPrices | ( | $a_pobject_id = 0 | ) |
ilPaymentPrices::setCurrency | ( | $a_currency_id | ) |
Definition at line 224 of file class.ilPaymentPrices.php.
ilPaymentPrices::setDuration | ( | $a_duration | ) |
Definition at line 228 of file class.ilPaymentPrices.php.
ilPaymentPrices::setExtension | ( | $a_extension | ) |
Definition at line 245 of file class.ilPaymentPrices.php.
ilPaymentPrices::setPrice | ( | $a_price = 0 | ) |
Definition at line 218 of file class.ilPaymentPrices.php.
ilPaymentPrices::setUnlimitedDuration | ( | $a_unlimited_duration | ) |
Definition at line 236 of file class.ilPaymentPrices.php.
ilPaymentPrices::update | ( | $a_price_id | ) |
Definition at line 275 of file class.ilPaymentPrices.php.
References __getCurrency(), __getDuration(), __getPrice(), __getUnlimitedDuration(), __read(), getExtension(), and getPobjectId().
ilPaymentPrices::validate | ( | ) |
Definition at line 314 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 24 of file class.ilPaymentPrices.php.
|
private |
Definition at line 19 of file class.ilPaymentPrices.php.
Referenced by __getDuration().
|
private |
Definition at line 21 of file class.ilPaymentPrices.php.
Referenced by getExtension().
|
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 26 of file class.ilPaymentPrices.php.
Referenced by getExtensionPrices().
|
private |
Definition at line 20 of file class.ilPaymentPrices.php.
Referenced by __getUnlimitedDuration().