Cheetah
|
Public Member Functions | |
__construct ($aModule) | |
getSettingsForm ($mixedResult) | |
setSettings ($aData) | |
getCurrentLevelBlock () | |
getAvailableLevelsBlock () | |
getSelectLevelBlock ($bDynamic=false) | |
actionIndex () | |
actionJoin () | |
actionJoinSubmit () | |
actionJoinForm () | |
actionAdmin () | |
serviceIsDisableFreeJoin () | |
serviceGetUpgradeUrl () | |
serviceGetMemberMenuLink ($iMemberId) | |
serviceSelectLevelBlock () | |
serviceGetPaymentData () | |
serviceGetItems ($iVendorId) | |
serviceGetCartItem ($iClientId, $iItemId) | |
serviceRegisterCartItem ($iClientId, $iSellerId, $iItemId, $iItemCount, $sOrderId) | |
serviceUnregisterCartItem ($iClientId, $iSellerId, $iItemId, $iItemCount, $sOrderId) | |
serviceProlongSubscriptions () | |
_getCartItem ($iClientId, $iItemId) | |
![]() | |
isLogged () | |
getUserId () | |
getUserPassword () | |
getTitleKey ($sUri) | |
serviceGetBaseUrl () | |
Additional Inherited Members | |
![]() | |
static | getInstance ($sClassName) |
static | getTitle ($sUri) |
![]() | |
$_aModule | |
$_oDb | |
$_oTemplate | |
$_oConfig | |
Membership module by Cheetah
This module is needed to integrate the default Membership/ACL engine with Payment module.
Profile's Wall: no spy events
Spy: no spy events
Memberships/ACL: Doesn't depend on user's membership.
Service methods:
Get the content of the link for Dashboard item in member menu.
Get single item. Is used in Shopping Cart to get one product by specified id.
Get items. Is used in Orders Administration to get all products of the requested seller(vendor).
Register purchased membership level.
Unregister the membership level purchased earlier.
Alerts: no alerts available
Definition at line 63 of file ChMbpModule.php.
ChMbpModule::__construct | ( | $aModule | ) |
ChMbpModule::_getCartItem | ( | $iClientId, | |
$iItemId | |||
) |
Definition at line 416 of file ChMbpModule.php.
ChMbpModule::actionAdmin | ( | ) |
Definition at line 254 of file ChMbpModule.php.
ChMbpModule::actionIndex | ( | ) |
Action Methods
Definition at line 145 of file ChMbpModule.php.
ChMbpModule::actionJoin | ( | ) |
Definition at line 168 of file ChMbpModule.php.
ChMbpModule::actionJoinForm | ( | ) |
Definition at line 229 of file ChMbpModule.php.
ChMbpModule::actionJoinSubmit | ( | ) |
Definition at line 186 of file ChMbpModule.php.
ChMbpModule::getAvailableLevelsBlock | ( | ) |
Definition at line 116 of file ChMbpModule.php.
ChMbpModule::getCurrentLevelBlock | ( | ) |
Page blocks' methods
Definition at line 111 of file ChMbpModule.php.
ChMbpModule::getSelectLevelBlock | ( | $bDynamic = false | ) |
Definition at line 130 of file ChMbpModule.php.
ChMbpModule::getSettingsForm | ( | $mixedResult | ) |
Admin Settings Methods
Definition at line 78 of file ChMbpModule.php.
ChMbpModule::serviceGetCartItem | ( | $iClientId, | |
$iItemId | |||
) |
Is used in Shopping Cart to get one product by specified id.
integer | $iClientId | client's ID. |
integer | $iItemId | product's ID. |
Definition at line 365 of file ChMbpModule.php.
ChMbpModule::serviceGetItems | ( | $iVendorId | ) |
Is used in Orders Administration to get all products of the requested seller(vendor).
integer | $iVendorId | seller ID. |
Definition at line 341 of file ChMbpModule.php.
ChMbpModule::serviceGetMemberMenuLink | ( | $iMemberId | ) |
Definition at line 306 of file ChMbpModule.php.
ChMbpModule::serviceGetPaymentData | ( | ) |
Integration with Payment module
Definition at line 330 of file ChMbpModule.php.
ChMbpModule::serviceGetUpgradeUrl | ( | ) |
Definition at line 301 of file ChMbpModule.php.
ChMbpModule::serviceIsDisableFreeJoin | ( | ) |
System Methods
Definition at line 297 of file ChMbpModule.php.
ChMbpModule::serviceProlongSubscriptions | ( | ) |
Check whether prolongation is available for membership levels marked as 'Expiring'
Definition at line 401 of file ChMbpModule.php.
ChMbpModule::serviceRegisterCartItem | ( | $iClientId, | |
$iSellerId, | |||
$iItemId, | |||
$iItemCount, | |||
$sOrderId | |||
) |
Register purchased product.
integer | $iClientId | client's ID. |
integer | $iSellerId | seller's ID. |
integer | $iItemId | product's ID. |
integer | $iItemCount | product count purchased at the same time. |
string | $sOrderId | internal order ID generated for the payment. |
Definition at line 379 of file ChMbpModule.php.
ChMbpModule::serviceSelectLevelBlock | ( | ) |
Definition at line 323 of file ChMbpModule.php.
ChMbpModule::serviceUnregisterCartItem | ( | $iClientId, | |
$iSellerId, | |||
$iItemId, | |||
$iItemCount, | |||
$sOrderId | |||
) |
Unregister the product purchased earlier.
integer | $iClientId | client's ID. |
integer | $iSellerId | seller's ID. |
integer | $iItemId | product's ID. |
integer | $iItemCount | product count. |
string | $sOrderId | internal order ID. |
Definition at line 396 of file ChMbpModule.php.
ChMbpModule::setSettings | ( | $aData | ) |
Definition at line 95 of file ChMbpModule.php.