ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilShopUtils. More...
Static Public Member Functions | |
static | _formatVAT ($a_vat) |
Formats a vat rate for gui output. | |
static | _formatFloat ($a_float, $a_num_decimals=2) |
Formats a float value for gui output. | |
static | _checkVATRate ($a_vat_rate) |
Checks if the passed vat rate is valid. | |
static | _sendNotificationToVATAdministration ($oPaymentObject) |
Sends a notification message to all users responsible for vat assignment. |
|
static |
Checks if the passed vat rate is valid.
public
string | $a_vat |
Definition at line 73 of file class.ilShopUtils.php.
Referenced by ilObjPaymentSettingsGUI\saveVatObject(), and ilObjPaymentSettingsGUI\updateVatObject().
|
static |
Formats a float value for gui output.
public
float | $a_vat |
Definition at line 58 of file class.ilShopUtils.php.
References $lng.
Referenced by ilPurchasePaypal\__sendBill(), ilPurchaseBMFGUI\__sendBill(), ilPurchaseBillGUI\__showItemsTable(), ilPurchaseBMFGUI\__showItemsTable(), ilPaymentObject\getVat(), and ilShopShoppingCartGUI\showItemsTable().
|
static |
Formats a vat rate for gui output.
public
float | $a_vat |
Definition at line 43 of file class.ilShopUtils.php.
Referenced by ilPurchasePaypal\__sendBill(), ilPurchaseBMFGUI\__sendBill(), ilPurchaseBillGUI\__showShoppingCart(), ilPurchaseBMFGUI\__showShoppingCart(), ilPaymentObjectGUI\editDetails(), ilObjPaymentSettingsGUI\editObjectObject(), ilObjPaymentSettingsGUI\objectsObject(), ilPaymentShoppingCartGUI\showItems(), ilShopShoppingCartGUI\showItems(), ilPaymentObjectGUI\showObjects(), and ilObjPaymentSettingsGUI\vatsObject().
|
static |
Sends a notification message to all users responsible for vat assignment.
public
ilPaymentObject | $oPaymentObject |
Definition at line 86 of file class.ilShopUtils.php.
References $ilSetting, $lng, $login, $success, ilObjUser\_lookupId(), and ilObjectFactory\getInstanceByRefId().