ILIAS
Release_4_2_x_branch Revision 61807
|
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 () | |
_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, $a_subtype='') | |
_getActivation ($a_ref_id) |
Static Public Member Functions | |
static | _lookupPobjectId ($a_ref_id) |
static | _lookupTopicId ($a_ref_id) |
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 $ilDB, $user_obj, and __read().
|
private |
Definition at line 691 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 716 of file class.ilPaymentObject.php.
References $ilDB, $res, and $row.
Referenced by ilPaymentObjectGUI\addObject(), ilPaymentObjectGUI\editDetails(), and ilShopSearchResult\getResultsForPresentation().
ilPaymentObject::_getActivation | ( | $a_ref_id | ) |
Definition at line 546 of file class.ilPaymentObject.php.
ilPaymentObject::_getAllObjectsData | ( | ) |
Definition at line 321 of file class.ilPaymentObject.php.
References $_SESSION, $ilDB, $query, $res, and $row.
Referenced by ilObjPaymentSettingsGUI\objectsObject().
|
static |
Definition at line 761 of file class.ilPaymentObject.php.
References $ilDB, $res, and $row.
Referenced by ilShopGUI\showContainerContent().
ilPaymentObject::_getCountObjectsByPayMethod | ( | $a_id | ) |
Definition at line 243 of file class.ilPaymentObject.php.
References $ilDB, $result, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjPaymentSettingsGUI\savePayMethodsObject().
ilPaymentObject::_getObjectData | ( | $a_id | ) |
Definition at line 415 of file class.ilPaymentObject.php.
Referenced by ilPurchaseBaseGUI\__addBookings(), ilPurchase\purchase(), and ilShopGUI\showContainerContent().
ilPaymentObject::_getObjectsData | ( | $a_user_id | ) |
Definition at line 259 of file class.ilPaymentObject.php.
References $ilDB, $in, $query, $res, $row, $vendor, ilPaymentTrustees\_getVendorsForObjects(), and ilPaymentVendors\_isVendor().
Referenced by ilPaymentObjectGUI\showObjects().
|
static |
Definition at line 745 of file class.ilPaymentObject.php.
References $ilDB, $res, and $row.
Referenced by ilShopGUI\showSpecialContent().
ilPaymentObject::_hasAccess | ( | $a_ref_id, | |
$a_transaction = 0 , |
|||
$a_subtype = '' |
|||
) |
Definition at line 487 of file class.ilPaymentObject.php.
References $ilDB, $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 670 of file class.ilPaymentObject.php.
References $ilDB, $res, and $row.
Referenced by ilObjectListGUI\insertPayment().
|
static |
Definition at line 563 of file class.ilPaymentObject.php.
References $ilDB, $result, and $row.
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 638 of file class.ilPaymentObject.php.
References $ilDB, $result, and $row.
Referenced by ilObjLearningModuleListGUI\getProperties().
|
static |
Definition at line 600 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 433 of file class.ilPaymentObject.php.
References $data, $ilDB, $query, $res, ilPaymentTrustees\_getVendorsForObjects(), and ilPaymentVendors\_isVendor().
Referenced by ilPaymentObjectGUI\addObject(), ilPaymentObjectSelector\isClickable(), and ilPaymentObjectSelector\showChilds().
|
static |
Definition at line 204 of file class.ilPaymentObject.php.
References $ilDB, $res, and $row.
Referenced by ilShopPurchaseGUI\__initPaymentObject(), ilPaymentStatisticGUI\addCustomer(), ilObjPaymentSettingsGUI\addCustomerObject(), ilObjectListGUI\insertPayment(), ilShopResultPresentationGUI\renderItems(), ilPaymentStatisticGUI\saveCustomer(), ilObjPaymentSettingsGUI\saveCustomerObject(), and ilShopGUI\showContainerContent().
|
static |
Definition at line 221 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 620 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 146 of file class.ilPaymentObject.php.
References getPayMethod(), getRefId(), getSpecial(), getStatus(), getSubtype(), getTopicId(), getVatId(), and getVendorId().
ilPaymentObject::delete | ( | ) |
Definition at line 164 of file class.ilPaymentObject.php.
References getPobjectId().
|
static |
Definition at line 730 of file class.ilPaymentObject.php.
References $ilDB, $res, and $row.
Referenced by ilShopExplorer\ilShopExplorer().
ilPaymentObject::getPayMethod | ( | ) |
Definition at line 90 of file class.ilPaymentObject.php.
References $pay_method.
Referenced by add(), and update().
ilPaymentObject::getPobjectId | ( | ) |
Definition at line 66 of file class.ilPaymentObject.php.
References $pobject_id.
Referenced by __read(), delete(), and update().
ilPaymentObject::getRefId | ( | ) |
Definition at line 74 of file class.ilPaymentObject.php.
References $ref_id.
Referenced by add(), and update().
ilPaymentObject::getSpecial | ( | ) |
Definition at line 124 of file class.ilPaymentObject.php.
References $is_special.
Referenced by add(), and update().
ilPaymentObject::getStatus | ( | ) |
Definition at line 82 of file class.ilPaymentObject.php.
References $status.
Referenced by add(), and update().
ilPaymentObject::getSubtype | ( | ) |
Definition at line 116 of file class.ilPaymentObject.php.
References $subtype.
Referenced by add(), and update().
ilPaymentObject::getTopicId | ( | ) |
Definition at line 58 of file class.ilPaymentObject.php.
References $topic_id.
Referenced by add(), and update().
ilPaymentObject::getVat | ( | $a_amount = 0 , |
|
$type = 'CALCULATION' |
|||
) |
Definition at line 129 of file class.ilPaymentObject.php.
References $lng, ilShopUtils\_formatFloat(), and getVatId().
ilPaymentObject::getVatId | ( | ) |
ilPaymentObject::getVendorId | ( | ) |
Definition at line 98 of file class.ilPaymentObject.php.
References $vendor_id.
Referenced by add(), and update().
ilPaymentObject::setPayMethod | ( | $a_method | ) |
Definition at line 86 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setRefId | ( | $a_ref_id | ) |
Definition at line 70 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setSpecial | ( | $a_special | ) |
Definition at line 120 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setStatus | ( | $a_status | ) |
Definition at line 78 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setSubtype | ( | $a_subtype | ) |
Definition at line 111 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setTopicId | ( | $a_topic_id | ) |
Definition at line 62 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setVatId | ( | $a_vat_id | ) |
Definition at line 106 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::setVendorId | ( | $a_vendor_id | ) |
Definition at line 94 of file class.ilPaymentObject.php.
Referenced by __read().
ilPaymentObject::update | ( | ) |
Definition at line 182 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().