ILIAS
Release_4_1_x_branch Revision 61804
|
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_id) | |
_getObjectsData ($a_user_id) | |
_getAllObjectsData () | |
_getObjectData ($a_id) | |
_isPurchasable ($a_ref_id, $a_vendor_id=0, $a_check_trustee=false, $a_check_status=false) | |
_hasAccess ($a_ref_id, $a_transaction=0) | |
_getActivation ($a_ref_id) |
Static Public Member Functions | |
static | _lookupTopicId ($a_ref_id) |
static | _isBuyable ($a_ref_id) |
static | _isNewObject ($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 12 of file class.ilPaymentObject.php.
ilPaymentObject::__construct | ( | $user_obj, | |
$a_pobject_id = null |
|||
) |
Definition at line 25 of file class.ilPaymentObject.php.
References $ilDB, $user_obj, and __read().
|
private |
Definition at line 593 of file class.ilPaymentObject.php.
References $result, $row, getPobjectId(), setPayMethod(), setRefId(), setStatus(), setTopicId(), setVatId(), and setVendorId().
Referenced by __construct().
ilPaymentObject::_getActivation | ( | $a_ref_id | ) |
Definition at line 503 of file class.ilPaymentObject.php.
ilPaymentObject::_getAllObjectsData | ( | ) |
Definition at line 294 of file class.ilPaymentObject.php.
References $_SESSION, $ilDB, $query, $res, and $row.
Referenced by ilObjPaymentSettingsGUI\objectsObject().
ilPaymentObject::_getCountObjectsByPayMethod | ( | $a_id | ) |
Definition at line 218 of file class.ilPaymentObject.php.
References $ilDB, $result, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjPaymentSettingsGUI\savePayMethodsObject().
ilPaymentObject::_getObjectData | ( | $a_id | ) |
Definition at line 386 of file class.ilPaymentObject.php.
Referenced by ilPurchaseBaseGUI\__addBookings(), ilPurchasePaypal\__saveTransaction(), and ilPurchase\purchase().
ilPaymentObject::_getObjectsData | ( | $a_user_id | ) |
Definition at line 234 of file class.ilPaymentObject.php.
References $ilDB, $in, $query, $res, $row, $vendor, ilPaymentTrustees\_getVendorsForObjects(), and ilPaymentVendors\_isVendor().
Referenced by ilPaymentObjectGUI\showObjects().
ilPaymentObject::_hasAccess | ( | $a_ref_id, | |
$a_transaction = 0 |
|||
) |
Definition at line 458 of file class.ilPaymentObject.php.
References $ilDB, $result, $row, ilGeneralSettings\_getInstance(), ilPaymentTrustees\_getVendorIdsByTrustee(), and ilPaymentBookings\_hasAccess().
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 520 of file class.ilPaymentObject.php.
References $ilDB, $result, $row, and ilGeneralSettings\_getInstance().
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 561 of file class.ilPaymentObject.php.
References $ilDB, $result, and $row.
Referenced by ilObjLearningModuleListGUI\getProperties(), and ilObjectListGUI\insertPayment().
|
static |
Definition at line 544 of file class.ilPaymentObject.php.
Referenced by ilPaymentObjectSelector\isClickable().
ilPaymentObject::_isPurchasable | ( | $a_ref_id, | |
$a_vendor_id = 0 , |
|||
$a_check_trustee = false , |
|||
$a_check_status = false |
|||
) |
Definition at line 404 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 179 of file class.ilPaymentObject.php.
References $ilDB, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilShopPurchaseGUI\__initPaymentObject(), ilPaymentStatisticGUI\addCustomer(), ilObjPaymentSettingsGUI\addCustomerObject(), ilShopResultPresentationGUI\renderItems(), ilPaymentStatisticGUI\saveCustomer(), and ilObjPaymentSettingsGUI\saveCustomerObject().
|
static |
Definition at line 196 of file class.ilPaymentObject.php.
References $ilDB, $result, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilShopSearchResult\filter(), and ilShopSearchResult\getResultsForPresentation().
|
static |
Definition at line 556 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 125 of file class.ilPaymentObject.php.
References getPayMethod(), getRefId(), getStatus(), getTopicId(), getVatId(), and getVendorId().
ilPaymentObject::delete | ( | ) |
Definition at line 141 of file class.ilPaymentObject.php.
References getPobjectId().
ilPaymentObject::getPayMethod | ( | ) |
Definition at line 86 of file class.ilPaymentObject.php.
References $pay_method.
Referenced by add(), and update().
ilPaymentObject::getPobjectId | ( | ) |
Definition at line 62 of file class.ilPaymentObject.php.
References $pobject_id.
Referenced by __read(), delete(), and update().
ilPaymentObject::getRefId | ( | ) |
Definition at line 70 of file class.ilPaymentObject.php.
References $ref_id.
Referenced by add(), and update().
ilPaymentObject::getStatus | ( | ) |
Definition at line 78 of file class.ilPaymentObject.php.
References $status.
Referenced by add(), and update().
ilPaymentObject::getTopicId | ( | ) |
Definition at line 54 of file class.ilPaymentObject.php.
References $topic_id.
Referenced by add(), and update().
ilPaymentObject::getVat | ( | $a_amount = 0 , |
|
$type = 'CALCULATION' |
|||
) |
Definition at line 107 of file class.ilPaymentObject.php.
References $lng, ilShopUtils\_formatFloat(), and getVatId().
ilPaymentObject::getVatId | ( | ) |
ilPaymentObject::getVendorId | ( | ) |
Definition at line 94 of file class.ilPaymentObject.php.
References $vendor_id.
Referenced by add(), and update().
ilPaymentObject::setPayMethod | ( | $a_method | ) |
Definition at line 82 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setRefId | ( | $a_ref_id | ) |
Definition at line 66 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setStatus | ( | $a_status | ) |
Definition at line 74 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setTopicId | ( | $a_topic_id | ) |
Definition at line 58 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setVatId | ( | $a_vat_id | ) |
Definition at line 102 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setVendorId | ( | $a_vendor_id | ) |
Definition at line 90 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::update | ( | ) |
Definition at line 159 of file class.ilPaymentObject.php.
References getPayMethod(), getPobjectId(), getRefId(), getStatus(), getTopicId(), getVatId(), and getVendorId().
|
private |
Definition at line 14 of file class.ilPaymentObject.php.
|
private |
Definition at line 19 of file class.ilPaymentObject.php.
Referenced by getPayMethod().
|
private |
Definition at line 16 of file class.ilPaymentObject.php.
Referenced by getPobjectId().
|
private |
Definition at line 17 of file class.ilPaymentObject.php.
Referenced by getRefId().
|
private |
Definition at line 18 of file class.ilPaymentObject.php.
Referenced by getStatus().
|
private |
Definition at line 21 of file class.ilPaymentObject.php.
Referenced by getTopicId().
|
private |
Definition at line 15 of file class.ilPaymentObject.php.
Referenced by __construct().
|
private |
Definition at line 22 of file class.ilPaymentObject.php.
Referenced by getVatId().
|
private |
Definition at line 20 of file class.ilPaymentObject.php.
Referenced by getVendorId().