ILIAS
Release_3_10_x_branch Revision 61812
|
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 () | |
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 |
Definition at line 37 of file class.ilPaymentObject.php.
ilPaymentObject::__construct | ( | $user_obj, | |
$a_pobject_id = null |
|||
) |
Definition at line 48 of file class.ilPaymentObject.php.
References $user_obj, __read(), PAY_METHOD_BILL, PAY_METHOD_BMF, PAY_METHOD_NOT_SPECIFIED, and PAY_METHOD_PAYPAL.
|
private |
Definition at line 518 of file class.ilPaymentObject.php.
References $result, DB_FETCHMODE_OBJECT, getPobjectId(), setPayMethod(), setRefId(), setStatus(), setTopicId(), and setVendorId().
Referenced by __construct().
ilPaymentObject::_getActivation | ( | $a_ref_id | ) |
Definition at line 459 of file class.ilPaymentObject.php.
References $res, and DB_FETCHMODE_OBJECT.
ilPaymentObject::_getAllObjectsData | ( | ) |
Definition at line 291 of file class.ilPaymentObject.php.
References $_SESSION, $res, and DB_FETCHMODE_OBJECT.
Referenced by ilObjPaymentSettingsGUI\objectsObject().
ilPaymentObject::_getCountObjectsByPayMethod | ( | $a_type | ) |
Definition at line 219 of file class.ilPaymentObject.php.
References $result, and DB_FETCHMODE_OBJECT.
Referenced by ilObjPaymentSettingsGUI\savePayMethodsObject().
ilPaymentObject::_getObjectData | ( | $a_id | ) |
Definition at line 369 of file class.ilPaymentObject.php.
References $res, and DB_FETCHMODE_ASSOC.
Referenced by ilPurchasePaypal\__saveTransaction().
ilPaymentObject::_getObjectsData | ( | $a_user_id | ) |
Definition at line 252 of file class.ilPaymentObject.php.
References $in, $res, ilPaymentTrustees\_getVendorsForObjects(), ilPaymentVendors\_isVendor(), and DB_FETCHMODE_OBJECT.
Referenced by ilPaymentObjectGUI\showObjects().
ilPaymentObject::_hasAccess | ( | $a_ref_id | ) |
Definition at line 425 of file class.ilPaymentObject.php.
References $res, ilGeneralSettings\_getInstance(), ilPaymentBookings\_hasAccess(), and DB_FETCHMODE_OBJECT.
Referenced by ilSearch\_checkParentConditions(), _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 474 of file class.ilPaymentObject.php.
References $result, ilGeneralSettings\_getInstance(), and DB_FETCHMODE_OBJECT.
Referenced by _requiresPurchaseToAccess(), ilObjectGUI\confirmedDeleteObject(), 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 501 of file class.ilPaymentObject.php.
References $result, 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 386 of file class.ilPaymentObject.php.
References $in, $res, ilPaymentTrustees\_getVendorsForObjects(), and ilPaymentVendors\_isVendor().
Referenced by ilPaymentObjectGUI\addObject(), ilPaymentObjectSelector\isClickable(), and ilPaymentObjectSelector\showChilds().
ilPaymentObject::_lookupPobjectId | ( | $a_ref_id | ) |
Definition at line 182 of file class.ilPaymentObject.php.
References $res, 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 197 of file class.ilPaymentObject.php.
References $result, and DB_FETCHMODE_OBJECT.
Referenced by ilShopSearchResult\filter(), and ilShopSearchResult\getResultsForPresentation().
|
static |
Definition at line 496 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 114 of file class.ilPaymentObject.php.
References $data, getPayMethod(), getRefId(), getStatus(), getTopicId(), and getVendorId().
ilPaymentObject::delete | ( | ) |
Definition at line 135 of file class.ilPaymentObject.php.
References $data, and getPobjectId().
ilPaymentObject::getPayMethod | ( | ) |
Definition at line 101 of file class.ilPaymentObject.php.
References $pay_method.
Referenced by add(), and update().
ilPaymentObject::getPobjectId | ( | ) |
Definition at line 77 of file class.ilPaymentObject.php.
References $pobject_id.
Referenced by __read(), delete(), and update().
ilPaymentObject::getRefId | ( | ) |
Definition at line 85 of file class.ilPaymentObject.php.
References $ref_id.
Referenced by add(), and update().
ilPaymentObject::getStatus | ( | ) |
Definition at line 93 of file class.ilPaymentObject.php.
References $status.
Referenced by add(), and update().
ilPaymentObject::getTopicId | ( | ) |
Definition at line 69 of file class.ilPaymentObject.php.
References $topic_id.
Referenced by add(), and update().
ilPaymentObject::getVendorId | ( | ) |
Definition at line 109 of file class.ilPaymentObject.php.
References $vendor_id.
Referenced by add(), and update().
ilPaymentObject::setPayMethod | ( | $a_method | ) |
Definition at line 97 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setRefId | ( | $a_ref_id | ) |
Definition at line 81 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setStatus | ( | $a_status | ) |
Definition at line 89 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setTopicId | ( | $a_topic_id | ) |
Definition at line 73 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setVendorId | ( | $a_vendor_id | ) |
Definition at line 105 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::update | ( | ) |
Definition at line 154 of file class.ilPaymentObject.php.
References $data, getPayMethod(), getPobjectId(), getRefId(), getStatus(), getTopicId(), and getVendorId().
|
private |
Definition at line 39 of file class.ilPaymentObject.php.
|
private |
Definition at line 44 of file class.ilPaymentObject.php.
Referenced by getPayMethod().
|
private |
Definition at line 41 of file class.ilPaymentObject.php.
Referenced by getPobjectId().
|
private |
Definition at line 42 of file class.ilPaymentObject.php.
Referenced by getRefId().
|
private |
Definition at line 43 of file class.ilPaymentObject.php.
Referenced by getStatus().
|
private |
Definition at line 46 of file class.ilPaymentObject.php.
Referenced by getTopicId().
|
private |
Definition at line 40 of file class.ilPaymentObject.php.
Referenced by __construct().
|
private |
Definition at line 45 of file class.ilPaymentObject.php.
Referenced by getVendorId().