ILIAS
Release_5_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) | |
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 | _getTopicsObjects ($topic_id=NULL) |
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 $ilDB, $user_obj, and __read().
|
private |
Definition at line 669 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 694 of file class.ilPaymentObject.php.
References $ilDB, $res, and $row.
Referenced by ilPaymentObjectGUI\addObject(), and ilShopSearchResult\getResultsForPresentation().
|
static |
Definition at line 316 of file class.ilPaymentObject.php.
References $_SESSION, $ilDB, $query, $res, and $row.
Referenced by ilObjPaymentSettingsGUI\objectsObject().
|
static |
Definition at line 771 of file class.ilPaymentObject.php.
References $ilDB, $res, and $row.
Referenced by ilShopGUI\showContainerContent().
|
static |
Definition at line 238 of file class.ilPaymentObject.php.
References $ilDB, $result, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjPaymentSettingsGUI\savePayMethodsObject().
|
static |
Definition at line 410 of file class.ilPaymentObject.php.
Referenced by ilPurchaseBaseGUI\__addBookings(), ilObjPaymentSettingsGUI\editPriceObject(), ilPaymentStatisticGUI\editStatistic(), ilPaymentStatisticGUI\performDeleteDeassignCrs(), and ilShopGUI\showContainerContent().
|
static |
Definition at line 254 of file class.ilPaymentObject.php.
References $ilDB, $in, $query, $res, $row, and ilPaymentTrustees\_getVendorsForObjects().
|
static |
Definition at line 724 of file class.ilPaymentObject.php.
References $ilDB, $res, and $row.
Referenced by ilShopGUI\showSpecialContent().
|
static |
null | integer | $topic_id |
Definition at line 745 of file class.ilPaymentObject.php.
References $ilDB, $res, $row, and $topic_id.
Referenced by ilShopGUI\showTopicsContent().
|
static |
Definition at line 484 of file class.ilPaymentObject.php.
References $ilDB, $ilUser, $result, $row, ilPaymentTrustees\_getVendorIdsByTrustee(), and ilPaymentBookings\_hasAccess().
Referenced by ilObjFileListGUI\getCommandFrame(), ilObjFileBasedLMListGUI\getCommandFrame(), ilObjDlBookListGUI\getCommandFrame(), ilObjSAHSLearningModuleListGUI\getCommandFrame(), ilObjLearningModuleListGUI\getCommandFrame(), ilShopResultPresentationGUI\getObjectListItem(), ilExAssignmentGUI\getOverviewBody(), and ilObjLearningModuleListGUI\getProperties().
|
static |
Definition at line 648 of file class.ilPaymentObject.php.
References $ilDB, $res, and $row.
Referenced by ilObjectListGUI\insertPayment().
|
static |
Definition at line 543 of file class.ilPaymentObject.php.
References $ilDB, $result, and $row.
Referenced by ilRepUtil\deleteObjects(), ilObjFileListGUI\getCommandFrame(), ilObjFileBasedLMListGUI\getCommandFrame(), ilObjDlBookListGUI\getCommandFrame(), ilObjSAHSLearningModuleListGUI\getCommandFrame(), ilObjLearningModuleListGUI\getCommandFrame(), ilExAssignmentGUI\getOverviewBody(), ilObjLearningModuleListGUI\getProperties(), and ilShopGUI\showContainerContent().
|
static |
Definition at line 616 of file class.ilPaymentObject.php.
References $ilDB, $ilUser, $result, and $row.
Referenced by ilObjLearningModuleListGUI\getProperties().
|
static |
Definition at line 580 of file class.ilPaymentObject.php.
Referenced by ilPaymentObjectSelector\isNodeClickable().
|
static |
Definition at line 428 of file class.ilPaymentObject.php.
References $ilDB, $query, $res, and ilPaymentTrustees\_getVendorsForObjects().
Referenced by ilPaymentObjectGUI\addObject(), and ilPaymentObjectSelector\isNodeClickable().
|
static |
Definition at line 199 of file class.ilPaymentObject.php.
References $ilDB, $res, and $row.
Referenced by ilShopPurchaseGUI\__initPaymentObject(), ilPaymentStatisticGUI\addCustomer(), ilObjPaymentSettingsGUI\addCustomerObject(), ilShopResultPresentationGUI\getObjectListItem(), ilObjectListGUI\insertPayment(), ilShopResultPresentationGUI\renderItems(), ilObjPaymentSettingsGUI\saveCustomerObject(), and ilShopGUI\showContainerContent().
|
static |
Definition at line 216 of file class.ilPaymentObject.php.
References $ilDB, $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 600 of file class.ilPaymentObject.php.
Referenced by ilObjFileGUI\executeCommand(), ilSAHSPresentationGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilGlossaryPresentationGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilLMPresentationGUI\ilLMPresentationGUI(), ilLMTOCExplorerGUI\isNodeClickable(), 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 708 of file class.ilPaymentObject.php.
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 _getTopicsObjects(), and 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().