ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
__construct ($user_obj, $a_pobject_id=null) | |
getTopicId () | |
setTopicId ($a_topic_id) | |
getPobjectId () | |
setRefId ($a_ref_id) | |
getRefId () | |
setStatus ($a_status) | |
getStatus () | |
setPayMethod ($a_method) | |
getPayMethod () | |
setVendorId ($a_vendor_id) | |
getVendorId () | |
getVatId () | |
setVatId ($a_vat_id) | |
getVat ($a_amount=0, $type= 'CALCULATION') | |
add () | |
delete () | |
update () | |
_lookupPobjectId ($a_ref_id) | |
_getCountObjectsByPayMethod ($a_type) | |
_getObjectsData ($a_user_id) | |
_getAllObjectsData () | |
_getObjectData ($a_id) | |
_isPurchasable ($a_ref_id, $a_vendor_id=0, $a_check_trustee=false) | |
_hasAccess ($a_ref_id) | |
_getActivation ($a_ref_id) |
Static Public Member Functions | |
static | _lookupTopicId ($a_ref_id) |
static | _isBuyable ($a_ref_id) |
static | _requiresPurchaseToAccess ($a_ref_id) |
static | _isInCart ($a_ref_id) |
Private Member Functions | |
__read () |
Private Attributes | |
$db = null | |
$user_obj = null | |
$pobject_id = null | |
$ref_id = null | |
$status = null | |
$pay_method = null | |
$vendor_id = null | |
$topic_id = 0 | |
$vat_id = 0 |
Definition at line 38 of file class.ilPaymentObject.php.
ilPaymentObject::__construct | ( | $user_obj, | |
$a_pobject_id = null |
|||
) |
Definition at line 51 of file class.ilPaymentObject.php.
References $ilDB, $user_obj, __read(), PAY_METHOD_BILL, PAY_METHOD_BMF, PAY_METHOD_EPAY, PAY_METHOD_NOT_SPECIFIED, and PAY_METHOD_PAYPAL.
|
private |
Definition at line 616 of file class.ilPaymentObject.php.
References $result, $row, DB_FETCHMODE_OBJECT, getPobjectId(), setPayMethod(), setRefId(), setStatus(), setTopicId(), setVatId(), and setVendorId().
Referenced by __construct().
ilPaymentObject::_getActivation | ( | $a_ref_id | ) |
Definition at line 550 of file class.ilPaymentObject.php.
References $ilDB, $res, $row, and DB_FETCHMODE_OBJECT.
ilPaymentObject::_getAllObjectsData | ( | ) |
Definition at line 358 of file class.ilPaymentObject.php.
References $_SESSION, $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjPaymentSettingsGUI\objectsObject().
ilPaymentObject::_getCountObjectsByPayMethod | ( | $a_type | ) |
Definition at line 261 of file class.ilPaymentObject.php.
References $ilDB, $result, $row, DB_FETCHMODE_OBJECT, PAY_METHOD_BILL, PAY_METHOD_BMF, PAY_METHOD_EPAY, and PAY_METHOD_PAYPAL.
Referenced by ilObjPaymentSettingsGUI\savePayMethodsObject().
ilPaymentObject::_getObjectData | ( | $a_id | ) |
Definition at line 454 of file class.ilPaymentObject.php.
References $ilDB, $res, and DB_FETCHMODE_ASSOC.
Referenced by ilPurchasePaypal\__saveTransaction(), ilPurchaseBillGUI\__saveTransaction(), and ilPurchase\purchase().
ilPaymentObject::_getObjectsData | ( | $a_user_id | ) |
Definition at line 298 of file class.ilPaymentObject.php.
References $ilDB, $in, $query, $res, $row, $vendor, ilPaymentTrustees\_getVendorsForObjects(), ilPaymentVendors\_isVendor(), and DB_FETCHMODE_OBJECT.
Referenced by ilPaymentObjectGUI\showObjects().
ilPaymentObject::_hasAccess | ( | $a_ref_id | ) |
Definition at line 514 of file class.ilPaymentObject.php.
References $ilDB, $res, $row, ilGeneralSettings\_getInstance(), ilPaymentBookings\_hasAccess(), and DB_FETCHMODE_OBJECT.
Referenced by _requiresPurchaseToAccess(), ilObjFileGUI\executeCommand(), ilSAHSPresentationGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjFileListGUI\getCommandFrame(), ilObjFileBasedLMListGUI\getCommandFrame(), ilObjSAHSLearningModuleListGUI\getCommandFrame(), ilObjDlBookListGUI\getCommandFrame(), ilObjLearningModuleListGUI\getCommandFrame(), ilObjLearningModuleListGUI\getProperties(), ilObjectListGUI\insertPayment(), and ilShopResultPresentationGUI\renderItems().
|
static |
Definition at line 567 of file class.ilPaymentObject.php.
References $ilDB, $result, $row, ilGeneralSettings\_getInstance(), and DB_FETCHMODE_OBJECT.
Referenced by _requiresPurchaseToAccess(), ilRepUtil\deleteObjects(), ilObjFileGUI\executeCommand(), ilSAHSPresentationGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjFileListGUI\getCommandFrame(), ilObjFileBasedLMListGUI\getCommandFrame(), ilObjSAHSLearningModuleListGUI\getCommandFrame(), ilObjDlBookListGUI\getCommandFrame(), ilObjLearningModuleListGUI\getCommandFrame(), ilObjLearningModuleListGUI\getProperties(), and ilObjectListGUI\insertPayment().
|
static |
Definition at line 596 of file class.ilPaymentObject.php.
References $ilDB, $result, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjLearningModuleListGUI\getProperties(), and ilObjectListGUI\insertPayment().
ilPaymentObject::_isPurchasable | ( | $a_ref_id, | |
$a_vendor_id = 0 , |
|||
$a_check_trustee = false |
|||
) |
Definition at line 471 of file class.ilPaymentObject.php.
References $data, $ilDB, $query, $res, ilPaymentTrustees\_getVendorsForObjects(), and ilPaymentVendors\_isVendor().
Referenced by ilPaymentObjectGUI\addObject(), ilPaymentObjectSelector\isClickable(), and ilPaymentObjectSelector\showChilds().
ilPaymentObject::_lookupPobjectId | ( | $a_ref_id | ) |
Definition at line 221 of file class.ilPaymentObject.php.
References $ilDB, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilPaymentPurchaseGUI\__initPaymentObject(), ilShopPurchaseGUI\__initPaymentObject(), ilPaymentStatisticGUI\addCustomer(), ilObjPaymentSettingsGUI\addCustomerObject(), ilShopResultPresentationGUI\renderItems(), ilPaymentStatisticGUI\saveCustomer(), and ilObjPaymentSettingsGUI\saveCustomerObject().
|
static |
Definition at line 238 of file class.ilPaymentObject.php.
References $cache, $ilDB, $result, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilShopSearchResult\filter(), and ilShopSearchResult\getResultsForPresentation().
|
static |
Definition at line 591 of file class.ilPaymentObject.php.
References _hasAccess(), and _isBuyable().
Referenced by ilLMPresentationGUI\ilLMPresentationGUI(), ilLMExplorer\isClickable(), ilLMTOCExplorer\isClickable(), ilTableOfContentsExplorer\isClickable(), and ilObjContentObjectGUI\setilLMMenu().
ilPaymentObject::add | ( | ) |
Definition at line 144 of file class.ilPaymentObject.php.
References getPayMethod(), getRefId(), getStatus(), getTopicId(), getVatId(), and getVendorId().
ilPaymentObject::delete | ( | ) |
Definition at line 173 of file class.ilPaymentObject.php.
References getPobjectId().
ilPaymentObject::getPayMethod | ( | ) |
Definition at line 107 of file class.ilPaymentObject.php.
References $pay_method.
Referenced by add(), and update().
ilPaymentObject::getPobjectId | ( | ) |
Definition at line 83 of file class.ilPaymentObject.php.
References $pobject_id.
Referenced by __read(), delete(), and update().
ilPaymentObject::getRefId | ( | ) |
Definition at line 91 of file class.ilPaymentObject.php.
References $ref_id.
Referenced by add(), and update().
ilPaymentObject::getStatus | ( | ) |
Definition at line 99 of file class.ilPaymentObject.php.
References $status.
Referenced by add(), and update().
ilPaymentObject::getTopicId | ( | ) |
Definition at line 75 of file class.ilPaymentObject.php.
References $topic_id.
Referenced by add(), and update().
ilPaymentObject::getVat | ( | $a_amount = 0 , |
|
$type = 'CALCULATION' |
|||
) |
Definition at line 128 of file class.ilPaymentObject.php.
References $lng, $type, ilShopUtils\_formatFloat(), and getVatId().
ilPaymentObject::getVatId | ( | ) |
ilPaymentObject::getVendorId | ( | ) |
Definition at line 115 of file class.ilPaymentObject.php.
References $vendor_id.
Referenced by add(), and update().
ilPaymentObject::setPayMethod | ( | $a_method | ) |
Definition at line 103 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setRefId | ( | $a_ref_id | ) |
Definition at line 87 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setStatus | ( | $a_status | ) |
Definition at line 95 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setTopicId | ( | $a_topic_id | ) |
Definition at line 79 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setVatId | ( | $a_vat_id | ) |
Definition at line 123 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setVendorId | ( | $a_vendor_id | ) |
Definition at line 111 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::update | ( | ) |
Definition at line 191 of file class.ilPaymentObject.php.
References getPayMethod(), getPobjectId(), getRefId(), getStatus(), getTopicId(), getVatId(), and getVendorId().
|
private |
Definition at line 40 of file class.ilPaymentObject.php.
|
private |
Definition at line 45 of file class.ilPaymentObject.php.
Referenced by getPayMethod().
|
private |
Definition at line 42 of file class.ilPaymentObject.php.
Referenced by getPobjectId().
|
private |
Definition at line 43 of file class.ilPaymentObject.php.
Referenced by getRefId().
|
private |
Definition at line 44 of file class.ilPaymentObject.php.
Referenced by getStatus().
|
private |
Definition at line 47 of file class.ilPaymentObject.php.
Referenced by getTopicId().
|
private |
Definition at line 41 of file class.ilPaymentObject.php.
Referenced by __construct().
|
private |
Definition at line 48 of file class.ilPaymentObject.php.
Referenced by getVatId().
|
private |
Definition at line 46 of file class.ilPaymentObject.php.
Referenced by getVendorId().