ILIAS
Release_4_1_x_branch Revision 61804
|
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 | _createRandomUserAccount ($keyarray) |
static | _assignTransactionToCustomerId ($a_old_user_id, $a_new_user_id, $a_transaction_extern) |
|
static |
Definition at line 204 of file class.ilShopUtils.php.
Referenced by ilShopShoppingCartGUI\validateNewUser().
|
static |
Checks if the passed vat rate is valid.
public
string | $a_vat |
Definition at line 53 of file class.ilShopUtils.php.
Referenced by ilObjPaymentSettingsGUI\saveVatObject(), and ilObjPaymentSettingsGUI\updateVatObject().
|
static |
Definition at line 95 of file class.ilShopUtils.php.
References $_SESSION, $ilDB, $ilSetting, $lng, $res, $row, ilObject\_exists(), ilObjRole\_lookupRegisterAllowed(), ilUtil\generatePasswords(), and IL_PASSWD_PLAIN.
Referenced by ilPurchasePaypal\checkData().
|
static |
Formats a float value for gui output.
public
float | $a_vat |
Definition at line 38 of file class.ilShopUtils.php.
References $lng.
Referenced by ilPurchasePaypal\__sendBill(), and ilPaymentObject\getVat().
|
static |
Formats a vat rate for gui output.
public
float | $a_vat |
Definition at line 23 of file class.ilShopUtils.php.
Referenced by ilPurchasePaypal\__sendBill(), ilPurchaseBaseGUI\__showShoppingCart(), ilPaymentObjectGUI\editDetails(), ilObjPaymentSettingsGUI\editDetailsObject(), ilObjPaymentSettingsGUI\objectsObject(), 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 66 of file class.ilShopUtils.php.
References $ilSetting, $lng, $success, ilObjUser\_lookupId(), and ilObjectFactory\getInstanceByRefId().