|
ILIAS
Release_3_10_x_branch Revision 61812
|
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) | |
| _getPriceFromArray ($a_price) | |
| _getTotalAmount ($a_price_ids) | |
| setUnitValue ($a_value=0) | |
| setSubUnitValue ($a_value=0) | |
| setCurrency ($a_currency_id) | |
| setDuration ($a_duration) | |
| add () | |
| update ($a_price_id) | |
| delete ($a_price_id) | |
| deleteAllPrices () | |
| validate () | |
| _priceExists ($a_price_id, $a_pobject_id) | |
| __getUnitValue () | |
| __getSubUnitValue () | |
| __getCurrency () | |
| __getDuration () | |
| __read () | |
| getNumberOfPrices () | |
| getLowestPrice () | |
Static Public Member Functions | |
| static | _formatPriceToString ($unit_value, $subunit_value) |
| static | _formatPriceToFloat ($unit_value, $subunit_value) |
Data Fields | |
| $ilDB | |
| $pobject_id | |
| $unit_value | |
| $sub_unit_value | |
| $currency | |
| $duration | |
Private Attributes | |
| $prices = array() | |
Definition at line 31 of file class.ilPaymentPrices.php.
| ilPaymentPrices::__getCurrency | ( | ) |
Definition at line 330 of file class.ilPaymentPrices.php.
References $currency.
| ilPaymentPrices::__getDuration | ( | ) |
Definition at line 334 of file class.ilPaymentPrices.php.
References $duration.
Referenced by validate().
Here is the caller graph for this function:| ilPaymentPrices::__getSubUnitValue | ( | ) |
Definition at line 326 of file class.ilPaymentPrices.php.
References $sub_unit_value.
Referenced by validate().
Here is the caller graph for this function:| ilPaymentPrices::__getUnitValue | ( | ) |
Definition at line 322 of file class.ilPaymentPrices.php.
References $unit_value.
Referenced by validate().
Here is the caller graph for this function:| ilPaymentPrices::__read | ( | ) |
Definition at line 339 of file class.ilPaymentPrices.php.
References $res, and DB_FETCHMODE_OBJECT.
Referenced by add(), delete(), deleteAllPrices(), ilPaymentPrices(), and update().
Here is the caller graph for this function:| ilPaymentPrices::_countPrices | ( | $a_pobject_id | ) |
Definition at line 89 of file class.ilPaymentPrices.php.
References $res.
|
static |
Definition at line 122 of file class.ilPaymentPrices.php.
References $unit_value.
Referenced by getLowestPrice(), and ilShopResultPresentationGUI\renderItems().
Here is the caller graph for this function:
|
static |
Definition at line 111 of file class.ilPaymentPrices.php.
References $unit_value.
Referenced by _getPriceString(), and ilShopResultPresentationGUI\renderItems().
Here is the caller graph for this function:| ilPaymentPrices::_getPrice | ( | $a_price_id | ) |
Definition at line 70 of file class.ilPaymentPrices.php.
References $ilDB, $res, and DB_FETCHMODE_OBJECT.
Referenced by ilPurchaseBMFGUI\__addBookings(), ilPaymentShoppingCartGUI\__showItemsTable(), ilPurchaseBMFGUI\__showItemsTable(), 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::_getPriceFromArray | ( | $a_price | ) |
Definition at line 143 of file class.ilPaymentPrices.php.
Referenced by ilPurchaseBMFGUI\__addBookings(), ilPaymentShoppingCartGUI\addBookings(), and ilShopShoppingCartGUI\addBookings().
Here is the caller graph for this function:| ilPaymentPrices::_getPriceString | ( | $a_price_id | ) |
Definition at line 100 of file class.ilPaymentPrices.php.
References $lng, _formatPriceToString(), and _getPrice().
Referenced by ilPurchaseBMFGUI\__addBookings(), 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 127 of file class.ilPaymentPrices.php.
References $lng.
Referenced by ilPurchaseBMFGUI\__addBookings(), ilPurchasePaypal\__saveTransaction(), ilPaymentShoppingCartGUI\addBookings(), and ilShopShoppingCartGUI\addBookings().
Here is the caller graph for this function:| ilPaymentPrices::_getTotalAmount | ( | $a_price_ids | ) |
Definition at line 148 of file class.ilPaymentPrices.php.
References $ilDB, $lng, 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 306 of file class.ilPaymentPrices.php.
Referenced by ilPaymentShoppingCart\__read().
Here is the caller graph for this function:| ilPaymentPrices::add | ( | ) |
Definition at line 228 of file class.ilPaymentPrices.php.
References $res, and __read().
Here is the call graph for this function:| ilPaymentPrices::delete | ( | $a_price_id | ) |
| ilPaymentPrices::deleteAllPrices | ( | ) |
| ilPaymentPrices::getLowestPrice | ( | ) |
Definition at line 364 of file class.ilPaymentPrices.php.
References $data, and _formatPriceToFloat().
Referenced by ilShopResultPresentationGUI\renderItems().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPaymentPrices::getNumberOfPrices | ( | ) |
Definition at line 359 of file class.ilPaymentPrices.php.
| ilPaymentPrices::getPobjectId | ( | ) |
Definition at line 55 of file class.ilPaymentPrices.php.
References $pobject_id.
| ilPaymentPrices::getPrice | ( | $a_price_id | ) |
Definition at line 64 of file class.ilPaymentPrices.php.
| ilPaymentPrices::getPrices | ( | ) |
Definition at line 60 of file class.ilPaymentPrices.php.
| ilPaymentPrices::ilPaymentPrices | ( | $a_pobject_id = 0 | ) |
| ilPaymentPrices::setCurrency | ( | $a_currency_id | ) |
Definition at line 219 of file class.ilPaymentPrices.php.
| ilPaymentPrices::setDuration | ( | $a_duration | ) |
Definition at line 223 of file class.ilPaymentPrices.php.
| ilPaymentPrices::setSubUnitValue | ( | $a_value = 0 | ) |
Definition at line 215 of file class.ilPaymentPrices.php.
| ilPaymentPrices::setUnitValue | ( | $a_value = 0 | ) |
Definition at line 210 of file class.ilPaymentPrices.php.
| ilPaymentPrices::update | ( | $a_price_id | ) |
Definition at line 243 of file class.ilPaymentPrices.php.
References $res, and __read().
Here is the call graph for this function:| ilPaymentPrices::validate | ( | ) |
Definition at line 283 of file class.ilPaymentPrices.php.
References __getDuration(), __getSubUnitValue(), and __getUnitValue().
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 _getPrice(), _getTotalAmount(), _priceExists(), and ilPaymentPrices().
| ilPaymentPrices::$pobject_id |
Definition at line 35 of file class.ilPaymentPrices.php.
Referenced by getPobjectId().
|
private |
Definition at line 41 of file class.ilPaymentPrices.php.
| ilPaymentPrices::$sub_unit_value |
Definition at line 37 of file class.ilPaymentPrices.php.
Referenced by __getSubUnitValue().
| ilPaymentPrices::$unit_value |
Definition at line 36 of file class.ilPaymentPrices.php.
Referenced by __getUnitValue(), _formatPriceToFloat(), and _formatPriceToString().