ILIAS  Release_3_10_x_branch Revision 61812
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilPayMethods Class Reference
+ Collaboration diagram for ilPayMethods:

Public Member Functions

 ilPayMethods ()
 _enabled ($a_type)
 check if a specific pay_method is activated public
 _disableAll ()
 _enable ($a_type)

Data Fields

 $ilias

Detailed Description

Definition at line 24 of file class.ilPayMethods.php.

Member Function Documentation

ilPayMethods::_disableAll ( )

Definition at line 49 of file class.ilPayMethods.php.

References $ilias.

Referenced by ilObjPaymentSettingsGUI\savePayMethodsObject().

{
global $ilias;
$ilias->deleteSetting('pm_bill');
$ilias->deleteSetting('pm_bmf');
$ilias->deleteSetting('pm_paypal');
}

+ Here is the caller graph for this function:

ilPayMethods::_enable (   $a_type)

Definition at line 58 of file class.ilPayMethods.php.

References $ilias.

Referenced by ilObjPaymentSettingsGUI\savePayMethodsObject().

{
global $ilias;
$ilias->setSetting($a_type,1);
return true;
}

+ Here is the caller graph for this function:

ilPayMethods::_enabled (   $a_type)

check if a specific pay_method is activated public

Parameters
stringkeyword (bill,bmf,paypal,(epay))
Returns
bool

Definition at line 42 of file class.ilPayMethods.php.

References $ilias.

Referenced by ilPaymentObjectGUI\__getPayMethods(), ilObjPaymentSettingsGUI\__showPayMethodSelector(), ilPaymentShoppingCartGUI\checkCouponsOfShoppingCart(), ilShopShoppingCartGUI\checkCouponsOfShoppingCart(), ilObjPaymentSettingsGUI\payMethodsObject(), ilObjPaymentSettingsGUI\savePayMethodsObject(), ilPaymentShoppingCartGUI\showItems(), and ilShopShoppingCartGUI\showItems().

{
global $ilias;
return $ilias->getSetting($a_type) ? true : false;
}

+ Here is the caller graph for this function:

ilPayMethods::ilPayMethods ( )

Definition at line 28 of file class.ilPayMethods.php.

References $ilias.

{
global $ilias;
$this->ilias =& $ilias;
}

Field Documentation

ilPayMethods::$ilias

Definition at line 26 of file class.ilPayMethods.php.

Referenced by _disableAll(), _enable(), _enabled(), and ilPayMethods().


The documentation for this class was generated from the following file: