ILIAS
release_4-3 Revision
|
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) | |
setSubtype ($a_subtype) | |
getSubtype () | |
setSpecial ($a_special) | |
getSpecial () | |
getVat ($a_amount=0, $type= 'CALCULATION') | |
add () | |
delete () | |
update () |
Static Public Member Functions | |
static | _lookupPobjectId ($a_ref_id) |
static | _lookupTopicId ($a_ref_id) |
static | _getCountObjectsByPayMethod ($a_id) |
static | _getObjectsData ($a_user_id) |
static | _getAllObjectsData () |
static | _getObjectData ($a_id) |
static | _isPurchasable ($a_ref_id, $a_vendor_id=0, $a_check_trustee=false, $a_check_status=false) |
static | _hasAccess ($a_ref_id, $a_transaction=0, $a_subtype='') |
static | _isBuyable ($a_ref_id, $a_subtype= '') |
static | _isNewObject ($a_ref_id) |
static | _requiresPurchaseToAccess ($a_ref_id, $a_purchasetype= '') |
this function should be used by all buyable repository objects !! | |
static | _isInCart ($a_ref_id) |
static | _hasExtensions ($a_ref_id) |
static | _checkExcSubtype ($a_ref_id) |
static | getAllBuyableObjects () |
static | _getSpecialObjects () |
static | _getContainerObjects ($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 | |
$subtype = null | |
$is_special = 0 |
Definition at line 12 of file class.ilPaymentObject.php.
ilPaymentObject::__construct | ( | $user_obj, | |
$a_pobject_id = null |
|||
) |
Definition at line 27 of file class.ilPaymentObject.php.
References $user_obj, and __read().
|
private |
Definition at line 667 of file class.ilPaymentObject.php.
References $result, $row, getPobjectId(), setPayMethod(), setRefId(), setSpecial(), setStatus(), setSubtype(), setTopicId(), setVatId(), and setVendorId().
Referenced by __construct().
|
static |
Definition at line 692 of file class.ilPaymentObject.php.
Referenced by ilPaymentObjectGUI\addObject(), and ilShopSearchResult\getResultsForPresentation().
|
static |
Definition at line 316 of file class.ilPaymentObject.php.
References $_SESSION, $query, $res, and $row.
Referenced by ilObjPaymentSettingsGUI\objectsObject().
|
static |
Definition at line 739 of file class.ilPaymentObject.php.
Referenced by ilShopGUI\showContainerContent().
|
static |
Definition at line 238 of file class.ilPaymentObject.php.
References $result, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjPaymentSettingsGUI\savePayMethodsObject().
|
static |
Definition at line 410 of file class.ilPaymentObject.php.
References $res.
Referenced by ilPurchaseBaseGUI\__addBookings(), ilObjPaymentSettingsGUI\editPriceObject(), ilPaymentStatisticGUI\editStatistic(), ilPaymentStatisticGUI\performDeleteDeassignCrs(), ilPurchase\purchase(), and ilShopGUI\showContainerContent().
|
static |
Definition at line 254 of file class.ilPaymentObject.php.
References $in, $query, $res, $row, and ilPaymentTrustees\_getVendorsForObjects().
|
static |
Definition at line 722 of file class.ilPaymentObject.php.
Referenced by ilShopGUI\showSpecialContent().
|
static |
Definition at line 482 of file class.ilPaymentObject.php.
References $ilUser, $result, $row, ilPaymentTrustees\_getVendorIdsByTrustee(), and ilPaymentBookings\_hasAccess().
Referenced by ilObjFileListGUI\getCommandFrame(), ilObjFileBasedLMListGUI\getCommandFrame(), ilObjSAHSLearningModuleListGUI\getCommandFrame(), ilObjDlBookListGUI\getCommandFrame(), ilObjLearningModuleListGUI\getCommandFrame(), ilExAssignmentGUI\getOverviewBody(), ilObjLearningModuleListGUI\getProperties(), and ilShopResultPresentationGUI\renderItems().
|
static |
Definition at line 646 of file class.ilPaymentObject.php.
Referenced by ilObjectListGUI\insertPayment().
|
static |
Definition at line 541 of file class.ilPaymentObject.php.
Referenced by ilRepUtil\deleteObjects(), ilObjFileListGUI\getCommandFrame(), ilObjFileBasedLMListGUI\getCommandFrame(), ilObjSAHSLearningModuleListGUI\getCommandFrame(), ilObjDlBookListGUI\getCommandFrame(), ilObjLearningModuleListGUI\getCommandFrame(), ilExAssignmentGUI\getOverviewBody(), ilObjLearningModuleListGUI\getProperties(), ilShopExplorer\setOutput(), and ilShopGUI\showContainerContent().
|
static |
Definition at line 614 of file class.ilPaymentObject.php.
References $ilUser, $result, and $row.
Referenced by ilObjLearningModuleListGUI\getProperties().
|
static |
Definition at line 578 of file class.ilPaymentObject.php.
References $res.
Referenced by ilPaymentObjectSelector\isClickable().
|
static |
Definition at line 428 of file class.ilPaymentObject.php.
References $data, $query, $res, and ilPaymentTrustees\_getVendorsForObjects().
Referenced by ilPaymentObjectGUI\addObject(), and ilPaymentObjectSelector\isClickable().
|
static |
Definition at line 199 of file class.ilPaymentObject.php.
Referenced by ilShopPurchaseGUI\__initPaymentObject(), ilPaymentStatisticGUI\addCustomer(), ilObjPaymentSettingsGUI\addCustomerObject(), ilObjectListGUI\insertPayment(), ilShopResultPresentationGUI\renderItems(), ilObjPaymentSettingsGUI\saveCustomerObject(), and ilShopGUI\showContainerContent().
|
static |
Definition at line 216 of file class.ilPaymentObject.php.
References $result, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilShopSearchResult\filter(), and ilShopSearchResult\getResultsForPresentation().
|
static |
this function should be used by all buyable repository objects !!
<integer> | $a_ref_id |
<text> | $a_purchasetype ('buy', 'demo') |
Definition at line 598 of file class.ilPaymentObject.php.
Referenced by ilObjFileGUI\executeCommand(), ilSAHSPresentationGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilGlossaryPresentationGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilLMPresentationGUI\ilLMPresentationGUI(), ilLMExplorer\isClickable(), ilLMTOCExplorer\isClickable(), ilTableOfContentsExplorer\isClickable(), and ilObjContentObjectGUI\setilLMMenu().
ilPaymentObject::add | ( | ) |
Definition at line 141 of file class.ilPaymentObject.php.
References getPayMethod(), getRefId(), getSpecial(), getStatus(), getSubtype(), getTopicId(), getVatId(), and getVendorId().
ilPaymentObject::delete | ( | ) |
Definition at line 159 of file class.ilPaymentObject.php.
References getPobjectId().
|
static |
Definition at line 706 of file class.ilPaymentObject.php.
Referenced by ilShopExplorer\ilShopExplorer().
ilPaymentObject::getPayMethod | ( | ) |
Definition at line 87 of file class.ilPaymentObject.php.
References $pay_method.
Referenced by add(), and update().
ilPaymentObject::getPobjectId | ( | ) |
Definition at line 63 of file class.ilPaymentObject.php.
References $pobject_id.
Referenced by __read(), delete(), and update().
ilPaymentObject::getRefId | ( | ) |
Definition at line 71 of file class.ilPaymentObject.php.
References $ref_id.
Referenced by add(), and update().
ilPaymentObject::getSpecial | ( | ) |
Definition at line 121 of file class.ilPaymentObject.php.
References $is_special.
Referenced by add(), and update().
ilPaymentObject::getStatus | ( | ) |
Definition at line 79 of file class.ilPaymentObject.php.
References $status.
Referenced by add(), and update().
ilPaymentObject::getSubtype | ( | ) |
Definition at line 113 of file class.ilPaymentObject.php.
References $subtype.
Referenced by add(), and update().
ilPaymentObject::getTopicId | ( | ) |
Definition at line 55 of file class.ilPaymentObject.php.
References $topic_id.
Referenced by add(), and update().
ilPaymentObject::getVat | ( | $a_amount = 0 , |
|
$type = 'CALCULATION' |
|||
) |
Definition at line 126 of file class.ilPaymentObject.php.
References ilShopUtils\_formatFloat(), and getVatId().
ilPaymentObject::getVatId | ( | ) |
ilPaymentObject::getVendorId | ( | ) |
Definition at line 95 of file class.ilPaymentObject.php.
References $vendor_id.
Referenced by add(), and update().
ilPaymentObject::setPayMethod | ( | $a_method | ) |
Definition at line 83 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setRefId | ( | $a_ref_id | ) |
Definition at line 67 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setSpecial | ( | $a_special | ) |
Definition at line 117 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setStatus | ( | $a_status | ) |
Definition at line 75 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setSubtype | ( | $a_subtype | ) |
Definition at line 108 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setTopicId | ( | $a_topic_id | ) |
Definition at line 59 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setVatId | ( | $a_vat_id | ) |
Definition at line 103 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setVendorId | ( | $a_vendor_id | ) |
Definition at line 91 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::update | ( | ) |
Definition at line 177 of file class.ilPaymentObject.php.
References getPayMethod(), getPobjectId(), getRefId(), getSpecial(), getStatus(), getSubtype(), getTopicId(), getVatId(), and getVendorId().
|
private |
Definition at line 14 of file class.ilPaymentObject.php.
|
private |
Definition at line 24 of file class.ilPaymentObject.php.
Referenced by getSpecial().
|
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 23 of file class.ilPaymentObject.php.
Referenced by getSubtype().
|
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().