ILIAS
release_4-3 Revision
|
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 | _addPurchasedObjToDesktop ($oPaymentObject, $a_user_id=0) |
static | _assignPurchasedCourseMemberRole ($oPaymentObject, $a_user_id=0) |
static | _addToShoppingCartSymbol ($a_type, $a_ref_id) |
static | _getSpecialObjectSymbol () |
static | _getPaymethodSymbol ($a_paymethod) |
static | _deassignPurchasedCourseMemberRole ($a_ref_id, $a_user_id) |
|
static |
Definition at line 217 of file class.ilShopUtils.php.
References $ilUser, and ilObject\_lookupType().
Referenced by ilPurchaseBaseGUI\__addBookings(), and ilObjPaymentSettingsGUI\saveCustomerObject().
|
static |
Definition at line 255 of file class.ilShopUtils.php.
References $ilCtrl, $img, and ilUtil\img().
Referenced by ilShopResultPresentationGUI\renderItems().
|
static |
Definition at line 236 of file class.ilShopUtils.php.
References $ilUser, $res, ilCourseParticipants\_getInstanceByObjId(), ilObject\_lookupObjectId(), and IL_CRS_MEMBER.
Referenced by ilPurchaseBaseGUI\__addBookings(), and ilObjPaymentSettingsGUI\saveCustomerObject().
|
static |
Definition at line 204 of file class.ilShopUtils.php.
References $res.
|
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, $ilSetting, $ilUser, $lng, $res, $row, ilObject\_exists(), ilObjRole\_lookupRegisterAllowed(), ilUtil\generatePasswords(), and IL_PASSWD_PLAIN.
|
static |
Definition at line 326 of file class.ilShopUtils.php.
References $res, ilCourseParticipants\_getInstanceByObjId(), ilObject\_lookupObjectId(), and IL_CRS_MEMBER.
Referenced by ilPaymentStatisticGUI\performDeleteDeassignCrs().
|
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 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 ilPurchaseBaseGUI\__showShoppingCart(), ilObjPaymentSettingsGUI\editDetailsObject(), ilObjPaymentSettingsGUI\objectsObject(), ilShopShoppingCartGUI\showItems(), and ilObjPaymentSettingsGUI\vatsObject().
|
static |
Definition at line 289 of file class.ilShopUtils.php.
References ilUtil\img().
Referenced by ilShopResultPresentationGUI\renderItems().
|
static |
Definition at line 281 of file class.ilShopUtils.php.
References $img, and ilUtil\img().
Referenced by ilShopResultPresentationGUI\renderItems().
|
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().