|
ILIAS
Release_4_0_x_branch Revision 61816
|
Collaboration diagram for ilPaymentPrices:Public Member Functions | |
| ilPaymentPrices ($a_pobject_id=0) | |
| getPobjectId () | |
| getPrices () | |
| getPrice ($a_price_id) | |
| _getPrice ($a_price_id) | |
| _countPrices ($a_pobject_id) | |
| _getPriceString ($a_price_id) | |
| _getPriceStringFromAmount ($a_price) | |
| _getTotalAmount ($a_price_ids) | |
| 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 () | |
| _priceExists ($a_price_id, $a_pobject_id) | |
| __getPrice () | |
| __getCurrency () | |
| __getDuration () | |
| __getUnlimitedDuration () | |
| __read () | |
| getNumberOfPrices () | |
| getLowestPrice () | |
Static Public Member Functions | |
| static | _formatPriceToString ($a_price) |
Data Fields | |
| $ilDB | |
| $pobject_id | |
| $price | |
| $currency | |
| $duration | |
| $unlimited_duration = 0 | |
Private Attributes | |
| $prices = array() | |
Definition at line 31 of file class.ilPaymentPrices.php.
| ilPaymentPrices::__getCurrency | ( | ) |
Definition at line 339 of file class.ilPaymentPrices.php.
References $currency.
Referenced by add(), and update().
Here is the caller graph for this function:| ilPaymentPrices::__getDuration | ( | ) |
Definition at line 343 of file class.ilPaymentPrices.php.
References $duration.
Referenced by add(), update(), and validate().
Here is the caller graph for this function:| ilPaymentPrices::__getPrice | ( | ) |
Definition at line 335 of file class.ilPaymentPrices.php.
References $price.
Referenced by add(), update(), and validate().
Here is the caller graph for this function:| ilPaymentPrices::__getUnlimitedDuration | ( | ) |
Definition at line 347 of file class.ilPaymentPrices.php.
References $unlimited_duration.
Referenced by add(), update(), and validate().
Here is the caller graph for this function:| ilPaymentPrices::__read | ( | ) |
Definition at line 352 of file class.ilPaymentPrices.php.
References $res, $row, and getPobjectId().
Referenced by add(), delete(), deleteAllPrices(), ilPaymentPrices(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPaymentPrices::_countPrices | ( | $a_pobject_id | ) |
Definition at line 93 of file class.ilPaymentPrices.php.
|
static |
Definition at line 123 of file class.ilPaymentPrices.php.
Referenced by _getPriceString(), and ilShopResultPresentationGUI\renderItems().
Here is the caller graph for this function:| ilPaymentPrices::_getPrice | ( | $a_price_id | ) |
Definition at line 73 of file class.ilPaymentPrices.php.
References $ilDB, $price, $res, and $row.
Referenced by ilPurchaseBillGUI\__addBookings(), ilPurchaseBMFGUI\__addBookings(), ilPurchaseBillGUI\__getShoppingCart(), ilPaymentShoppingCartGUI\__showItemsTable(), ilPurchaseBillGUI\__showItemsTable(), ilPurchaseBMFGUI\__showItemsTable(), ilPurchaseBillGUI\__showShoppingCart(), ilPurchaseBMFGUI\__showShoppingCart(), _getPriceString(), _getTotalAmount(), ilPaymentShoppingCartGUI\addBookings(), ilShopShoppingCartGUI\addBookings(), ilPaymentShoppingCart\getShoppingCart(), ilPaymentStatisticGUI\saveCustomer(), ilObjPaymentSettingsGUI\saveCustomerObject(), ilPaymentShoppingCartGUI\showItems(), ilShopShoppingCartGUI\showItems(), and ilShopShoppingCartGUI\showItemsTable().
Here is the caller graph for this function:| ilPaymentPrices::_getPriceString | ( | $a_price_id | ) |
Definition at line 108 of file class.ilPaymentPrices.php.
References $lng, $price, _formatPriceToString(), and _getPrice().
Referenced by ilPurchaseBillGUI\__addBookings(), ilPurchaseBMFGUI\__addBookings(), ilPurchaseBillGUI\__showShoppingCart(), ilPurchaseBMFGUI\__showShoppingCart(), ilPaymentShoppingCartGUI\addBookings(), ilShopShoppingCartGUI\addBookings(), ilPaymentStatisticGUI\addCustomer(), ilObjPaymentSettingsGUI\addCustomerObject(), ilPaymentShoppingCart\getShoppingCart(), ilPaymentStatisticGUI\saveCustomer(), ilObjPaymentSettingsGUI\saveCustomerObject(), ilPaymentPurchaseGUI\showDetails(), ilShopPurchaseGUI\showDetails(), ilPaymentShoppingCartGUI\showItems(), and ilShopShoppingCartGUI\showItems().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPaymentPrices::_getPriceStringFromAmount | ( | $a_price | ) |
Definition at line 134 of file class.ilPaymentPrices.php.
References $lng.
Referenced by ilPurchaseBillGUI\__addBookings(), ilPurchaseBMFGUI\__addBookings(), ilPurchasePaypal\__saveTransaction(), ilPurchaseBillGUI\__saveTransaction(), ilPaymentShoppingCartGUI\addBookings(), and ilShopShoppingCartGUI\addBookings().
Here is the caller graph for this function:| ilPaymentPrices::_getTotalAmount | ( | $a_price_ids | ) |
Definition at line 151 of file class.ilPaymentPrices.php.
References $ilDB, $lng, $price, and _getPrice().
Referenced by ilPaymentShoppingCart\__read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPaymentPrices::_priceExists | ( | $a_price_id, | |
| $a_pobject_id | |||
| ) |
Definition at line 319 of file class.ilPaymentPrices.php.
Referenced by ilPaymentShoppingCart\__read().
Here is the caller graph for this function:| ilPaymentPrices::add | ( | ) |
Definition at line 217 of file class.ilPaymentPrices.php.
References $res, __getCurrency(), __getDuration(), __getPrice(), __getUnlimitedDuration(), __read(), and getPobjectId().
Here is the call graph for this function:| ilPaymentPrices::delete | ( | $a_price_id | ) |
Definition at line 267 of file class.ilPaymentPrices.php.
References __read().
Here is the call graph for this function:| ilPaymentPrices::deleteAllPrices | ( | ) |
Definition at line 278 of file class.ilPaymentPrices.php.
References __read(), and getPobjectId().
Here is the call graph for this function:| ilPaymentPrices::getLowestPrice | ( | ) |
Definition at line 380 of file class.ilPaymentPrices.php.
References $data.
Referenced by ilShopResultPresentationGUI\renderItems().
Here is the caller graph for this function:| ilPaymentPrices::getNumberOfPrices | ( | ) |
Definition at line 375 of file class.ilPaymentPrices.php.
| ilPaymentPrices::getPobjectId | ( | ) |
Definition at line 57 of file class.ilPaymentPrices.php.
References $pobject_id.
Referenced by __read(), add(), and deleteAllPrices().
Here is the caller graph for this function:| ilPaymentPrices::getPrice | ( | $a_price_id | ) |
Definition at line 66 of file class.ilPaymentPrices.php.
| ilPaymentPrices::getPrices | ( | ) |
Definition at line 62 of file class.ilPaymentPrices.php.
| ilPaymentPrices::ilPaymentPrices | ( | $a_pobject_id = 0 | ) |
| ilPaymentPrices::setCurrency | ( | $a_currency_id | ) |
Definition at line 197 of file class.ilPaymentPrices.php.
| ilPaymentPrices::setDuration | ( | $a_duration | ) |
Definition at line 201 of file class.ilPaymentPrices.php.
| ilPaymentPrices::setPrice | ( | $a_price = 0 | ) |
Definition at line 190 of file class.ilPaymentPrices.php.
| ilPaymentPrices::setUnlimitedDuration | ( | $a_unlimited_duration | ) |
Definition at line 209 of file class.ilPaymentPrices.php.
| ilPaymentPrices::update | ( | $a_price_id | ) |
Definition at line 245 of file class.ilPaymentPrices.php.
References $res, __getCurrency(), __getDuration(), __getPrice(), __getUnlimitedDuration(), and __read().
Here is the call graph for this function:| ilPaymentPrices::validate | ( | ) |
Definition at line 291 of file class.ilPaymentPrices.php.
References __getDuration(), __getPrice(), and __getUnlimitedDuration().
Here is the call graph for this function:| ilPaymentPrices::$currency |
Definition at line 38 of file class.ilPaymentPrices.php.
Referenced by __getCurrency().
| ilPaymentPrices::$duration |
Definition at line 39 of file class.ilPaymentPrices.php.
Referenced by __getDuration().
| ilPaymentPrices::$ilDB |
Definition at line 33 of file class.ilPaymentPrices.php.
Referenced by _countPrices(), _getPrice(), _getTotalAmount(), _priceExists(), and ilPaymentPrices().
| ilPaymentPrices::$pobject_id |
Definition at line 35 of file class.ilPaymentPrices.php.
Referenced by getPobjectId().
| ilPaymentPrices::$price |
Definition at line 37 of file class.ilPaymentPrices.php.
Referenced by __getPrice(), _getPrice(), _getPriceString(), and _getTotalAmount().
|
private |
Definition at line 43 of file class.ilPaymentPrices.php.
| ilPaymentPrices::$unlimited_duration = 0 |
Definition at line 40 of file class.ilPaymentPrices.php.
Referenced by __getUnlimitedDuration().